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:
Benjamin Otte 2003-04-15 21:35:08 +00:00
parent f38ca0a7f4
commit 333099fdeb

View file

@ -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;