[0.11] gstreamer: controller: cleanup the control-binding construction
Stefan Kost
ensonic at kemper.freedesktop.org
Tue Jan 24 12:58:35 PST 2012
Module: gstreamer
Branch: 0.11
Commit: 660d9c071ad02785559f0688d08c0756e88df7eb
URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=660d9c071ad02785559f0688d08c0756e88df7eb
Author: Stefan Sauer <ensonic at users.sf.net>
Date: Tue Jan 24 21:53:14 2012 +0100
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 | 125 ++++++++++
gst/gstcontrolbinding.h | 4 +
libs/gst/controller/gstcontrolbindingargb.c | 172 ++++++++++---
libs/gst/controller/gstcontrolbindingdirect.c | 320 ++++++++++++++-----------
libs/gst/controller/gstcontrolbindingdirect.h | 7 +-
tests/check/gst/gstcontroller.c | 193 ++++++++-------
win32/common/libgstcontroller.def | 4 +
7 files changed, 550 insertions(+), 275 deletions(-)
Diff: http://cgit.freedesktop.org/gstreamer/gstreamer/diff/?id=660d9c071ad02785559f0688d08c0756e88df7eb
More information about the gstreamer-commits
mailing list