From: Stefan Sauer Date: Sat, 12 Nov 2011 13:42:27 +0000 (+0200) Subject: controller: no need to explicitely add controlled properties anymore X-Git-Tag: RELEASE-0.11.1~250 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=655e1092371c861745e7a97a677fa39b3918d120;p=platform%2Fupstream%2Fgst-plugins-good.git controller: no need to explicitely add controlled properties anymore --- diff --git a/tests/examples/shapewipe/shapewipe-example.c b/tests/examples/shapewipe/shapewipe-example.c index 855ea40..dfd4b6e 100644 --- a/tests/examples/shapewipe/shapewipe-example.c +++ b/tests/examples/shapewipe/shapewipe-example.c @@ -96,11 +96,6 @@ main (gint argc, gchar ** argv) shapewipe = gst_bin_get_by_name (GST_BIN (pipeline), "shape"); - if (!gst_object_control_properties (GST_OBJECT (shapewipe), "position", NULL)) { - g_print ("can't control shapewipe element\n"); - return -3; - } - csource = gst_lfo_control_source_new (); gst_object_set_control_source (GST_OBJECT (shapewipe), "position", diff --git a/tests/examples/v4l2/camctrl.c b/tests/examples/v4l2/camctrl.c index 2819967..a252b5d 100644 --- a/tests/examples/v4l2/camctrl.c +++ b/tests/examples/v4l2/camctrl.c @@ -168,13 +168,6 @@ main (gint argc, gchar ** argv) return -1; } - /* get the controller */ - if (!gst_object_control_properties (GST_OBJECT (src), "brightness", - "contrast", "saturation", NULL)) { - GST_WARNING ("can't control source element"); - return -1; - } - /* programm a pattern of events */ #if 0 prog = gst_structure_from_string ("program"