summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2014-10-14 14:00:11 +0200
committerMatthew Waters <matthew@centricular.com>2014-10-14 16:54:01 +0200
commit771b94b3ca441ae6b487965ca879ae67d0860848 (patch)
treeec2a0b1fb22480193024dd3a065c94c06016cf63
parent4b019ba268e0136e6cbb11de90533634d198c5eb (diff)
downloadgstreamer-plugins-bad-771b94b3ca441ae6b487965ca879ae67d0860848.tar.gz
gldeinterlace: ref the uploaded buffer
Instead of the possibly non-GL input buffer.
-rw-r--r--ext/gl/gstgldeinterlace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gl/gstgldeinterlace.c b/ext/gl/gstgldeinterlace.c
index b420fa6ce..ba17bce3e 100644
--- a/ext/gl/gstgldeinterlace.c
+++ b/ext/gl/gstgldeinterlace.c
@@ -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;
}