controller: port to API changes
authorStefan Sauer <ensonic@users.sf.net>
Sat, 31 Dec 2011 09:00:41 +0000 (10:00 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Sat, 31 Dec 2011 09:00:41 +0000 (10:00 +0100)
tests/examples/v4l2/camctrl.c

index 9879ebe5ef6e4e0bf628ba266d08fb686fe53ee7..2593744f65506078d758fda4a2721c183d8f1e9e 100644 (file)
@@ -99,7 +99,7 @@ set_program (GstObject * elem, GstStructure * prog)
         gst_object_set_control_source (elem, name, GST_CONTROL_SOURCE (cs));
         g_object_set (cs, "mode", GST_INTERPOLATION_MODE_NONE, NULL);
         g_hash_table_insert (css, (gpointer) name, cs);
-        g_object_unref (cs);
+        gst_object_unref (cs);
       }
       gst_structure_get_double (s, name, &v);
       gst_timed_value_control_source_set ((GstTimedValueControlSource *) cs, ts,