summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_qt.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_qt.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_qt.c')
-rw-r--r--src/demuxers/demux_qt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c
index 86e15cf6a..6808d4194 100644
--- a/src/demuxers/demux_qt.c
+++ b/src/demuxers/demux_qt.c
@@ -30,7 +30,7 @@
* build_frame_table
* free_qt_info
*
- * $Id: demux_qt.c,v 1.139 2003/01/08 01:02:28 miguelfreitas Exp $
+ * $Id: demux_qt.c,v 1.140 2003/01/10 11:57:17 miguelfreitas Exp $
*
*/
@@ -1916,7 +1916,7 @@ static int demux_qt_send_chunk(demux_plugin_t *this_gen) {
buf->type = this->qt->video_type;
buf->extra_info->input_pos = this->qt->frames[i].offset - this->data_start;
buf->extra_info->input_length = this->data_size;
- buf->extra_info->input_time = this->qt->frames[i].pts / 90000;
+ buf->extra_info->input_time = this->qt->frames[i].pts / 90;
buf->pts = this->qt->frames[i].pts;
buf->decoder_flags |= BUF_FLAG_FRAMERATE;
@@ -1970,7 +1970,7 @@ static int demux_qt_send_chunk(demux_plugin_t *this_gen) {
if ((buf->type == BUF_AUDIO_LPCM_BE) ||
(buf->type == BUF_AUDIO_LPCM_LE)) {
if (first_buf) {
- buf->extra_info->input_time = this->qt->frames[i].pts / 90000;
+ buf->extra_info->input_time = this->qt->frames[i].pts / 90;
buf->pts = this->qt->frames[i].pts;
first_buf = 0;
} else {
@@ -1978,7 +1978,7 @@ static int demux_qt_send_chunk(demux_plugin_t *this_gen) {
buf->pts = 0;
}
} else {
- buf->extra_info->input_time = this->qt->frames[i].pts / 90000;
+ buf->extra_info->input_time = this->qt->frames[i].pts / 90;
buf->pts = this->qt->frames[i].pts;
}