diff options
author | James Stembridge <jstembridge@users.sourceforge.net> | 2003-08-12 20:00:34 +0000 |
---|---|---|
committer | James Stembridge <jstembridge@users.sourceforge.net> | 2003-08-12 20:00:34 +0000 |
commit | cf322d8fdcf96f920c262d76d52b67cdf39955f2 (patch) | |
tree | 543df9e74d9aa40dde3294d49a38e5ba5f598785 | |
parent | 419c810ef7897006b42a71448f82765a8633ebbe (diff) | |
download | xine-lib-cf322d8fdcf96f920c262d76d52b67cdf39955f2.tar.gz xine-lib-cf322d8fdcf96f920c262d76d52b67cdf39955f2.tar.bz2 |
display time when playing yuv4mpeg2 files
CVS patchset: 5285
CVS date: 2003/08/12 20:00:34
-rw-r--r-- | src/demuxers/demux_yuv4mpeg2.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) |