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

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Sat Jan 14 18:29:16 CET 2006


On Saturday, 14 January 2006 at 17:57, Roberto Togni CVS wrote:
> 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);

Needs cast to char * here, too, just like above.

R.

-- 
MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"




More information about the MPlayer-cvslog mailing list