Update of /cvsroot/xine/xine-lib/src/demuxers
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv29524

Modified Files:
        demux_matroska.c 
Log Message:
Implement decoding of A_MS/ACM streams in Matroska files. It is the equivament 
of the A_MS/VFW/FOURCC for audio tracks.


Index: demux_matroska.c
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/demuxers/demux_matroska.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- demux_matroska.c    26 Sep 2006 00:07:05 -0000      1.48
+++ demux_matroska.c    14 Nov 2006 14:17:31 -0000      1.49
@@ -1237,6 +1237,14 @@
       init_codec = init_codec_vorbis;
 
     } else if (!strcmp(track->codec_id, MATROSKA_CODEC_ID_A_ACM)) {
+      xine_waveformatex *wfh;
+      lprintf("MATROSKA_CODEC_ID_A_ACM\n");
+
+      wfh = (xine_waveformatex*)track->codec_private;
+      _x_waveformatex_le2me(wfh);
+
+      track->buf_type = _x_formattag_to_buf_audio(wfh->wFormatTag);
+      init_codec = init_codec_audio;
     } else if (!strncmp(track->codec_id, MATROSKA_CODEC_ID_A_AAC,
                         sizeof(MATROSKA_CODEC_ID_A_AAC) - 1)) {
       lprintf("MATROSKA_CODEC_ID_A_AAC\n");


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog

Reply via email to