Revert "pulsesink: Add comments to remove the provide-clock message posting once...
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 3 Jun 2010 11:45:32 +0000 (13:45 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 3 Jun 2010 11:45:32 +0000 (13:45 +0200)
This reverts commit 8f3708f38aa3839a6a625ca7d1c166101c9fbb7f.

The baseaudiosink commit was reverted

ext/pulse/pulsesink.c

index 8d0b0d7d04f6a042cda8a2b7723f196f1c0c7333..b723c1c9c4396cca71470d2b96eafe3217e52b11 100644 (file)
@@ -2488,7 +2488,6 @@ gst_pulsesink_change_state (GstElement * element, GstStateChange transition)
       GST_BASE_AUDIO_SINK (pulsesink)->provided_clock =
           gst_audio_clock_new ("GstPulseSinkClock",
           (GstAudioClockGetTimeFunc) gst_pulsesink_get_time, pulsesink);
-      /* FIXME: Remove this once we depend on -base 0.10.30 */
       gst_element_post_message (element,
           gst_message_new_clock_provide (GST_OBJECT_CAST (element),
               GST_BASE_AUDIO_SINK (pulsesink)->provided_clock, TRUE));
@@ -2501,14 +2500,12 @@ gst_pulsesink_change_state (GstElement * element, GstStateChange transition)
 
   switch (transition) {
     case GST_STATE_CHANGE_READY_TO_NULL:
-      /* FIXME: Remove this once we depend on -base 0.10.30 */
       gst_element_post_message (element,
           gst_message_new_clock_provide (GST_OBJECT_CAST (element), NULL,
               FALSE));
       if (GST_BASE_AUDIO_SINK (pulsesink)->provided_clock)
         gst_object_unref (GST_BASE_AUDIO_SINK (pulsesink)->provided_clock);
       GST_BASE_AUDIO_SINK (pulsesink)->provided_clock = NULL;
-
       if (pulsesink->mainloop) {
         pa_threaded_mainloop_stop (pulsesink->mainloop);
         pa_threaded_mainloop_free (pulsesink->mainloop);