controller: use g_slice for controlled property structures
authorStefan Kost <ensonic@users.sf.net>
Sun, 18 Oct 2009 20:15:07 +0000 (23:15 +0300)
committerStefan Kost <ensonic@users.sf.net>
Sun, 18 Oct 2009 20:15:07 +0000 (23:15 +0300)
commita4e491663230bdb7c6db27af4e0b67e232e78c8c
treeaea1a38932f45889c8e4c29731bd4a7e57364c5d
parentbb0918279f020dcca142a08adf1f78d0fa71a1d4
controller: use g_slice for controlled property structures

Use g_slide instead of nomal g_new, Also don't init struct with 0 as we need to
init it anyway with the real values.
Also join the 3 flags checks into one.
libs/gst/controller/gstcontroller.c