summaryrefslogtreecommitdiff
path: root/sys/va/gstvah264dec.c
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2020-09-19 05:39:32 +0900
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>2020-09-18 23:50:54 +0000
commit2fe1afeafa97a92bcf52b72836b568940b409add (patch)
tree58a84bf8339610b5238c6ac436830eb1150ba05d /sys/va/gstvah264dec.c
parent825a79f01f58bdae0ff68d11bda22499a7d8ad6c (diff)
downloadgstreamer-plugins-bad-2fe1afeafa97a92bcf52b72836b568940b409add.tar.gz
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>
Diffstat (limited to 'sys/va/gstvah264dec.c')
-rw-r--r--sys/va/gstvah264dec.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/va/gstvah264dec.c b/sys/va/gstvah264dec.c
index 5fa166589..acf3ee7cc 100644
--- a/sys/va/gstvah264dec.c
+++ b/sys/va/gstvah264dec.c
@@ -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);