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_yuv4mpeg2.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_yuv4mpeg2.c')
-rw-r--r-- | src/demuxers/demux_yuv4mpeg2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/demuxers/demux_yuv4mpeg2.c b/src/demuxers/demux_yuv4mpeg2.c index 81d829be3..cf6345806 100644 --- a/src/demuxers/demux_yuv4mpeg2.c +++ b/src/demuxers/demux_yuv4mpeg2.c @@ -22,7 +22,7 @@ * tools, visit: * http://mjpeg.sourceforge.net/ * - * $Id: demux_yuv4mpeg2.c,v 1.6 2002/10/26 22:59:20 tmmm Exp $ + * $Id: demux_yuv4mpeg2.c,v 1.7 2002/10/27 16:14:31 tmmm Exp $ */ #ifdef HAVE_CONFIG_H @@ -281,6 +281,8 @@ static void demux_yuv4mpeg2_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] = 0; this->stream->stream_info[XINE_STREAM_INFO_VIDEO_WIDTH] = this->bih.biWidth; this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HEIGHT] = this->bih.biHeight; |