From: Arun Raghavan Date: Mon, 29 Sep 2014 14:15:22 +0000 (+0530) Subject: audio: Fix up a comment in GstAudioBaseSink X-Git-Tag: 1.6.0~971 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c47b0051975643fd65342e0072f61e46060da594;p=platform%2Fupstream%2Fgst-plugins-base.git audio: Fix up a comment in GstAudioBaseSink Rewrote the comment to not be PulseAudio-specific. --- diff --git a/gst-libs/gst/audio/gstaudiobasesink.c b/gst-libs/gst/audio/gstaudiobasesink.c index 4be9988..acd8c98 100644 --- a/gst-libs/gst/audio/gstaudiobasesink.c +++ b/gst-libs/gst/audio/gstaudiobasesink.c @@ -1466,10 +1466,8 @@ gst_audio_base_sink_sync_latency (GstBaseSink * bsink, GstMiniObject * obj) GST_DEBUG_OBJECT (sink, "latency synced"); - /* Do not acquire the sink object lock before trying to get time on the Sink. - * The get_time call may need to acquire the pulse audio mainloop lock. This can - * cause a deadlock with the Pulse Audio main loop thread which in turn has - * acquired its mainloop lock and now needs to acquire Object lock on the sink. */ + /* We might need to take the object lock within gst_audio_clock_get_time(), + * so call that before we take it again */ itime = gst_audio_clock_get_time (sink->provided_clock); itime = gst_audio_clock_adjust (sink->provided_clock, itime);