[Bug 788194] New: glfilter: Unmap video frame in error cas
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Sep 26 14:15:10 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=788194
Bug ID: 788194
Summary: glfilter: Unmap video frame in error cas
Classification: Platform
Product: GStreamer
Version: 1.13.x
OS: All
Status: NEW
Severity: major
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: p.srinivas at samsung.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 360453
--> https://bugzilla.gnome.org/attachment.cgi?id=360453&action=edit
attached patch
Hi,
In gst_gl_filter_filter_texture() function, missed Unmap video frame in
failed case
code:
if (!gst_video_frame_map (&gl_frame, &filter->in_info, inbuf,
GST_MAP_READ | GST_MAP_GL)) {
ret = FALSE;
goto inbuf_error;
}
in_tex = gl_frame.map[0].memory;
if (!gst_is_gl_memory (in_tex)) {
ret = FALSE;
GST_ERROR_OBJECT (filter, "Input memory must be GstGLMemory");
goto inbuf_error;
}
sol: gst_video_frame_unmap (&gl_frame); added
Patch attached. Please review and share feedback.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list