mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
change *_is_readonly to *_is_writeable. Hope the name stays now...
Original commit message from CVS: change *_is_readonly to *_is_writeable. Hope the name stays now...
This commit is contained in:
parent
f38ca0a7f4
commit
333099fdeb
1 changed files with 1 additions and 1 deletions
|
@ -505,7 +505,7 @@ static GstBuffer*
|
|||
gst_audio_convert_get_buffer (GstBuffer *buf, guint size)
|
||||
{
|
||||
GstBuffer *ret;
|
||||
if (buf->maxsize >= size && !gst_buffer_is_readonly (buf)) {
|
||||
if (buf->maxsize >= size && gst_buffer_is_writeable (buf)) {
|
||||
gst_buffer_ref (buf);
|
||||
buf->size = size;
|
||||
return buf;
|
||||
|
|
Loading…
Reference in a new issue