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 /sys/v4l2/gstv4l2element.c | |
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 'sys/v4l2/gstv4l2element.c')
-rw-r--r-- | sys/v4l2/gstv4l2element.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/v4l2/gstv4l2element.c b/sys/v4l2/gstv4l2element.c index 1595e87f..4b7c6182 100644 --- a/sys/v4l2/gstv4l2element.c +++ b/sys/v4l2/gstv4l2element.c @@ -383,7 +383,7 @@ gst_v4l2element_class_init (GstV4l2ElementClass * klass) "input/output to switch to", NULL, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, ARG_FREQUENCY, g_param_spec_ulong ("frequency", "frequency", - "frequency to tune to", 0, G_MAXULONG, 0, G_PARAM_READWRITE)); + "frequency to tune to (in Hz)", 0, G_MAXULONG, 0, G_PARAM_READWRITE)); /* signals */ gst_v4l2element_signals[SIGNAL_OPEN] = @@ -411,7 +411,7 @@ gst_v4l2element_init (GstV4l2Element * v4l2element) /* some default values */ v4l2element->video_fd = -1; v4l2element->buffer = NULL; - v4l2element->device = g_strdup ("/dev/video"); + v4l2element->device = g_strdup ("/dev/video0"); v4l2element->display = g_strdup (g_getenv ("DISPLAY")); v4l2element->channels = NULL; |