projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fc911c
)
glmixer: Unmap video frame in error case
author
Ponnam Srinivas
<p.srinivas@samsung.com>
Mon, 25 Sep 2017 11:50:58 +0000
(17:20 +0530)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 26 Sep 2017 08:12:04 +0000
(11:12 +0300)
https://bugzilla.gnome.org/show_bug.cgi?id=788127
ext/gl/gstglmixer.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstglmixer.c
b/ext/gl/gstglmixer.c
index
af9de45
..
a4742a6
100644
(file)
--- a/
ext/gl/gstglmixer.c
+++ b/
ext/gl/gstglmixer.c
@@
-616,8
+616,10
@@
gst_gl_mixer_process_textures (GstGLMixer * mix, GstBuffer * outbuf)
out_tex = (GstGLMemory *) out_frame.map[0].memory;
if (!gst_aggregator_iterate_sinkpads (GST_AGGREGATOR (mix),
- (GstAggregatorPadForeachFunc) _upload_frames, NULL))
- return FALSE;
+ (GstAggregatorPadForeachFunc) _upload_frames, NULL)) {
+ res = FALSE;
+ goto out;
+ }
g_mutex_lock (&priv->gl_resource_lock);
if (!priv->gl_resource_ready)