summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_ipmovie.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers/demux_ipmovie.c')
-rw-r--r--src/demuxers/demux_ipmovie.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/demuxers/demux_ipmovie.c b/src/demuxers/demux_ipmovie.c
index 49405c0de..a32a125de 100644
--- a/src/demuxers/demux_ipmovie.c
+++ b/src/demuxers/demux_ipmovie.c
@@ -23,7 +23,7 @@
* For more information regarding the Interplay MVE file format, visit:
* http://www.pcisys.net/~melanson/codecs/
*
- * $Id: demux_ipmovie.c,v 1.17 2003/11/11 18:44:52 f1rmb Exp $
+ * $Id: demux_ipmovie.c,v 1.18 2003/11/15 14:00:47 miguelfreitas Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -620,12 +620,12 @@ static void demux_ipmovie_send_headers(demux_plugin_t *this_gen) {
}
static int demux_ipmovie_seek (demux_plugin_t *this_gen,
- off_t start_pos, int start_time) {
+ off_t start_pos, int start_time, int playing) {
demux_ipmovie_t *this = (demux_ipmovie_t *) this_gen;
/* if thread is not running, initialize demuxer */
- if( !this->stream->demux_thread_running ) {
+ if( !playing ) {
/* send new pts */
_x_demux_control_newpts(this->stream, 0, 0);
@@ -677,8 +677,6 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str
this->demux_plugin.dispose = demux_ipmovie_dispose;
this->demux_plugin.get_status = demux_ipmovie_get_status;
this->demux_plugin.get_stream_length = demux_ipmovie_get_stream_length;
- this->demux_plugin.get_video_frame = NULL;
- this->demux_plugin.got_video_frame_cb= NULL;
this->demux_plugin.get_capabilities = demux_ipmovie_get_capabilities;
this->demux_plugin.get_optional_data = demux_ipmovie_get_optional_data;
this->demux_plugin.demux_class = class_gen;