mirror of https://github.com/mpv-player/mpv
fixed channel changing with frequencies.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4243 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fd48206c56
commit
b12f049942
|
@ -470,7 +470,7 @@ int tv_step_channel(tvi_handle_t *tvh, int direction)
|
|||
|
||||
if (direction == TV_CHANNEL_HIGHER)
|
||||
{
|
||||
if (tvh->channel+1 <= chanlists[tvh->chanlist].count)
|
||||
if (tvh->channel+1 < chanlists[tvh->chanlist].count)
|
||||
{
|
||||
cl = tvh->chanlist_s[tvh->channel++];
|
||||
mp_msg(MSGT_TV, MSGL_INFO, "Selected channel: %s (freq: %.3f)\n",
|
||||
|
|
Loading…
Reference in New Issue