summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_cda.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_cda.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_cda.c')
-rw-r--r--src/demuxers/demux_cda.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/demuxers/demux_cda.c b/src/demuxers/demux_cda.c
index 08d819fac..35c28fe21 100644
--- a/src/demuxers/demux_cda.c
+++ b/src/demuxers/demux_cda.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_cda.c,v 1.28 2002/10/27 02:40:00 tmmm Exp $
+ * $Id: demux_cda.c,v 1.29 2002/10/27 16:14:22 tmmm Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -236,6 +236,8 @@ static void demux_cda_send_headers(demux_plugin_t *this_gen) {
this->status = DEMUX_OK;
/* hardwired 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] = 2;
this->stream->stream_info[XINE_STREAM_INFO_AUDIO_SAMPLERATE] = 44100;
this->stream->stream_info[XINE_STREAM_INFO_AUDIO_BITS] = 16;