jpegdec: mark all parsed frames as sync points

all jpeg frames are sync points, so mark them as such so
reverse playback can properly work with the video decoder
base class

https://bugzilla.gnome.org/show_bug.cgi?id=725104
This commit is contained in:
Thiago Santos 2014-02-27 18:55:04 -03:00
parent e459cf3e01
commit 04bd422432

View file

@ -456,6 +456,7 @@ need_more_data:
have_full_frame:
if (toadd)
gst_video_decoder_add_to_frame (bdec, toadd);
GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT (frame);
return gst_video_decoder_have_frame (bdec);
drop_frame: