mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 13:18:52 +00:00
basevideodecoder: (in vp8) Mark discont buffers
This commit is contained in:
parent
106cf3cdd6
commit
14c8bf96ad
1 changed files with 4 additions and 0 deletions
|
@ -1034,6 +1034,10 @@ gst_base_video_decoder_finish_frame (GstBaseVideoDecoder * base_video_decoder,
|
||||||
GST_BUFFER_FLAG_UNSET (frame->src_buffer, GST_VIDEO_BUFFER_ONEFIELD);
|
GST_BUFFER_FLAG_UNSET (frame->src_buffer, GST_VIDEO_BUFFER_ONEFIELD);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (base_video_decoder->discont) {
|
||||||
|
GST_BUFFER_FLAG_UNSET (frame->src_buffer, GST_BUFFER_FLAG_DISCONT);
|
||||||
|
base_video_decoder->discont = FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
GST_BUFFER_TIMESTAMP (frame->src_buffer) = frame->presentation_timestamp;
|
GST_BUFFER_TIMESTAMP (frame->src_buffer) = frame->presentation_timestamp;
|
||||||
GST_BUFFER_DURATION (frame->src_buffer) = frame->presentation_duration;
|
GST_BUFFER_DURATION (frame->src_buffer) = frame->presentation_duration;
|
||||||
|
|
Loading…
Reference in a new issue