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: Remove double G_TUNER on G_FREQUENCY
Author:  Hans de Goede <[email protected]>
Date:    Sat May 26 12:51:19 2012 +0200

Remove a left-over from commit b18142f9, where the code for determining the
frequency factor (V4L2_TUNER_CAP_LOW), was changed to use a G_MODULATOR
instead of a G_TUNER for MODULATORS.

This left over causes an unnecessary double G_TUNER for regular tuners, and
an unwanted G_TUNER call for modulators.

Signed-off-by: Hans de Goede <[email protected]>
(cherry picked from commit 2bc7ec4afa4c199a5d826711cca9985024c4309b)

Signed-off-by: Gregor Jasny <[email protected]>

 utils/v4l2-ctl/v4l2-ctl.cpp |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=84fd373350c6aa811c0a771ffd5d8889487cebba

diff --git a/utils/v4l2-ctl/v4l2-ctl.cpp b/utils/v4l2-ctl/v4l2-ctl.cpp
index 8e05125..667490a 100644
--- a/utils/v4l2-ctl/v4l2-ctl.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl.cpp
@@ -3612,9 +3612,6 @@ int main(int argc, char **argv)
                                vf.type = tuner.type;
                        }
                }
-               if (doioctl(fd, VIDIOC_G_TUNER, &tuner) == 0) {
-                       fac = (tuner.capability & V4L2_TUNER_CAP_LOW) ? 16000 : 
16;
-               }
                vf.tuner = 0;
                if (doioctl(fd, VIDIOC_G_FREQUENCY, &vf) == 0)
                        printf("Frequency: %d (%f MHz)\n", vf.frequency,

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to