diff options
author | Mike Melanson <mike@multimedia.cx> | 2002-10-27 16:14:22 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2002-10-27 16:14:22 +0000 |
commit | 90d3e74c51615e2fd9d5998f4bf728c3d9325290 (patch) | |
tree | 1f38fd57275b35a724fb37fd74511cb7a7fb4283 /src/demuxers/demux_vqa.c | |
parent | fb94d51c62b13c2db1c8daa4cf500cd95c884a06 (diff) | |
download | xine-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_vqa.c')
-rw-r--r-- | src/demuxers/demux_vqa.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/demuxers/demux_vqa.c b/src/demuxers/demux_vqa.c index 533ac7616..2239b0090 100644 --- a/src/demuxers/demux_vqa.c +++ b/src/demuxers/demux_vqa.c @@ -27,7 +27,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.14 2002/10/27 02:20:35 tmmm Exp $ + * $Id: demux_vqa.c,v 1.15 2002/10/27 16:14:30 tmmm Exp $ */ #ifdef HAVE_CONFIG_H @@ -311,6 +311,9 @@ static void demux_vqa_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->stream->stream_info[XINE_STREAM_INFO_HAS_AUDIO] = + (this->audio_channels) ? 1 : 0; 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] = |