summaryrefslogtreecommitdiffstats
path: root/examples/gstplay
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gstplay')
-rw-r--r--examples/gstplay/player.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/gstplay/player.c b/examples/gstplay/player.c
index 7a018fe0..e0bdd413 100644
--- a/examples/gstplay/player.c
+++ b/examples/gstplay/player.c
@@ -90,13 +90,6 @@ seek_timer (GstPlay * play)
return FALSE;
}
-static gboolean
-idle_iterate (GstPlay * play)
-{
- gst_bin_iterate (GST_BIN (play));
- return (GST_STATE (GST_ELEMENT (play)) == GST_STATE_PLAYING);
-}
-
int
main (int argc, char *argv[])
{
@@ -168,7 +161,6 @@ main (int argc, char *argv[])
GST_STATE_PLAYING) == GST_STATE_FAILURE)
g_error ("Could not set state to PLAYING");
- g_idle_add ((GSourceFunc) idle_iterate, play);
g_timeout_add (20000, (GSourceFunc) seek_timer, play);
g_main_loop_run (loop);