mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 10:55:34 +00:00
videodecoder: avoid descending output timestamps
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=712796
This commit is contained in:
parent
0f8040862f
commit
ee86a91957
1 changed files with 2 additions and 0 deletions
|
@ -2314,6 +2314,8 @@ gst_video_decoder_prepare_finish_frame (GstVideoDecoder *
|
|||
GST_TIME_FORMAT ")",
|
||||
GST_TIME_ARGS (frame->pts), GST_TIME_ARGS (priv->last_timestamp_out));
|
||||
priv->reordered_output = TRUE;
|
||||
/* make it a bit less weird downstream */
|
||||
frame->pts = priv->last_timestamp_out;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue