From 90d3e74c51615e2fd9d5998f4bf728c3d9325290 Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Sun, 27 Oct 2002 16:14:22 +0000 Subject: load up the XINE_STREAM_INFO_HAS_AUDIO/VIDEO information CVS patchset: 3042 CVS date: 2002/10/27 16:14:22 --- src/demuxers/demux_wc3movie.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/demuxers/demux_wc3movie.c') diff --git a/src/demuxers/demux_wc3movie.c b/src/demuxers/demux_wc3movie.c index 2d38bbb13..8c1ec6b24 100644 --- a/src/demuxers/demux_wc3movie.c +++ b/src/demuxers/demux_wc3movie.c @@ -22,7 +22,7 @@ * For more information on the MVE file format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: demux_wc3movie.c,v 1.19 2002/10/26 22:00:55 guenter Exp $ + * $Id: demux_wc3movie.c,v 1.20 2002/10/27 16:14:31 tmmm Exp $ */ #ifdef HAVE_CONFIG_H @@ -365,6 +365,10 @@ static void demux_mve_send_headers(demux_plugin_t *this_gen) { this->status = DEMUX_OK; /* load stream information */ + this->stream->stream_info[XINE_STREAM_INFO_HAS_VIDEO] = 1; + /* this is not strictly correct-- some WC3 MVE files do not contain + * audio, but I'm too lazy to check if that is the case */ + this->stream->stream_info[XINE_STREAM_INFO_HAS_AUDIO] = 1; this->stream->stream_info[XINE_STREAM_INFO_VIDEO_WIDTH] = this->video_width; this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HEIGHT] = this->video_height; this->stream->stream_info[XINE_STREAM_INFO_AUDIO_CHANNELS] = -- cgit v1.2.3