mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
basevideo: Don't duplicate code in basevideocodec
Both basevideoencoder and basevideocodec were setting system_frame_number, leading to confusion. Fixes #647853.
This commit is contained in:
parent
aa02a4074f
commit
4f432e09fa
1 changed files with 0 additions and 4 deletions
|
@ -461,10 +461,6 @@ gst_base_video_encoder_finish_frame (GstBaseVideoEncoder * base_video_encoder,
|
|||
base_video_encoder_class =
|
||||
GST_BASE_VIDEO_ENCODER_GET_CLASS (base_video_encoder);
|
||||
|
||||
frame->system_frame_number =
|
||||
GST_BASE_VIDEO_CODEC (base_video_encoder)->system_frame_number;
|
||||
GST_BASE_VIDEO_CODEC (base_video_encoder)->system_frame_number++;
|
||||
|
||||
if (frame->is_sync_point) {
|
||||
base_video_encoder->distance_from_sync = 0;
|
||||
GST_BUFFER_FLAG_UNSET (frame->src_buffer, GST_BUFFER_FLAG_DELTA_UNIT);
|
||||
|
|
Loading…
Reference in a new issue