[gstreamer-bugs] [Bug 558261] [mp3parse] could fix quickly the src caps

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Nov 24 05:11:48 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=558261

  GStreamer | gst-plugins-ugly | Ver: 0.10.9




------- Comment #3 from Benjamin Gaignard  2008-11-24 13:11 UTC -------
Hi,
I have done this in set_link_function to avoid this case in decodebin:
decodebin gstdecodebin.c:1002:close_pad_link:<mpegaudioparse0:src> many
possible types
decodebin gstdecodebin.c:1007:close_pad_link:<mpegaudioparse0:src> setting up a
delayed link

By setting src caps only at sink set_caps the selection of an audio decoder by
decodebin is perform later on the first buffer. The caps are already knows when
the link pad function is call so the decodebin could select the next element in
the graph sooner. this solve some issues with when queue-size property of
playbin it set at very low values.

I will provide a patch for set caps function and link function, I hope it will
be more acceptable. 


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=558261.




More information about the Gstreamer-bugs mailing list