mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
sys/v4l2/gstv4l2element.c: Flag typo.
Original commit message from CVS: * sys/v4l2/gstv4l2element.c: (gst_v4l2element_get_property): Flag typo. * sys/v4l2/v4l2_calls.c: (gst_v4l2_set_defaults): No warnings.
This commit is contained in:
parent
ec5fad8ff0
commit
145270dd7e
3 changed files with 19 additions and 9 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-10-24 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* sys/v4l2/gstv4l2element.c: (gst_v4l2element_get_property):
|
||||
Flag typo.
|
||||
* sys/v4l2/v4l2_calls.c: (gst_v4l2_set_defaults):
|
||||
No warnings.
|
||||
|
||||
2004-10-24 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_clear_format_list):
|
||||
|
|
|
@ -540,7 +540,7 @@ gst_v4l2element_get_property (GObject * object,
|
|||
guint flags = 0;
|
||||
|
||||
if (GST_V4L2_IS_OPEN (v4l2element)) {
|
||||
flags |= v4l2element->vcap.capabilities & 30007;
|
||||
flags |= v4l2element->vcap.capabilities & 0x30007;
|
||||
}
|
||||
g_value_set_flags (value, flags);
|
||||
break;
|
||||
|
|
|
@ -359,6 +359,8 @@ gst_v4l2_set_defaults (GstV4l2Element * v4l2element)
|
|||
gst_tuner_channel_changed (tuner, channel);
|
||||
g_object_notify (G_OBJECT (v4l2element), "channel");
|
||||
}
|
||||
|
||||
if (GST_TUNER_CHANNEL_HAS_FLAG (channel, GST_TUNER_CHANNEL_FREQUENCY)) {
|
||||
if (v4l2element->frequency != 0) {
|
||||
gst_tuner_set_frequency (tuner, channel, v4l2element->frequency);
|
||||
} else {
|
||||
|
@ -371,6 +373,7 @@ gst_v4l2_set_defaults (GstV4l2Element * v4l2element)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/******************************************************
|
||||
|
|
Loading…
Reference in a new issue