CVS-BACKUP broken??? [Re: [Mplayer-cvslog] CVS: main mplayer.c,1.699,1.700]
D Richard Felker III
dalias at aerifal.cx
Sat May 31 22:28:50 CEST 2003
I got the following output during commit:
Checking in mplayer.c;
/cvsroot/mplayer/main/mplayer.c,v <-- mplayer.c
new revision: 1.700; previous revision: 1.699
done
------------------------------------------------------------------------------
Building CVS BACKUP patch: patch/main/011096-rfelker.patch
Testing patch...
patching file main/libmpdemux/realrtsp/rmff.c,v
patch: **** Can't rename file /tmp/poG4UVcY to main/libmpdemux/realrtsp/rmff.c,v : Permission denied
------------------------------------------------------------------------------
Ready.
Mailing mplayer-cvslog at mplayer.dev.hu...
Generating notification message...
Generating notification message... done.
Arpi, you might wanna check this out in case cvs-backup is broken...
:((
Rich
On Sat, May 31, 2003 at 10:52:20PM +0200, Richard Felker CVS wrote:
> Update of /cvsroot/mplayer/main
> In directory mail:/var/tmp.root/cvs-serv26989
>
> Modified Files:
> mplayer.c
> Log Message:
> display pts for audio-only files as hh:mm:ss.f
> patch by Robert Riches (rm.riches at verizon.net)
>
>
> Index: mplayer.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/mplayer.c,v
> retrieving revision 1.699
> retrieving revision 1.700
> diff -u -r1.699 -r1.700
> --- mplayer.c 31 May 2003 17:30:47 -0000 1.699
> +++ mplayer.c 31 May 2003 20:52:16 -0000 1.700
> @@ -1929,11 +1929,41 @@
>
> if(!sh_video) {
> // handle audio-only case:
> - if(!quiet) mp_msg(MSGT_AVSYNC,MSGL_STATUS,"A:%6.1f %4.1f%% %d%% \r"
> - ,sh_audio->delay-audio_out->get_delay()
> + if(!quiet) {
> + //
> + // convert time to HH:MM:SS.F format
> + //
> + long tenths = 10 * sh_audio->delay-audio_out->get_delay();
> + int hh = (tenths / 36000) % 100;
> + int mm = (tenths / 600) % 60;
> + int ss = (tenths / 10) % 60;
> + int f1 = tenths % 10;
> + char hhmmssf[16]; // only really need 11, but just in case...
> + sprintf( hhmmssf, "%2d:%2d:%2d.%1d", hh, mm, ss, f1);
> + if (0 == hh) {
> + hhmmssf[1] = ' ';
> + hhmmssf[2] = ' ';
> + }
> + // uncomment the next three lines to show leading zero ten-hours
> + // else if (' ' == hhmmssf[0]) {
> + // hhmmssf[0] = '0';
> + // }
> + if ((0 == hh) && (0 == mm)) {
> + hhmmssf[4] = ' ';
> + hhmmssf[5] = ' ';
> + }
> + else if ((' ' == hhmmssf[3]) && (' ' != hhmmssf[2])) {
> + hhmmssf[3] = '0';
> + }
> + if ((' ' == hhmmssf[6]) && (' ' != hhmmssf[5])) {
> + hhmmssf[6] = '0';
> + }
> + mp_msg(MSGT_AVSYNC,MSGL_STATUS,"A: %s %4.1f%% %d%% \r"
> + ,hhmmssf
> ,(sh_audio->delay>0.5)?100.0*audio_time_usage/(double)sh_audio->delay:0
> ,cache_fill_status
> );
> + }
> if(d_audio->eof) eof = PT_NEXT_ENTRY;
>
> } else {
>
> _______________________________________________
> Mplayer-cvslog mailing list
> Mplayer-cvslog at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog
More information about the MPlayer-cvslog
mailing list