mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-27 03:23:16 +00:00
pulsesink: port after merge
This commit is contained in:
parent
e1b795ac13
commit
0eeffef222
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue