From: Thiago Santos Date: Thu, 27 Feb 2014 21:55:04 +0000 (-0300) Subject: jpegdec: mark all parsed frames as sync points X-Git-Tag: 1.3.1~187 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04bd422432119d20c22529a5edcdfc0a0fce1b6b;p=platform%2Fupstream%2Fgst-plugins-good.git 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 --- diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c index 89b8460..b05043a 100644 --- a/ext/jpeg/gstjpegdec.c +++ b/ext/jpeg/gstjpegdec.c @@ -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: