[Bug 767232] videodecoder: Drain data in more situations

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 9 13:34:13 UTC 2018


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

--- Comment #11 from Nicolas Dufresne (ndufresne) <nicolas at ndufresne.ca> ---
(In reply to Edward Hervey from comment #1)
> Created attachment 329108 [details] [review]
> videodecoder: Drain decoder on DISCONT buffers
> 
> This ensures the decoder is properly drained out when receiving a
> DISCONT buffer. The optimal way of doing this would have been to
> receive a GAP event before hand but it is not always possible.
> 
> Fixes big delays with some decoders (ex gst-libav) that will not
> drain out data when only decoding keyframes.

We observe that this change increase the amount of distortion on packet lost.
Draining imply flushing the DPB (the references), so instead of having the
following frame missing one reference, it's missing all references. This leads
to gray background instead of couple of blocky spots.

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