[MPlayer-dev-eng] Re: [PATCH] A-V sync & Sub delay messages OSD
Marcin Juszkiewicz
marcinj at netbox.pl
Thu Mar 14 08:10:52 CET 2002
Date: Tue, 12 Mar 2002 13:37:34 +0100
From: Arpi <arpi at thot.banki.hu>
To: mplayer-dev-eng at mplayer.dev.hu
Subject: Re: [PATCH] A-V sync & Sub delay messages OSD
> //================= 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 ?
rather it should be: if(osd_level>=2)
corrected patch in attach
--
Marcin Juszkiewicz
mailto:(marcinj@(netbox|polnet.wroc)|(marcin|hrw|szczepan)@amiga).pl
Ten zniknięty portal jeszcze bardziej zewrze nasze szeregi.
-- gazeta.pl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mplayer_av_sub_show.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020314/a9df6b6d/attachment.asc>
More information about the MPlayer-dev-eng
mailing list