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
@ -505,7 +505,7 @@ static GstBuffer*
|
|||||||
gst_audio_convert_get_buffer (GstBuffer *buf, guint size)
|
gst_audio_convert_get_buffer (GstBuffer *buf, guint size)
|
||||||
{
|
{
|
||||||
GstBuffer *ret;
|
GstBuffer *ret;
|
||||||
if (buf->maxsize >= size && !gst_buffer_is_readonly (buf)) {
|
if (buf->maxsize >= size && gst_buffer_is_writeable (buf)) {
|
||||||
gst_buffer_ref (buf);
|
gst_buffer_ref (buf);
|
||||||
buf->size = size;
|
buf->size = size;
|
||||||
return buf;
|
return buf;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user