pulsesink: port after merge
This commit is contained in:
parent
e1b795ac13
commit
0eeffef222
@ -1487,7 +1487,7 @@ gst_pulseringbuffer_commit (GstRingBuffer * buf, guint64 * sample,
|
||||
}
|
||||
|
||||
/* Recalculate what we can write in the next chunk */
|
||||
towrite = out_samples * bps;
|
||||
towrite = out_samples * bpf;
|
||||
if (pbuf->m_writable > towrite)
|
||||
pbuf->m_writable = towrite;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user