GNOME Bugzilla – Bug 398721
No video in .ogm files with decodebin2
Last modified: 2007-02-20 11:21:36 UTC
When I run Totem with decodebin2, video fails to play in .ogm files. All I get is the selected visualisation. Audio seems to play fine. Also, the available subtitles in the .ogm file isn't detected. These issues are not present with the default decodebin. Example video: http://www.whiz.se/temp/movie1.ogm I get a different result with the .ogm video from bug 397419, it fails to play at all, not even an error message.
I just tested this and can confirm. With Decodebin2 the video do not display. It displays fine with the 'old' decdodebin.
The problem is because ogmvideoparse is a decoder that exposes a SOMETIMES pad, and there's a piece of code in decodebin2 for handling that case that looks like this: static void pad_added_group_cb (GstElement * element, GstPad * pad, GstDecodeGroup * group) { GST_LOG_OBJECT (pad, "pad added, group:%p", group); /* FIXME : FILLME */ }
Even with that function implemented, there's still some issues. I'm looking deeper into it.
2007-02-20 Edward Hervey <edward@fluendo.com> * gst/playback/gstdecodebin2.c: (connect_element), (pad_added_group_cb), (gst_decode_group_check_if_blocked), (sort_end_pads), (gst_decode_group_expose): Handle dynamic pads within groups. Sort pads before exposing them in order to make playbin happy. There still is a race with the multiqueue filling up. This should be solved separately. Fixes #398721