[Mplayer-cvslog] CVS: main/libmpdemux demux_real.c,1.3,1.4
Alex Beregszaszi
alex at mplayer.dev.hu
Sat Dec 29 17:41:42 CET 2001
Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv19720
Modified Files:
demux_real.c
Log Message:
fixed rv10 with subid=3
Index: demux_real.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_real.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- demux_real.c 27 Dec 2001 18:31:02 -0000 1.3
+++ demux_real.c 29 Dec 2001 16:41:30 -0000 1.4
@@ -147,8 +147,8 @@
/* flags: */
/* 0x2 - keyframe */
- printf("packet#%d: len: %d, stream_id: %d, timestamp: %d, flags: %x\n",
- priv->num_of_packets, len, stream_id, timestamp, flags);
+// printf("packet#%d: len: %d, stream_id: %d, timestamp: %d, flags: %x\n",
+// priv->num_of_packets, len, stream_id, timestamp, flags);
priv->num_of_packets--;
len -= 12;
@@ -352,6 +352,8 @@
sh->samplerate = stream_read_word(demuxer->stream);
stream_skip(demuxer->stream, 4);
sh->channels = stream_read_word(demuxer->stream);
+ printf("samplerate: %d, channels: %d\n",
+ sh->samplerate, sh->channels);
/* Desc #1 */
skip_str(1, demuxer);
@@ -453,6 +455,7 @@
case 0x10003001:
/* sub id: 3 */
/* codec id: rv10 */
+ sh->bih->biCompression = sh->format = mmioFOURCC('R', 'V', '1', '3');
break;
case 0x20001000:
case 0x20100001:
More information about the MPlayer-cvslog
mailing list