Revert "-launch: disable CLOCK_LOST message handling"
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 14 Jul 2010 17:47:43 +0000 (19:47 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 16 Jul 2010 15:27:56 +0000 (17:27 +0200)
This reverts commit 1f8eba611a63f45766c38c640288e42b27b10bd4.

This should be fixed now (and if not should be fixed) and the
clock-lost handling is now needed for playbin2 gapless playback.

See bug #579127.

tools/gst-launch.c

index 0c82a22..e8f4bac 100644 (file)
@@ -481,14 +481,9 @@ 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
-         */
         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;