gldeinterlace: ref the uploaded buffer

Instead of the possibly non-GL input buffer.
This commit is contained in:
Matthew Waters 2014-10-14 14:00:11 +02:00
parent 4b019ba268
commit 771b94b3ca

View file

@ -253,7 +253,7 @@ gst_gl_deinterlace_filter (GstGLFilter * filter, GstBuffer * inbuf,
if (deinterlace_filter->prev_buffer) {
gst_buffer_unref (deinterlace_filter->prev_buffer);
}
deinterlace_filter->prev_buffer = gst_buffer_ref (inbuf);
deinterlace_filter->prev_buffer = gst_buffer_ref (filter->uploaded_buffer);
return TRUE;
}