glfilter: Unmap video frame in error case

https://bugzilla.gnome.org/show_bug.cgi?id=788194
This commit is contained in:
Ponnam Srinivas 2017-09-28 16:20:53 +05:30 committed by Sebastian Dröge
parent 350c56dab4
commit 5df10fa6f3

View file

@ -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,