-launch: disable CLOCK_LOST message handling

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
This commit is contained in:
Wim Taymans 2009-04-16 12:01:50 +02:00
parent 5879b8d07f
commit 1f8eba611a

View 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;