This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/v4l-utils.git tree:
Subject: v4l2-ctl: Be consistent in handling v4l2_frequency.type for modulators Author: Hans de Goede <[email protected]> Date: Sat May 26 12:59:40 2012 +0200 Currently for a S_FREQUENCY we set v4l2_frequency.type to V4L2_TUNER_RADIO, but on G_FREQUENCY we leave it unset. The spec states that the type field should be ignored by modulators, but since we're setting it on S_FREQUENCY, lets be consistent and also set if on G_FREQUENCY. Signed-off-by: Hans de Goede <[email protected]> (cherry picked from commit 18ee9a09e1bcc1f54036891b5256a83e8dce8cab) Signed-off-by: Gregor Jasny <[email protected]> utils/v4l2-ctl/v4l2-ctl.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) --- http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=32afacf7ced078aa3f417315c22c7d138bb54f9f diff --git a/utils/v4l2-ctl/v4l2-ctl.cpp b/utils/v4l2-ctl/v4l2-ctl.cpp index 667490a..cfc280f 100644 --- a/utils/v4l2-ctl/v4l2-ctl.cpp +++ b/utils/v4l2-ctl/v4l2-ctl.cpp @@ -3603,6 +3603,7 @@ int main(int argc, char **argv) double fac = 16; if (capabilities & V4L2_CAP_MODULATOR) { + vf.type = V4L2_TUNER_RADIO; if (doioctl(fd, VIDIOC_G_MODULATOR, &modulator) == 0) fac = (modulator.capability & V4L2_TUNER_CAP_LOW) ? 16000 : 16; } else { _______________________________________________ linuxtv-commits mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
