Commit 2fbb803d authored by Jan Schmidt's avatar Jan Schmidt

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.
parent f865729e
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment