[MPlayer-dev-eng] [PATCH] prevent time jump to teletext

Vladimir Voroshilov voroshil at gmail.com
Mon Sep 3 17:10:22 CEST 2007


2007/9/3, Ötvös Attila <oattila at chello.hu>:
> 2007. szeptember 2. 18.50 dátummal Vladimir Voroshilov ezt írta:
> > 2007/9/2, Ötvös Attila <oattila at chello.hu>:
> > > Hi All!
> > >
> > > This patch hide time of actual teletext page if is older.
> > > If time difference greather 10 minutes is don't hide (23:59:59 ->
> > > 00:00:00).
> >
> > attached patch uses time info from 8/30/0 packet.
> >
> > 2Otvos: try if it works fine with your card.
> >
> > 2All: please anybody help me simplify/speedup gmt2local routine.
> Hi Vladimir Voroshilov!
>
> I think good idea but is problem some channels:
>
> RTL, Pro7
> Channel don't send 8/30/0 packet that is way do 'time jump'.

What about showing page 'as is' in this case (wthout interactive time counter)?

> CNN
> Channel use different time format that is way overwrite date/time:
> 02 SEP 1845:49 - channel time format
> 02 SEP 8:45:49 - overwrite

With previous patch shown time had to be "02 SEP18:45:49"
Еhis "feature"  is the bug, IMHO.

> HirTV
> Channel send invalid offset (or universal time) that is way time is incorrect:
> 17:45:00 - display time
> 19:45:00 - correct time

Did you compare produced "display time" this TV programms?
Note that shown time is not your local time. It is local time of
network provider.

> Spectrum/HBO/Cinemax
> Channel send invalid universal time that is way time is bad:
> universaltime=0xffeeeeef
> D1:94:F5 - display time

With attached patch behaviour for this channel will be equal to RTL
channel (no 8/30 packet).

> Patch do work other channels.

Ok.


P.S. what about showing time counter with inverted colors (e.g. black
on white) to separate it from page's original data?

P.P.S. attached patch also shows date with time offset correction
as was noticed by you in another mail. (date is shown just before
before  time, overwriting existing info at this place).

-- 
Regards,
Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
ICQ: 95587719
-------------- next part --------------
A non-text attachment was scrubbed...
Name: time_from_pkt30_2.diff
Type: text/x-diff
Size: 4866 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070903/00bbc53e/attachment.diff>


More information about the MPlayer-dev-eng mailing list