diff options
author | Matthew Waters <matthew@centricular.com> | 2014-10-14 14:00:11 +0200 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2014-10-14 16:54:01 +0200 |
commit | 771b94b3ca441ae6b487965ca879ae67d0860848 (patch) | |
tree | ec2a0b1fb22480193024dd3a065c94c06016cf63 | |
parent | 4b019ba268e0136e6cbb11de90533634d198c5eb (diff) | |
download | gstreamer-plugins-bad-771b94b3ca441ae6b487965ca879ae67d0860848.tar.gz |
gldeinterlace: ref the uploaded buffer
Instead of the possibly non-GL input buffer.
-rw-r--r-- | ext/gl/gstgldeinterlace.c | 2 |
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; } |