tests/check/libs/controller.c: This test should return TRUE now as syncing an uncontrolled object will succeed now (t...

Original commit message from CVS:
* tests/check/libs/controller.c: (GST_START_TEST):
This test should return TRUE now as syncing an uncontrolled
object will succeed now (there's nothing to sync).
This commit is contained in:
Sebastian Dröge 2008-12-09 10:58:01 +00:00
parent 1f8d758f27
commit c09870ede4
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* tests/check/libs/controller.c: (GST_START_TEST):
This test should return TRUE now as syncing an uncontrolled
object will succeed now (there's nothing to sync).
2008-12-09 Stefan Kost <ensonic@users.sf.net>
* libs/gst/controller/gstcontroller.c:
@ -9,7 +15,6 @@
* libs/gst/controller/gsthelper.c:
Fix return code and comment.
2008-12-09 Stefan Kost <ensonic@users.sf.net>

View file

@ -1901,7 +1901,8 @@ GST_START_TEST (controller_helper_any_gobject)
/* that element is not controllable */
res = gst_object_sync_values (G_OBJECT (elem), 0LL);
fail_unless (res == FALSE, NULL);
/* Syncing should still succeed as there's nothing to sync */
fail_unless (res == TRUE, NULL);
gst_object_unref (elem);
}