diff options
author | Stéphane Loeuillet <gstreamer@leroutier.net> | 2004-05-31 14:16:54 +0000 |
---|---|---|
committer | Stéphane Loeuillet <gstreamer@leroutier.net> | 2004-05-31 14:16:54 +0000 |
commit | 011ce368b214f489a7efe6917da5ece305f03e81 (patch) | |
tree | 34160595fca2a03faaf4881d19a0692cc1273808 /gst-libs | |
parent | 65f1dc9e434669d152747eb787485c369337544e (diff) | |
download | gst-plugins-bad-011ce368b214f489a7efe6917da5ece305f03e81.tar.gz gst-plugins-bad-011ce368b214f489a7efe6917da5ece305f03e81.tar.bz2 gst-plugins-bad-011ce368b214f489a7efe6917da5ece305f03e81.zip |
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)
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/tuner/tunerchannel.h | 3 |
1 files changed, 2 insertions, 1 deletions
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, |