Commit e686f1b6 authored by Ponnam Srinivas's avatar Ponnam Srinivas Committed by Tim-Philipp Müller

glfilter: Unmap video frame in error case
parent 601e274c
......@@ -926,7 +926,7 @@ gst_gl_filter_filter_texture (GstGLFilter * filter, GstBuffer * inbuf,
if (!gst_is_gl_memory (in_tex)) {
ret = FALSE;
GST_ERROR_OBJECT (filter, "Input memory must be GstGLMemory");
goto inbuf_error;
goto unmap_out_error;
if (!gst_video_frame_map (&out_frame, &filter->out_info, outbuf,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment