+2007-09-07 Wim Taymans <wim.taymans@gmail.com>
+
+ * sys/v4l2/v4l2src_calls.c:
+ (gst_v4l2src_probe_caps_for_format_and_size):
+ Don't overwrite our GValue with 0 but instead use the previously
+ computed value. Fixes #471823 some more.
+
2007-09-06 Tim-Philipp Müller <tim at centricular dot net>
* docs/plugins/gst-plugins-good-plugins.hierarchy:
Add some more debugging in the framerate function.
Iterate stepwise framerate up to and _including_ the max and if nothing
was added to the list, add a dummy 0/1 to 100/1 framerate so that we
- don't end up with an empty list.
+ don't end up with an empty list. Fixes #471823
2007-09-04 Wim Taymans <wim.taymans@gmail.com>
gst_value_set_fraction (&max, num, denom);
while (gst_value_compare (&frac, &max) <= 0) {
- GValue frac = { 0, };
- g_value_init (&frac, GST_TYPE_FRACTION);
-
num = gst_value_get_fraction_numerator (&frac);
denom = gst_value_get_fraction_denominator (&frac);
GST_LOG_OBJECT (v4l2src, "adding stepwise framerate: %d/%d", denom, num);