From bd9ec942b0266d28a233c95f077af6fef20e7ace Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Thu, 8 Jan 2026 22:46:01 -0500 Subject: [PATCH] Report OGG files as supported. Signed-off-by: Josh Matthews --- backends/gstreamer/lib.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/backends/gstreamer/lib.rs b/backends/gstreamer/lib.rs index 7153a133..d2fd069c 100644 --- a/backends/gstreamer/lib.rs +++ b/backends/gstreamer/lib.rs @@ -246,15 +246,6 @@ impl Backend for GStreamerBackend { fn can_play_type(&self, media_type: &str) -> SupportsMediaType { if let Ok(mime) = media_type.parse::() { - // XXX GStreamer is currently not very reliable playing OGG and most of - // the media related WPTs uses OGG if we report that we are able to - // play this type. So we report that we are unable to play it to force - // the usage of other types. - // https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/520 - if mime.subtype() == mime::OGG { - return SupportsMediaType::No; - } - let mime_type = mime.type_().as_str().to_owned() + "/" + mime.subtype().as_str(); let codecs = match mime.get_param("codecs") { Some(codecs) => codecs