videodecoder: avoid descending output timestamps

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=712796
This commit is contained in:
Mark Nauwelaerts 2013-11-21 21:33:59 +01:00
parent 0f8040862f
commit ee86a91957

View file

@ -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;
}
}