mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
pulsesink: uncork if needed upon commit
... to provide for a running clock.
This commit is contained in:
parent
5c67ba7f88
commit
0dd46accf6
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue