tests: clock: fix test clock name

Don't call the slave test clock "Master".

https://bugzilla.gnome.org/show_bug.cgi?id=746430
This commit is contained in:
Suhwang Kim 2015-04-14 13:42:55 +09:00 committed by Tim-Philipp Müller
parent d3400ce358
commit be6d3e9255

View file

@ -78,7 +78,7 @@ GST_START_TEST (test_set_master_refcount)
/* create master and slave */
master = g_object_new (TYPE_TEST_CLOCK, "name", "TestClockMaster", NULL);
slave = g_object_new (TYPE_TEST_CLOCK, "name", "TestClockMaster", NULL);
slave = g_object_new (TYPE_TEST_CLOCK, "name", "TestClockSlave", NULL);
GST_OBJECT_FLAG_SET (slave, GST_CLOCK_FLAG_CAN_SET_MASTER);
fail_unless_equals_int (GST_OBJECT_REFCOUNT (master), 1);