summaryrefslogtreecommitdiffstats
path: root/examples/seeking
diff options
context:
space:
mode:
Diffstat (limited to 'examples/seeking')
-rw-r--r--examples/seeking/seek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/seeking/seek.c b/examples/seeking/seek.c
index fed6b7f9..3cd64cdf 100644
--- a/examples/seeking/seek.c
+++ b/examples/seeking/seek.c
@@ -805,6 +805,7 @@ iterate (gpointer data)
if (!GST_FLAG_IS_SET (GST_OBJECT (data), GST_BIN_SELF_SCHEDULABLE)) {
res = gst_bin_iterate (GST_BIN (data));
} else {
+ g_usleep (500);
res = gst_element_get_state (GST_ELEMENT (data)) == GST_STATE_PLAYING;
}