diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-07-25 21:02:04 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-07-25 21:02:04 +0000 |
commit | 5f6ef66926fa50d9ee781b0addba7f6f3b6f8424 (patch) | |
tree | 3a16daff65d23e6ee485e379a4dccbaef27e5c28 /src/demuxers/demux_qt.c | |
parent | 0c68d092f36d8f714be4f9a359097e06f6a65af7 (diff) | |
download | xine-lib-5f6ef66926fa50d9ee781b0addba7f6f3b6f8424.tar.gz xine-lib-5f6ef66926fa50d9ee781b0addba7f6f3b6f8424.tar.bz2 |
small housekeeping: demuxer api seeks in miliseconds
CVS patchset: 5211
CVS date: 2003/07/25 21:02:04
Diffstat (limited to 'src/demuxers/demux_qt.c')
-rw-r--r-- | src/demuxers/demux_qt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c index e1efc0578..81124885d 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.163 2003/07/21 19:28:05 hadess Exp $ + * $Id: demux_qt.c,v 1.164 2003/07/25 21:02:05 miguelfreitas Exp $ * */ @@ -2570,7 +2570,7 @@ static int binary_seek(qt_trak *trak, off_t start_pos, int start_time) { best_index = middle; } } else { - int64_t pts = 90000 * start_time; + int64_t pts = 90 * start_time; if (pts <= trak->frames[0].pts) best_index = 0; @@ -2852,6 +2852,6 @@ static void *init_plugin (xine_t *xine, void *data) { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_DEMUX, 21, "quicktime", XINE_VERSION_CODE, NULL, init_plugin }, + { PLUGIN_DEMUX, 22, "quicktime", XINE_VERSION_CODE, NULL, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; |