[kaffeine-devel] dvbOSDSkip does not work propertly when "the next channel" does not have a current
Brought to you by:
hftom,
lasselindqvist
From: Leo I. <leo...@gm...> - 2008-11-19 16:12:22
|
Hello everyone, my name is Leo Iannacone and I just started using kaffeine to see satellite TV on my PC. I immediately found a problem: while displaying the OSD informations of a channel, I wanted to go to the next channel informations, if the channel had not a `current_channel->num= (+/-) 1` number, so I couldn't watch OSD infos of the channel that I was looking for. To better explain: I'm watching channel num. 301. Read OSD infos, skip to the next channel (302), and skip to the next too (304). The last channel (304) has not the `current_ch->num+1` (I don't have in channels list a channel->num=303), so OSD is locked on the current_channel (302) infos, unable to jump to channel 304. I modified the function dvbOSDSkip file kaffeine/src/input/dvbpanel.cpp just adding a simple `while`. Now the OSD is displayed properly. The changes are very simple, see the attachment. I've tried it in extreme cases (as jumping from channel 900 to channel 10090) and seems to work fine. Regards, Leo. -- GPG Key ID: 1024D/D59257A9 Key fingerprint: DC75 469F 4831 4293 81A4 423C 6884 31F6 D592 57A9 More info: http://wiki.ubuntu.com/LeoIannacone |