summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_roq.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_roq.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_roq.c')
-rw-r--r--src/demuxers/demux_roq.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/demuxers/demux_roq.c b/src/demuxers/demux_roq.c
index 57e18c012..381da363d 100644
--- a/src/demuxers/demux_roq.c
+++ b/src/demuxers/demux_roq.c
@@ -21,7 +21,7 @@
* For more information regarding the RoQ file format, visit:
* http://www.csse.monash.edu.au/~timf/
*
- * $Id: demux_roq.c,v 1.24 2002/10/26 22:00:54 guenter Exp $
+ * $Id: demux_roq.c,v 1.25 2002/10/27 16:14:28 tmmm Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -353,6 +353,9 @@ static void demux_roq_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->width;
this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HEIGHT] = this->height;
this->stream->stream_info[XINE_STREAM_INFO_AUDIO_CHANNELS] =