glfilter: Unmap video frame in error case
https://bugzilla.gnome.org/show_bug.cgi?id=788194
This commit is contained in:
parent
601e274c95
commit
e686f1b628
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user