summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/openjpeg/gstopenjpegenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openjpeg/gstopenjpegenc.c b/ext/openjpeg/gstopenjpegenc.c
index a68493c3f..7ccbf119d 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;