summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_mpeg.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-07-25 21:02:04 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-07-25 21:02:04 +0000
commit5f6ef66926fa50d9ee781b0addba7f6f3b6f8424 (patch)
tree3a16daff65d23e6ee485e379a4dccbaef27e5c28 /src/demuxers/demux_mpeg.c
parent0c68d092f36d8f714be4f9a359097e06f6a65af7 (diff)
downloadxine-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_mpeg.c')
-rw-r--r--src/demuxers/demux_mpeg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/demuxers/demux_mpeg.c b/src/demuxers/demux_mpeg.c
index 70d3cc5b8..ad9bf5ca1 100644
--- a/src/demuxers/demux_mpeg.c
+++ b/src/demuxers/demux_mpeg.c
@@ -19,7 +19,7 @@
*/
/*
- * $Id: demux_mpeg.c,v 1.121 2003/07/16 14:14:17 andruil Exp $
+ * $Id: demux_mpeg.c,v 1.122 2003/07/25 21:02:05 miguelfreitas Exp $
*
* demultiplexer for mpeg 1/2 program streams
* reads streams of variable blocksizes
@@ -913,6 +913,7 @@ static int demux_mpeg_seek (demux_plugin_t *this_gen,
off_t start_pos, int start_time) {
demux_mpeg_t *this = (demux_mpeg_t *) this_gen;
+ start_time /= 1000;
if (INPUT_IS_SEEKABLE(this->input)) {
@@ -1152,6 +1153,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, "mpeg", XINE_VERSION_CODE, NULL, init_plugin },
+ { PLUGIN_DEMUX, 22, "mpeg", XINE_VERSION_CODE, NULL, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
};