mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-24 23:38:20 +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
|
@ -2314,6 +2314,8 @@ gst_video_decoder_prepare_finish_frame (GstVideoDecoder *
|
||||||
GST_TIME_FORMAT ")",
|
GST_TIME_FORMAT ")",
|
||||||
GST_TIME_ARGS (frame->pts), GST_TIME_ARGS (priv->last_timestamp_out));
|
GST_TIME_ARGS (frame->pts), GST_TIME_ARGS (priv->last_timestamp_out));
|
||||||
priv->reordered_output = TRUE;
|
priv->reordered_output = TRUE;
|
||||||
|
/* make it a bit less weird downstream */
|
||||||
|
frame->pts = priv->last_timestamp_out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue