projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6350c35
)
glfilter: Remove redundant check for clearing context on reset.
author
Jan Schmidt
<jan@centricular.com>
Wed, 11 Mar 2015 06:19:17 +0000
(17:19 +1100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:56 +0000
(19:31 +0000)
The context is already cleared a few lines above.
gst-libs/gst/gl/gstglfilter.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglfilter.c
b/gst-libs/gst/gl/gstglfilter.c
index
0c3abde
..
8a0a498
100644
(file)
--- a/
gst-libs/gst/gl/gstglfilter.c
+++ b/
gst-libs/gst/gl/gstglfilter.c
@@
-315,10
+315,6
@@
gst_gl_filter_reset (GstGLFilter * filter)
gst_object_unref (filter->other_context);
filter->other_context = NULL;
- if (filter->context)
- gst_object_unref (filter->context);
- filter->context = NULL;
-
if (filter->in_converted_caps) {
gst_caps_unref (filter->in_converted_caps);
filter->in_converted_caps = NULL;