jpegenc: mark all output frames as keyframes
This commit is contained in:
parent
83cb4c63c3
commit
df097db437
@ -248,6 +248,8 @@ gst_jpegenc_term_destination (j_compress_ptr cinfo)
|
||||
|
||||
gst_video_frame_unmap (&jpegenc->current_vframe);
|
||||
|
||||
GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT (jpegenc->current_frame);
|
||||
|
||||
gst_video_encoder_finish_frame (GST_VIDEO_ENCODER (jpegenc),
|
||||
jpegenc->current_frame);
|
||||
jpegenc->current_frame = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user