From cf322d8fdcf96f920c262d76d52b67cdf39955f2 Mon Sep 17 00:00:00 2001 From: James Stembridge Date: Tue, 12 Aug 2003 20:00:34 +0000 Subject: display time when playing yuv4mpeg2 files CVS patchset: 5285 CVS date: 2003/08/12 20:00:34 --- src/demuxers/demux_yuv4mpeg2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/demuxers/demux_yuv4mpeg2.c b/src/demuxers/demux_yuv4mpeg2.c index 18344cac4..51499ed2d 100644 --- a/src/demuxers/demux_yuv4mpeg2.c +++ b/src/demuxers/demux_yuv4mpeg2.c @@ -24,7 +24,7 @@ * tools, visit: * http://mjpeg.sourceforge.net/ * - * $Id: demux_yuv4mpeg2.c,v 1.27 2003/08/12 19:44:35 jstembridge Exp $ + * $Id: demux_yuv4mpeg2.c,v 1.28 2003/08/12 20:00:34 jstembridge Exp $ */ #ifdef HAVE_CONFIG_H @@ -267,6 +267,7 @@ static int demux_yuv4mpeg2_send_chunk(demux_plugin_t *this_gen) { buf->type = BUF_VIDEO_I420; buf->extra_info->input_pos = current_file_pos; buf->extra_info->input_length = this->data_size; + buf->extra_info->input_time = pts / 90; buf->pts = pts; if (bytes_remaining > buf->max_size) -- cgit v1.2.3