From 011ce368b214f489a7efe6917da5ece305f03e81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Loeuillet?= Date: Mon, 31 May 2004 14:16:54 +0000 Subject: gst-libs/gst/tuner/tunerchannel.h: - add a freq_multiplicator field to make the conversion between internal frequency... Original commit message from CVS: * gst-libs/gst/tuner/tunerchannel.h: - add a freq_multiplicator field to make the conversion between internal frequency unit and Hz * sys/v4l/gstv4lelement.c: * sys/v4l2/gstv4l2element.c: - change default video device to /dev/video0 * sys/v4l/v4l_calls.c: * sys/v4l2/v4l2_calls.c: - we only expose frequency to the user in Hz instead of bastard v4lX unit (either 62.5kHz or 62.5Hz) --- gst-libs/gst/tuner/tunerchannel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gst-libs/gst/tuner/tunerchannel.h') diff --git a/gst-libs/gst/tuner/tunerchannel.h b/gst-libs/gst/tuner/tunerchannel.h index ee5654d0..b38dc279 100644 --- a/gst-libs/gst/tuner/tunerchannel.h +++ b/gst-libs/gst/tuner/tunerchannel.h @@ -43,7 +43,7 @@ typedef enum { GST_TUNER_CHANNEL_INPUT = (1<<0), GST_TUNER_CHANNEL_OUTPUT = (1<<1), GST_TUNER_CHANNEL_FREQUENCY = (1<<2), - GST_TUNER_CHANNEL_AUDIO = (1<<3), + GST_TUNER_CHANNEL_AUDIO = (1<<3) } GstTunerChannelFlags; #define GST_TUNER_CHANNEL_HAS_FLAG(channel, flag) \ @@ -54,6 +54,7 @@ typedef struct _GstTunerChannel { gchar *label; GstTunerChannelFlags flags; + gfloat freq_multiplicator; gulong min_frequency, max_frequency; gint min_signal, -- cgit v1.2.1