mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
glfilter: Unmap video frame in error case
https://bugzilla.gnome.org/show_bug.cgi?id=788194
This commit is contained in:
parent
350c56dab4
commit
5df10fa6f3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue