mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 23:18:52 +00:00
audio: Fix up a comment in GstAudioBaseSink
Rewrote the comment to not be PulseAudio-specific.
This commit is contained in:
parent
c9f4ebf495
commit
c47b005197
1 changed files with 2 additions and 4 deletions
|
@ -1466,10 +1466,8 @@ gst_audio_base_sink_sync_latency (GstBaseSink * bsink, GstMiniObject * obj)
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (sink, "latency synced");
|
GST_DEBUG_OBJECT (sink, "latency synced");
|
||||||
|
|
||||||
/* Do not acquire the sink object lock before trying to get time on the Sink.
|
/* We might need to take the object lock within gst_audio_clock_get_time(),
|
||||||
* The get_time call may need to acquire the pulse audio mainloop lock. This can
|
* so call that before we take it again */
|
||||||
* 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. */
|
|
||||||
itime = gst_audio_clock_get_time (sink->provided_clock);
|
itime = gst_audio_clock_get_time (sink->provided_clock);
|
||||||
itime = gst_audio_clock_adjust (sink->provided_clock, itime);
|
itime = gst_audio_clock_adjust (sink->provided_clock, itime);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue