[Bug 701856] qtdemux: Does allocation queries before setting caps on all pads

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 11 01:00:14 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=701856
  GStreamer | gst-plugins-good | git

--- Comment #3 from Sebastian Dröge <slomo at circular-chaos.org> 2013-06-11 08:00:08 UTC ---
(In reply to comment #2)

> 2) might be a good idea in general, independent of this bug. I don't remember
> why we do that, does anybody see a good reason for the blocking?

Actually this waits for a buffer (or serialized query) as sticky events are
just passed through.

I think the reason for this back then was that we only get caps on a pad if a
buffer arrives.

However 2) is not going to fix this bug here. The problem for this specific
file is that the video stream requires a decoder (so buffers from the demuxer
before the final caps are known), but the audio stream is raw audio and thus
does not require buffers. So even if we do 2), this won't be fixed... as
qtdemux would block on the allocation query instead of sending buffers to the
video decoder to allow it finding out the final caps. So 2) is not a solution,
and in general only minimally useful.

Unfortunately that makes 3) not a solution either. So only 1) is left.

-- 
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