Revert "-launch: disable CLOCK_LOST message handling"

This reverts commit 1f8eba611a.

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.
This commit is contained in:
Sebastian Dröge 2010-07-14 19:47:43 +02:00
parent c53457976e
commit be77e8d6e1

View file

@ -481,14 +481,9 @@ event_loop (GstElement * pipeline, gboolean blocking, GstState target_state)
break; break;
} }
case GST_MESSAGE_CLOCK_LOST: 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"); PRINT ("Clock lost, selecting a new one\n");
gst_element_set_state (pipeline, GST_STATE_PAUSED); gst_element_set_state (pipeline, GST_STATE_PAUSED);
gst_element_set_state (pipeline, GST_STATE_PLAYING); gst_element_set_state (pipeline, GST_STATE_PLAYING);
#endif
break; break;
case GST_MESSAGE_EOS:{ case GST_MESSAGE_EOS:{
waiting_eos = FALSE; waiting_eos = FALSE;