Commit bf44fecd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

v4l2: fix tuner debug messages

parent f649a048
...@@ -159,7 +159,7 @@ static int SetupTuner (vlc_object_t *obj, int fd, ...@@ -159,7 +159,7 @@ static int SetupTuner (vlc_object_t *obj, int fd,
msg_Dbg (obj, "tuner %s (%"PRIu32") is %s", tuner.name, tuner.index, msg_Dbg (obj, "tuner %s (%"PRIu32") is %s", tuner.name, tuner.index,
typename); typename);
msg_Dbg (obj, " ranges from %u.%u %sHz to %u.%c %sHz", msg_Dbg (obj, " ranges from %u.%u %sHz to %u.%u %sHz",
(tuner.rangelow * 125) >> 1, (tuner.rangelow & 1) * 5, mult, (tuner.rangelow * 125) >> 1, (tuner.rangelow & 1) * 5, mult,
(tuner.rangehigh * 125) >> 1, (tuner.rangehigh & 1) * 5, (tuner.rangehigh * 125) >> 1, (tuner.rangehigh & 1) * 5,
mult); mult);
...@@ -217,9 +217,11 @@ static int SetupTuner (vlc_object_t *obj, int fd, ...@@ -217,9 +217,11 @@ static int SetupTuner (vlc_object_t *obj, int fd,
input->tuner, freq, mult); input->tuner, freq, mult);
return -1; return -1;
} }
msg_Dbg (obj, "tuner %"PRIu32" tuned to frequency %"PRIu32" %sHz",
input->tuner, freq, mult);
} }
msg_Dbg (obj, "tuner %"PRIu32" tuned to frequency %"PRIu32" %sHz", else
input->tuner, freq, mult); msg_Dbg (obj, "tuner not tuned");
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment