mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-31 12:38:48 +00:00
Small compile fix
Original commit message from CVS: Small compile fix
This commit is contained in:
parent
f45e753969
commit
aaf4f43950
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ gst_jpegenc_get (GstPad *pad)
|
||||||
|
|
||||||
jpegenc = GST_JPEGENC (GST_OBJECT_PARENT (pad));
|
jpegenc = GST_JPEGENC (GST_OBJECT_PARENT (pad));
|
||||||
|
|
||||||
if (jpegenc->buffer == NULL || GST_BUFFER_REFCOUNT(jpegenc->buffer) != 1) {
|
if (jpegenc->buffer == NULL || GST_BUFFER_REFCOUNT_VALUE(jpegenc->buffer) != 1) {
|
||||||
if (jpegenc->buffer) gst_buffer_unref(jpegenc->buffer);
|
if (jpegenc->buffer) gst_buffer_unref(jpegenc->buffer);
|
||||||
GST_DEBUG (0,"gst_jpegenc_chain: new buffer");
|
GST_DEBUG (0,"gst_jpegenc_chain: new buffer");
|
||||||
newbuf = jpegenc->buffer = gst_buffer_new();
|
newbuf = jpegenc->buffer = gst_buffer_new();
|
||||||
|
|
Loading…
Reference in a new issue