[MPlayer-dev-eng] Re: [PATCH] A-V sync & Sub delay messages OSD
Arpi
arpi at thot.banki.hu
Tue Mar 12 13:37:34 CET 2002
Hi,
> //================= Update OSD ====================
> #ifdef USE_OSD
> - if(osd_level>=2){
> + if(osd_level>=1){
> int pts=d_video->pts;
> char osd_text_tmp[50];
> if(pts==osd_last_pts-1) ++pts; else osd_last_pts=pts;
> @@ -2790,8 +2790,10 @@
> if (osd_show_av_delay) {
> sprintf(osd_text_tmp, "A-V delay: %d ms",(int)(audio_delay*1000));
> osd_show_av_delay--;
> - } else
> + } else if(osd_level==1)
this should be if(osd_level==2), isn't ?
> sprintf(osd_text_tmp,"%c %02d:%02d:%02d",osd_function,pts/3600,(p
> ts/60)%60,pt
> %60);
> + else
> + sprintf(osd_text_tmp, " ");
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list