[gstreamer-bugs] [Bug 341524] decodebin cannot continue to construct pipeline if it encounters gst_caps_any

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri May 12 04:26:11 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=341524
 GStreamer | gst-plugins-base | Ver: HEAD CVS


Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #65295|none                        |commented-on
               Flag|                            |




------- Comment #6 from Tim-Philipp Müller  2006-05-12 11:26 UTC -------
Why not just require (non-source) elements that may be autoplugged to do
typefinding themselves [*] in such cases and throw a 'buggy element' error in
decodebin if it comes across ANY caps? IMHO that's preferable to adding more
complexity to decodebin.


In state_change functions (like the one you're adding in the
bz2dec-remove-typefinding patch) you should handle upwards state changes first,
then chain up to the parent class, and then handle downwards state changes. So
in your patch you'd need to chain up first.


[*] after all it's dead easy using gst_type_find_helper_*() (bz2dec should
probably use gst_type_find_helper_from_buf() as well btw)


-- 
Configure bugmail: http://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