-launch: disable CLOCK_LOST message handling
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 16 Apr 2009 10:01:50 +0000 (12:01 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 16 Apr 2009 10:01:50 +0000 (12:01 +0200)
Disable the handling of the CLOCK_LOST messages until we fixed and released the
elements (rtspsrc) that break when we quickly PAUSE/PLAY the pipeline.

Fixes #579127

tools/gst-launch.c

index fceebf2..4cbcca2 100644 (file)
@@ -439,9 +439,14 @@ event_loop (GstElement * pipeline, gboolean blocking, GstState target_state)
         break;
       }
       case GST_MESSAGE_CLOCK_LOST:
+#if 0
+        /* disabled for now as it caused problems with rtspsrc. We need to fix
+         * rtspsrc first, then release -good before we can reenable this again
+         */
         g_print ("Clock lost, selecting a new one\n");
         gst_element_set_state (pipeline, GST_STATE_PAUSED);
         gst_element_set_state (pipeline, GST_STATE_PLAYING);
+#endif
         break;
       case GST_MESSAGE_EOS:
         waiting_eos = FALSE;