From 59ea3725a7eea1bc0e5c649b58c6bbe43c937ea5 Mon Sep 17 00:00:00 2001 From: Torsten Jager Date: Fri, 4 Oct 2013 15:29:25 +0200 Subject: Fix realvideo reordered pts. Dont try to guess reordering scheme in demuxer. Just pass proper pts, and let the decoder reorder them along with the frame, like ff already does. --- src/libreal/xine_real_video_decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libreal') diff --git a/src/libreal/xine_real_video_decoder.c b/src/libreal/xine_real_video_decoder.c index 48ff6f416..63feaeb15 100644 --- a/src/libreal/xine_real_video_decoder.c +++ b/src/libreal/xine_real_video_decoder.c @@ -420,7 +420,7 @@ static void realdec_decode_data (video_decoder_t *this_gen, buf_element_t *buf) XINE_IMGFMT_YV12, VO_BOTH_FIELDS); - img->pts = this->pts; + img->pts = (int64_t)transform_out.timestamp * 90; img->duration = this->duration; _x_stream_info_set(this->stream, XINE_STREAM_INFO_FRAME_DURATION, this->duration); img->bad_frame = 0; -- cgit v1.2.3