diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c index 28ea8569ee..c20b0a0f85 100644 --- a/ext/pulse/pulsesink.c +++ b/ext/pulse/pulsesink.c @@ -1516,6 +1516,12 @@ gst_pulseringbuffer_commit (GstAudioRingBuffer * buf, guint64 * sample, if (pbuf->paused) goto was_paused; + /* ensure running clock for whatever out there */ + if (pbuf->corked) { + if (!gst_pulsering_set_corked (pbuf, FALSE, FALSE)) + goto uncork_failed; + } + /* offset is in bytes */ offset = *sample * bpf;