From 9cfe04de9200961d807f82cafb1062bbcadc3e4a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 7 Dec 2015 20:34:10 +0200 Subject: [PATCH] openjpegenc: All frames in JPEG2000 are keyframes, mark them as such --- ext/openjpeg/gstopenjpegenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/openjpeg/gstopenjpegenc.c b/ext/openjpeg/gstopenjpegenc.c index a68493c..7ccbf11 100644 --- a/ext/openjpeg/gstopenjpegenc.c +++ b/ext/openjpeg/gstopenjpegenc.c @@ -936,6 +936,7 @@ gst_openjpeg_enc_handle_frame (GstVideoEncoder * encoder, mstream.size, NULL, (GDestroyNotify) g_free)); #endif + GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT (frame); ret = gst_video_encoder_finish_frame (encoder, frame); return ret; -- 2.7.4