controller: the object needs a ref to the controller for the convenience api
authorStefan Sauer <ensonic@users.sf.net>
Fri, 4 Nov 2011 20:37:45 +0000 (21:37 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Sat, 5 Nov 2011 10:02:42 +0000 (11:02 +0100)
commit618be218e8aac5c914be03be1714e8d1c88a7299
tree1fe7552ab4f0a9b073179e7cd090a9e1822f6761
parent593d2b297bd7b5ce9dbcdf2f1ae2b7624d94d6ae
controller: the object needs a ref to the controller for the convenience api

Add a hack to ensure the object will have a ref to the controller once we
create it. Fixes the audio example (that uses the controller api directly).
gst/gstcontroller.c
gst/gstobject.c