videodecoder: Flush the decoder once per discont group, not once per keyframe
This commit is contained in:
parent
f1f8731ff5
commit
5a4fbb1638
@ -1850,9 +1850,6 @@ gst_video_decoder_flush_decode (GstVideoDecoder * dec)
|
|||||||
|
|
||||||
GST_DEBUG_OBJECT (dec, "flushing buffers to decode");
|
GST_DEBUG_OBJECT (dec, "flushing buffers to decode");
|
||||||
|
|
||||||
/* clear buffer and decoder state */
|
|
||||||
gst_video_decoder_flush (dec, FALSE);
|
|
||||||
|
|
||||||
walk = priv->decode;
|
walk = priv->decode;
|
||||||
while (walk) {
|
while (walk) {
|
||||||
GList *next;
|
GList *next;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user