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,9 +1487,9 @@ 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;
pbuf->m_writable = towrite;
GST_LOG_OBJECT (psink, "requesting %" G_GSIZE_FORMAT " bytes of "
"shared memory", pbuf->m_writable);