gstreamer/libs/gst/controller
Benjamin Otte 6fb4cda8fb controller: Fix gst_interpolation_control_source_find_control_point_iter
The logic in that function is broken. Various NULL-checking bandaids for
guaranteed non-NULL variables didn't even help there.

This patch updates the function to check if a previous item exists
before fetching it instead of after. This makes all other tests
unnecessary.
In particular, it makes the check for an empty list unnecessary, because
for empty lists the only iter is the begin iter (and the end iter) and
so the new check catches that case.

https://bugzilla.gnome.org/show_bug.cgi?id=616846
2010-04-26 16:46:11 +02:00
..
.gitignore
gstcontroller.c
gstcontroller.h
gstcontrollerprivate.h
gstcontrolsource.c
gstcontrolsource.h controller: Mark property_name in GstValueArray as const 2010-03-17 12:18:18 +01:00
gsthelper.c
gstinterpolation.c controller: Fix gst_interpolation_control_source_find_control_point_iter 2010-04-26 16:46:11 +02:00
gstinterpolationcontrolsource.c
gstinterpolationcontrolsource.h
gstinterpolationcontrolsourceprivate.h
gstlfocontrolsource.c lfocontrolsource: Use correct setter for double GValues 2010-04-15 22:05:38 +02:00
gstlfocontrolsource.h
gstlfocontrolsourceprivate.h
lib.c
Makefile.am libs: point gobject-introspection scanner to .la files 2010-04-03 13:41:52 +01:00