[Bug 667337] [0.11] decodebin2: Failure to get chain initial caps

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 6 01:05:16 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=667337
  GStreamer | gst-plugins-base | 0.11.x

Edward Hervey <bilboed> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #3 from Edward Hervey <bilboed at gmail.com> 2012-01-06 09:05:11 UTC ---
The problem is the following:
* typefind does its job (typefinding) and the source pad gets scheduled in
push-mode
* decodebin2 connects it to the compatible demuxer (let's say qtdemux)
* the demuxer gets activated and activates upstream as pull-based
 => typefind:src pad gets asked to be activated to pull-mode
   => changing the scheduling mode makes it first be de-activated
(GST_PAD_MODE_NONE)
    => All events on the pad get dropped, including the caps
* data flows normally, decodebin2 prerolls
* When getting the topology ... typefind:src no longer has any caps

I'm not 100% certain what's the best solution to this:
* Don't drop caps events when deactivating pads ?
* Have elements set again the caps if a rescheduling happened ?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list