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_idcin.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/demuxers/demux_idcin.c') diff --git a/src/demuxers/demux_idcin.c b/src/demuxers/demux_idcin.c index 257da4ae1..76563f885 100644 --- a/src/demuxers/demux_idcin.c +++ b/src/demuxers/demux_idcin.c @@ -63,7 +63,7 @@ * - if any bytes exceed 63, do not shift the bytes at all before * transmitting them to the video decoder * - * $Id: demux_idcin.c,v 1.21 2002/10/27 15:51:53 tmmm Exp $ + * $Id: demux_idcin.c,v 1.22 2002/10/27 16:14:26 tmmm Exp $ */ #ifdef HAVE_CONFIG_H @@ -344,6 +344,9 @@ static int open_idcin_file(demux_idcin_t *this) { return 0; /* 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] = -- cgit v1.2.3