mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
theoradec: Always inform base class when dropping frames
Partially fixes backwards playback. Informing the base class of the dropped frame lets it manage the timestamping and events better.
This commit is contained in:
parent
f865729e95
commit
2fbb803d85
1 changed files with 1 additions and 0 deletions
|
@ -819,6 +819,7 @@ theora_dec_handle_frame (GstVideoDecoder * bdec, GstVideoCodecFrame * frame)
|
|||
res = gst_video_decoder_finish_frame (bdec, frame);
|
||||
break;
|
||||
case GST_CUSTOM_FLOW_DROP:
|
||||
case GST_VIDEO_DECODER_FLOW_NEED_DATA:
|
||||
res = gst_video_decoder_drop_frame (bdec, frame);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue