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

Mate Miklos mtmkls at freemail.hu
Sat Jan 6 14:41:02 CET 2007


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.

The DVB code is also copied, but I'm not able to test it.

If this change is applied in svn, than I can create an other patch that 
removes the workaround code (with the message translated to all languages :) 
on request.

The only problem is that mousewheel produces two events, so it always steps 
two channels. I'm currently investigating the reason.

MM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-tvseek.diff
Type: text/x-diff
Size: 1724 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070106/b99d19bf/attachment.diff>


More information about the MPlayer-dev-eng mailing list