diff mbox

[xawtv3,2/3] mtt: Fix mtt not being able to tune tv channels

Message ID 1455571202-5189-2-git-send-email-hdegoede@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Hans de Goede Feb. 15, 2016, 9:20 p.m. UTC
Teletext should use the tv tuner not the radio tuner...

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 x11/vbi-gui.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/x11/vbi-gui.c b/x11/vbi-gui.c
index f4b19da..429c8b2 100644
--- a/x11/vbi-gui.c
+++ b/x11/vbi-gui.c
@@ -917,7 +917,7 @@  static void vbi_station_cb(Widget widget, XtPointer client, XtPointer call)
 	struct v4l2_frequency frequency;
 
 	memset (&frequency, 0, sizeof(frequency));
-	frequency.type = V4L2_TUNER_RADIO;
+	frequency.type = V4L2_TUNER_ANALOG_TV;
 	frequency.frequency = channels[i]->freq;
 	if (-1 == ioctl(vbi->fd, VIDIOC_S_FREQUENCY, &frequency))
 	    perror("ioctl VIDIOCSFREQ");