controller: cleanup the control-binding construction
authorStefan Sauer <ensonic@users.sf.net>
Tue, 24 Jan 2012 20:53:14 +0000 (21:53 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Tue, 24 Jan 2012 20:57:44 +0000 (21:57 +0100)
commit660d9c071ad02785559f0688d08c0756e88df7eb
treeefed63ba15f31b4475c5f317a1bc05ac29d1d42a
parentfc1fab8a15e88d54df1507298797db56fc376dea
controller: cleanup the control-binding construction

This is now bindings firendly as _new is just a classic c convenience and all
the work is done in a constructor. As a side effect _new never fails.
Fix the tests.
gst/gstcontrolbinding.c
gst/gstcontrolbinding.h
libs/gst/controller/gstcontrolbindingargb.c
libs/gst/controller/gstcontrolbindingdirect.c
libs/gst/controller/gstcontrolbindingdirect.h
tests/check/gst/gstcontroller.c
win32/common/libgstcontroller.def