projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c67ba7
)
pulsesink: uncork if needed upon commit
author
Mark Nauwelaerts
<mnauw@users.sourceforge.net>
Thu, 8 Jan 2015 20:07:05 +0000
(21:07 +0100)
committer
Mark Nauwelaerts
<mnauw@users.sourceforge.net>
Sat, 10 Jan 2015 12:04:44 +0000
(13:04 +0100)
... to provide for a running clock.
ext/pulse/pulsesink.c
patch
|
blob
|
history
diff --git
a/ext/pulse/pulsesink.c
b/ext/pulse/pulsesink.c
index
28ea856
..
c20b0a0
100644
(file)
--- 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;