change *_is_readonly to *_is_writeable. Hope the name stays now...
authorBenjamin Otte <otte@gnome.org>
Tue, 15 Apr 2003 21:35:08 +0000 (21:35 +0000)
committerBenjamin Otte <otte@gnome.org>
Tue, 15 Apr 2003 21:35:08 +0000 (21:35 +0000)
Original commit message from CVS:
change *_is_readonly to *_is_writeable. Hope the name stays now...

gst/audioconvert/gstaudioconvert.c

index fc664142f351b7386dac002ea257fb6be8a0acf4..05fc70a360f8f8e12cb2be2ce8d7dfee9fdf9788 100644 (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;