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_voc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/demuxers/demux_voc.c') 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] = -- cgit v1.2.3