summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_vqa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers/demux_vqa.c')
-rw-r--r--src/demuxers/demux_vqa.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/demuxers/demux_vqa.c b/src/demuxers/demux_vqa.c
index e00ec8fcc..6271343ec 100644
--- a/src/demuxers/demux_vqa.c
+++ b/src/demuxers/demux_vqa.c
@@ -29,7 +29,7 @@
* block needs information from the previous audio block in order to be
* decoded, thus making random seeking difficult.
*
- * $Id: demux_vqa.c,v 1.36 2003/11/13 15:23:01 andruil Exp $
+ * $Id: demux_vqa.c,v 1.37 2003/11/15 14:01:04 miguelfreitas Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -294,12 +294,12 @@ static void demux_vqa_send_headers(demux_plugin_t *this_gen) {
}
static int demux_vqa_seek (demux_plugin_t *this_gen,
- off_t start_pos, int start_time) {
+ off_t start_pos, int start_time, int playing) {
demux_vqa_t *this = (demux_vqa_t *) this_gen;
/* if thread is not running, initialize demuxer */
- if( !this->stream->demux_thread_running ) {
+ if( !playing ) {
this->status = DEMUX_OK;
}
@@ -346,8 +346,6 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str
this->demux_plugin.dispose = demux_vqa_dispose;
this->demux_plugin.get_status = demux_vqa_get_status;
this->demux_plugin.get_stream_length = demux_vqa_get_stream_length;
- this->demux_plugin.get_video_frame = NULL;
- this->demux_plugin.got_video_frame_cb= NULL;
this->demux_plugin.get_capabilities = demux_vqa_get_capabilities;
this->demux_plugin.get_optional_data = demux_vqa_get_optional_data;
this->demux_plugin.demux_class = class_gen;