summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_voc.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_voc.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_voc.c')
-rw-r--r--src/demuxers/demux_voc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/demuxers/demux_voc.c b/src/demuxers/demux_voc.c
index f7c729219..e87c63d50 100644
--- a/src/demuxers/demux_voc.c
+++ b/src/demuxers/demux_voc.c
@@ -23,7 +23,7 @@
* It will only play that block if it is PCM data. More variations will be
* supported as they are encountered.
*
- * $Id: demux_voc.c,v 1.13 2002/10/26 21:49:58 tmmm Exp $
+ * $Id: demux_voc.c,v 1.14 2002/10/27 16:14:29 tmmm Exp $
*
*/
@@ -268,6 +268,8 @@ static void demux_voc_send_headers(demux_plugin_t *this_gen) {
this->status = DEMUX_OK;
/* load stream information */
+ this->stream->stream_info[XINE_STREAM_INFO_HAS_VIDEO] = 0;
+ this->stream->stream_info[XINE_STREAM_INFO_HAS_AUDIO] = 1;
this->stream->stream_info[XINE_STREAM_INFO_AUDIO_CHANNELS] =
this->audio_channels;
this->stream->stream_info[XINE_STREAM_INFO_AUDIO_SAMPLERATE] =