After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 398721 - No video in .ogm files with decodebin2
No video in .ogm files with decodebin2
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.11
Other Linux
: Normal normal
: 0.10.12
Assigned To: Edward Hervey
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-20 14:34 UTC by Sven Arvidsson
Modified: 2007-02-20 11:21 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Sven Arvidsson 2007-01-20 14:34:44 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.
Comment 1 Christian Fredrik Kalager Schaller 2007-01-26 15:10:33 UTC
I just tested this and can confirm. With Decodebin2 the video do not display. It displays fine with the 'old' decdodebin.
Comment 2 Jan Schmidt 2007-01-26 18:58:07 UTC
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 */
}

Comment 3 Edward Hervey 2007-02-20 09:23:50 UTC
Even with that function implemented, there's still some issues. I'm looking deeper into it.
Comment 4 Edward Hervey 2007-02-20 11:21:36 UTC
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