summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl
diff options
context:
space:
mode:
authorPonnam Srinivas <p.srinivas@samsung.com>2017-09-28 16:20:53 +0530
committerSebastian Dröge <sebastian@centricular.com>2017-09-28 13:59:14 +0300
commit5df10fa6f3a5317a2a1649437a143d1d7f9e8afe (patch)
tree0c635a870c222ce44c5869c7470067e2e4df2515 /gst-libs/gst/gl
parent350c56dab4dc80931fc5d645c7c764ee309387cf (diff)
glfilter: Unmap video frame in error case
https://bugzilla.gnome.org/show_bug.cgi?id=788194
Diffstat (limited to 'gst-libs/gst/gl')
-rw-r--r--gst-libs/gst/gl/gstglfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/gstglfilter.c b/gst-libs/gst/gl/gstglfilter.c
index 15f7b614e..5c9e140fd 100644
--- a/gst-libs/gst/gl/gstglfilter.c
+++ b/gst-libs/gst/gl/gstglfilter.c
@@ -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,