mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
Set sync_poinr = 1 for keyframe
This commit is contained in:
parent
c13359f583
commit
667fa25ec2
1 changed files with 1 additions and 1 deletions
|
@ -1001,7 +1001,7 @@ gst_base_video_decoder_chain_forward (GstBaseVideoDecoder * base_video_decoder,
|
|||
if (base_video_decoder->packetized) {
|
||||
base_video_decoder->current_frame->sink_buffer = buf;
|
||||
|
||||
if (GST_BUFFER_FLAG_IS_SET (buf, GST_BUFFER_FLAG_DELTA_UNIT))
|
||||
if (!GST_BUFFER_FLAG_IS_SET (buf, GST_BUFFER_FLAG_DELTA_UNIT))
|
||||
base_video_decoder->current_frame->is_sync_point = TRUE;
|
||||
|
||||
ret = gst_base_video_decoder_have_frame_2 (base_video_decoder);
|
||||
|
|
Loading…
Reference in a new issue