diff options
author | Ewald Snel <esnel@users.sourceforge.net> | 2002-06-09 09:36:40 +0000 |
---|---|---|
committer | Ewald Snel <esnel@users.sourceforge.net> | 2002-06-09 09:36:40 +0000 |
commit | b50a90c5651a0174f9c43f2899b91a8f912ab2f4 (patch) | |
tree | 518e5b94987c6629b69f75ac1a7de918372df936 | |
parent | cf2f49aef9a64d94405385db34044c7a7f603e09 (diff) | |
download | xine-lib-b50a90c5651a0174f9c43f2899b91a8f912ab2f4.tar.gz xine-lib-b50a90c5651a0174f9c43f2899b91a8f912ab2f4.tar.bz2 |
Fix playing time (seconds instead of qt units)
CVS patchset: 2044
CVS date: 2002/06/09 09:36:40
-rw-r--r-- | src/demuxers/demux_qt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c index 761763bb2..cc1541456 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.49 2002/06/08 21:45:09 miguelfreitas Exp $ + * $Id: demux_qt.c,v 1.50 2002/06/09 09:36:40 esnel Exp $ * */ @@ -1429,7 +1429,7 @@ static int demux_qt_get_stream_length (demux_plugin_t *this_gen) { demux_qt_t *this = (demux_qt_t *) this_gen; - return this->qt->duration; + return this->qt->duration / this->qt->time_scale; } demux_plugin_t *init_demuxer_plugin(int iface, xine_t *xine) { |