summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_ipmovie.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-10 11:57:15 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-10 11:57:15 +0000
commit4b7cfbfb7aa9d3af0f483b15b32882aa453f87a7 (patch)
tree36073c846d54ce98a71d255651e78abe69dc2035 /src/demuxers/demux_ipmovie.c
parenta4318a6700f307c76487a66a196860986bd1b781 (diff)
downloadxine-lib-4b7cfbfb7aa9d3af0f483b15b32882aa453f87a7.tar.gz
xine-lib-4b7cfbfb7aa9d3af0f483b15b32882aa453f87a7.tar.bz2
internal input_time is miliseconds now
CVS patchset: 3851 CVS date: 2003/01/10 11:57:15
Diffstat (limited to 'src/demuxers/demux_ipmovie.c')
-rw-r--r--src/demuxers/demux_ipmovie.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/demuxers/demux_ipmovie.c b/src/demuxers/demux_ipmovie.c
index ae1c4a62a..cc0d0fa5d 100644
--- a/src/demuxers/demux_ipmovie.c
+++ b/src/demuxers/demux_ipmovie.c
@@ -21,7 +21,7 @@
* For more information regarding the Interplay MVE file format, visit:
* http://www.pcisys.net/~melanson/codecs/
*
- * $Id: demux_ipmovie.c,v 1.3 2003/01/04 14:48:12 miguelfreitas Exp $
+ * $Id: demux_ipmovie.c,v 1.4 2003/01/10 11:57:16 miguelfreitas Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -346,7 +346,7 @@ this->fps++; /* above calculation usually yields 14.9; we need 15 */
buf->type = this->audio_type;
buf->extra_info->input_pos = current_file_pos;
buf->extra_info->input_length = this->data_size;
- buf->extra_info->input_time = audio_pts / 90000;
+ buf->extra_info->input_time = audio_pts / 90;
buf->pts = audio_pts;
if (opcode_size > buf->max_size)
@@ -434,7 +434,7 @@ this->fps++; /* above calculation usually yields 14.9; we need 15 */
buf->type = BUF_VIDEO_INTERPLAY;
buf->extra_info->input_pos = current_file_pos;
buf->extra_info->input_length = this->data_size;
- buf->extra_info->input_time = this->video_pts / 90000;
+ buf->extra_info->input_time = this->video_pts / 90;
buf->pts = this->video_pts;
if (opcode_size > buf->max_size)
@@ -474,7 +474,7 @@ this->fps++; /* above calculation usually yields 14.9; we need 15 */
buf->type = BUF_VIDEO_INTERPLAY;
buf->extra_info->input_pos = current_file_pos;
buf->extra_info->input_length = this->data_size;
- buf->extra_info->input_time = this->video_pts / 90000;
+ buf->extra_info->input_time = this->video_pts / 90;
buf->pts = this->video_pts;
if (opcode_size > buf->max_size)