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_rawdv.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_rawdv.c')
-rw-r--r-- | src/demuxers/demux_rawdv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/demux_rawdv.c b/src/demuxers/demux_rawdv.c index d94f0555a..11e26309c 100644 --- a/src/demuxers/demux_rawdv.c +++ b/src/demuxers/demux_rawdv.c @@ -19,7 +19,7 @@ */ /* - * $Id: demux_rawdv.c,v 1.10 2003/07/19 11:57:29 mroi Exp $ + * $Id: demux_rawdv.c,v 1.11 2003/07/25 21:02:05 miguelfreitas Exp $ * * demultiplexer for raw dv streams */ @@ -292,7 +292,7 @@ static int demux_raw_dv_seek (demux_plugin_t *this_gen, } if( !start_pos && start_time ) { - start_pos = (start_time * 90000 / this->duration) * this->frame_size; + start_pos = (start_time * 90 / this->duration) * this->frame_size; } start_pos = start_pos - (start_pos % this->frame_size); @@ -425,6 +425,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, "rawdv", XINE_VERSION_CODE, NULL, init_plugin }, + { PLUGIN_DEMUX, 22, "rawdv", XINE_VERSION_CODE, NULL, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; |