linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Linux Media Mailing List <linux-media@vger.kernel.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Subject: [PATCH xawtv3 2/3] mtt: Fix mtt not being able to tune tv channels
Date: Mon, 15 Feb 2016 22:20:01 +0100	[thread overview]
Message-ID: <1455571202-5189-2-git-send-email-hdegoede@redhat.com> (raw)
In-Reply-To: <1455571202-5189-1-git-send-email-hdegoede@redhat.com>

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 --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");
-- 
2.7.1


  reply	other threads:[~2016-02-15 21:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-15 21:20 [PATCH xawtv3 1/3] get_media_devices.c: Remove superfluous ; add end of functions Hans de Goede
2016-02-15 21:20 ` Hans de Goede [this message]
2016-02-15 21:20 ` [PATCH xawtv3 3/3] Add desktop and appdata files for xawtv, motv and mtt Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1455571202-5189-2-git-send-email-hdegoede@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).