[MPlayer-dev-eng] [PATCH] Seeking TV input

Mate Miklos mtmkls at freemail.hu
Sat Jan 6 16:04:17 CET 2007


Hi,

On 2007 January 06 Saturday 14:52, Nico Sabbi wrote:
> Mate Miklos wrote:
> > Hi,
> >
> > I solved the problem of changing TV channels by seeking.
> >
> > The idea is to copy the code from 'case MP_CMD_TV_STEP_CHANNEL:' to 'case
> > MP_CMD_SEEK:' in mplayer.c with appropriate parameter type conversion.
> > This way the OSD is updated as well.
>
> what are trying to accomplish?
I'm trying to allow channel changing using ordinary controls (eg. the cursor 
keys) instead of special keys (the 'h' and 'k'). I find it more user 
friendly.

> changing tv channel when seeking? if so I don't see why,
> and your patch also prevents seeking in the cache
It doesn't prevent anything as it breaks only if the TV input had to be 
operated. Of course it means 2 extra ifs before seeking ordinary streams...

MM



More information about the MPlayer-dev-eng mailing list