mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
gldeinterlace: ref the uploaded buffer
Instead of the possibly non-GL input buffer.
This commit is contained in:
parent
4b019ba268
commit
771b94b3ca
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue