mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 02:45:35 +00:00
videodecoder: Don't set decoding timestamps on raw video
https://bugzilla.gnome.org/show_bug.cgi?id=733720
This commit is contained in:
parent
a4d97f49e2
commit
8a1f8623fa
1 changed files with 1 additions and 2 deletions
|
@ -2671,9 +2671,8 @@ gst_video_decoder_finish_frame (GstVideoDecoder * decoder,
|
|||
|
||||
GST_BUFFER_FLAG_UNSET (output_buffer, GST_BUFFER_FLAG_DELTA_UNIT);
|
||||
|
||||
/* set PTS and DTS to both the PTS for decoded frames */
|
||||
GST_BUFFER_PTS (output_buffer) = frame->pts;
|
||||
GST_BUFFER_DTS (output_buffer) = frame->pts;
|
||||
GST_BUFFER_DTS (output_buffer) = GST_CLOCK_TIME_NONE;
|
||||
GST_BUFFER_DURATION (output_buffer) = frame->duration;
|
||||
|
||||
GST_BUFFER_OFFSET (output_buffer) = GST_BUFFER_OFFSET_NONE;
|
||||
|
|
Loading…
Reference in a new issue