summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_wc3movie.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2002-10-27 16:14:22 +0000
committerMike Melanson <mike@multimedia.cx>2002-10-27 16:14:22 +0000
commit90d3e74c51615e2fd9d5998f4bf728c3d9325290 (patch)
tree1f38fd57275b35a724fb37fd74511cb7a7fb4283 /src/demuxers/demux_wc3movie.c
parentfb94d51c62b13c2db1c8daa4cf500cd95c884a06 (diff)
downloadxine-lib-90d3e74c51615e2fd9d5998f4bf728c3d9325290.tar.gz
xine-lib-90d3e74c51615e2fd9d5998f4bf728c3d9325290.tar.bz2
load up the XINE_STREAM_INFO_HAS_AUDIO/VIDEO information
CVS patchset: 3042 CVS date: 2002/10/27 16:14:22
Diffstat (limited to 'src/demuxers/demux_wc3movie.c')
-rw-r--r--src/demuxers/demux_wc3movie.c6
1 files changed, 5 insertions, 1 deletions
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] =