summaryrefslogtreecommitdiffstats
path: root/tests/examples
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2008-11-26 21:19:47 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2008-11-26 21:19:47 +0000
commit6f13524166392a35c8577bba55da987e287e6991 (patch)
treebae31f14a74448f35515ede3d7ad7c3888f6b57e /tests/examples
parent102a70336777b97ebebb19e2eb3fafaa53cb2e96 (diff)
tests/examples/level/level-example.c: Set fakesink to sync. Otherwise people might question the message interval. Nev...
Original commit message from CVS: * tests/examples/level/level-example.c: Set fakesink to sync. Otherwise people might question the message interval. Nevertheless the timestamp in the message is what matters.
Diffstat (limited to 'tests/examples')
-rw-r--r--tests/examples/level/level-example.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/examples/level/level-example.c b/tests/examples/level/level-example.c
index bab167fc..9bce5b4f 100644
--- a/tests/examples/level/level-example.c
+++ b/tests/examples/level/level-example.c
@@ -108,6 +108,8 @@ main (int argc, char *argv[])
/* make sure we'll get messages */
g_object_set (G_OBJECT (level), "message", TRUE, NULL);
+ /* run synced and not as fast as we can */
+ g_object_set (G_OBJECT (fakesink), "sync", TRUE, NULL);
bus = gst_element_get_bus (pipeline);
watch_id = gst_bus_add_watch (bus, message_handler, NULL);