mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
jpegenc: mark all output frames as keyframes
This commit is contained in:
parent
83cb4c63c3
commit
df097db437
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue