[Bug 752802] avviddec: Sends incorrect CAPS event before the correct one

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 24 17:02:47 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=752802

--- Comment #4 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
(In reply to Olivier CrĂȘte from comment #3)
> @stormer: That's a question for slomo, if I re-enable it, it crashes in some
> of the gst-validate tests.
> 
> In practice, I don't think we can do direct rendering before a frame is
> produced  with libav and GstVideoDecoder because it doesn't differentiate
> between the caps in the allocation query and the caps event.

I don't think this entirely true. In 90% of the case, you can get the
width/height from upstream. The rest of the caps is the same. It probably crash
in a case where the stream change resolution. Imho, if we know it from the
upstream caps, we should drain the decoder and then start again, it's much
simpler. I guess I'll have to check that later. That means we'll move from zero
to 2 copies in the avdec_* ! glimagesink case now, sad moment.

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