mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 14:29:25 +08:00
don't set freq if channel isn't capable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2843 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
+1
-1
@@ -226,7 +226,7 @@ no_audio:
|
||||
funcs->control(tvh->priv, TVI_CONTROL_SPC_SET_INPUT, &tv_param_input);
|
||||
|
||||
/* we need to set frequency */
|
||||
if (tv_param_freq)
|
||||
if (tv_param_freq && (funcs->control(tvh->priv, TVI_CONTROL_IS_TUNER, 0) == TVI_CONTROL_TRUE))
|
||||
{
|
||||
unsigned long freq = atof(tv_param_freq)*16;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user