[Mplayer-cvslog] CVS: main configure,1.141,1.142 demux_avi.c,1.22,1.23 mplayThu Aug 16 18:22:20 2001

Arpi arpi at thot.banki.hu
Thu Aug 16 18:24:23 CEST 2001


Hi,

> Update of /cvsroot/mplayer/main
> In directory mplayer:/var/tmp.root/cvs-serv23606
> 
> Modified Files:
> 	configure demux_avi.c mplayer.c 
> Log Message:
> moved some stdout to stderr

patch removed...

> +#ifndef USE_OSD
> +/* can't support subtite without osd functionality */
> +#undef USE_SUB
> +#endif
not needed.

only print errors to stderr.

> -	      printf("XXX initial  v_pts=%5.3f  a_pos=%d (%5.3f) \n",priv->avi_audio_pts,priv->pts_corr_bytes,delay);
it should be moved to verbose level, not stderr

> -      printf("V_SEEK:  pack=%d  pts=%5.3f  chunk=%d  \n",d_video->pack_no,priv->avi_video_pts,video_chunk_pos);
> +      fprintf(stderr, "V_SEEK:  pack=%d  pts=%5.3f  chunk=%d  \n",d_video->pack_no,priv->avi_video_pts,video_chunk_pos);
same

> -      printf("\n------ PAUSED -------\r");fflush(stdout);
> +      fprintf(stderr,"\n------ PAUSED -------\r");fflush(stderr);
maybe this one is ok

>  	if(verbose){
^^^
>  	    float a_pts=d_audio->pts;
>              a_pts+=(ds_tell_pts(d_audio)-sh_audio->a_in_buffer_len)/(float)sh_audio->i_bps;
> -	    printf("SEEK: A: %5.3f  V: %5.3f  A-V: %5.3f   \n",a_pts,d_video->pts,a_pts-d_video->pts);
> +	    fprintf(stderr,"SEEK: A: %5.3f  V: %5.3f  A-V: %5.3f   \n",a_pts,d_video->pts,a_pts-d_video->pts);
>  	}
it's already on verbose level. why do you touch it?

> -        printf("A:%6.1f  V:%6.1f  A-V:%7.3f  ct: ?   \r",d_audio->pts,d_video->pts,0.0f);
> +        fprintf(stderr, "A:%6.1f  V:%6.1f  A-V:%7.3f  ct: ?   \r",d_audio->pts,d_video->pts,0.0f);
whwre is it?


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-cvslog mailing list