[MPlayer-cvslog] CVS: main/libmpdemux demux_real.c,1.82,1.83

Roberto Togni CVS syncmail at mplayerhq.hu
Sat Jan 14 17:57:55 CET 2006


CVS change done by Roberto Togni CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv30663

Modified Files:
	demux_real.c 
Log Message:
Print audio 4cc for every stream, print 4cc of selected audio track


Index: demux_real.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_real.c,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- demux_real.c	12 Jan 2006 20:04:34 -0000	1.82
+++ demux_real.c	14 Jan 2006 16:57:52 -0000	1.83
@@ -2,6 +2,7 @@
     Real parser & demuxer
     
     (C) Alex Beregszaszi
+    (C) 2005, 2006 Roberto Togni
     
     Based on FFmpeg's libav/rm.c.
 
@@ -1444,6 +1445,7 @@
 
 		    sh->wf->wFormatTag = sh->format;
 		    
+		    mp_msg(MSGT_DEMUX,MSGL_V,"audio fourcc: %.4s (%x)\n", (char *)&sh->format, sh->format);
 		    if (verbose > 0)
 		    print_wave_header(sh->wf);
 
@@ -1794,6 +1796,12 @@
 	    sh->disp_w,sh->disp_h,sh->aspect,sh->fps);
     }
 
+    if(demuxer->audio->sh){
+	sh_audio_t *sh=demuxer->audio->sh;
+	mp_msg(MSGT_DEMUX,MSGL_V,"AUDIO:  %.4s [%08X]\n",
+	    &sh->format,&sh->format);
+    }
+
     return demuxer;
 }
 




More information about the MPlayer-cvslog mailing list