mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
va: h264dec: Don't need to set pts/dts/duration on outputting frame
It will be handled by videodecoder baseclass Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1582>
This commit is contained in:
parent
825a79f01f
commit
2fe1afeafa
1 changed files with 0 additions and 8 deletions
|
@ -186,14 +186,6 @@ gst_va_h264_dec_output_picture (GstH264Decoder * decoder,
|
|||
if (self->copy_frames)
|
||||
_copy_output_buffer (self, frame);
|
||||
|
||||
GST_BUFFER_PTS (frame->output_buffer) = GST_BUFFER_PTS (frame->input_buffer);
|
||||
GST_BUFFER_DTS (frame->output_buffer) = GST_CLOCK_TIME_NONE;
|
||||
GST_BUFFER_DURATION (frame->output_buffer) =
|
||||
GST_BUFFER_DURATION (frame->input_buffer);
|
||||
|
||||
GST_LOG_OBJECT (self, "Finish frame %" GST_TIME_FORMAT,
|
||||
GST_TIME_ARGS (GST_BUFFER_PTS (frame->output_buffer)));
|
||||
|
||||
gst_h264_picture_unref (picture);
|
||||
|
||||
return gst_video_decoder_finish_frame (GST_VIDEO_DECODER (self), frame);
|
||||
|
|
Loading…
Reference in a new issue