From 94bfdc7a56fd9d619dd289288af5b1f83eb52775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 26 Mar 2014 08:03:22 +0100 Subject: [PATCH] jpegdec: All frames are sync points --- ext/jpeg/gstjpegdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c index b05043a89e..9b1af1c6b5 100644 --- a/ext/jpeg/gstjpegdec.c +++ b/ext/jpeg/gstjpegdec.c @@ -296,6 +296,8 @@ gst_jpeg_dec_parse (GstVideoDecoder * bdec, GstVideoCodecFrame * frame, gint offset = 0, noffset; GstJpegDec *dec = (GstJpegDec *) bdec; + GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT (frame); + /* FIXME : The overhead of using scan_uint32 is massive */ size = gst_adapter_available (adapter);