pulsesink: port after merge

This commit is contained in:
Wim Taymans 2011-08-19 16:13:23 +02:00
parent e1b795ac13
commit 0eeffef222

View File

@ -1487,7 +1487,7 @@ gst_pulseringbuffer_commit (GstRingBuffer * buf, guint64 * sample,
} }
/* Recalculate what we can write in the next chunk */ /* Recalculate what we can write in the next chunk */
towrite = out_samples * bps; towrite = out_samples * bpf;
if (pbuf->m_writable > towrite) if (pbuf->m_writable > towrite)
pbuf->m_writable = towrite; pbuf->m_writable = towrite;