mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
glfilter: Remove redundant check for clearing context on reset.
The context is already cleared a few lines above.
This commit is contained in:
parent
f150cf2d2e
commit
13ed5ab3c8
1 changed files with 0 additions and 4 deletions
|
@ -315,10 +315,6 @@ gst_gl_filter_reset (GstGLFilter * filter)
|
||||||
gst_object_unref (filter->other_context);
|
gst_object_unref (filter->other_context);
|
||||||
filter->other_context = NULL;
|
filter->other_context = NULL;
|
||||||
|
|
||||||
if (filter->context)
|
|
||||||
gst_object_unref (filter->context);
|
|
||||||
filter->context = NULL;
|
|
||||||
|
|
||||||
if (filter->in_converted_caps) {
|
if (filter->in_converted_caps) {
|
||||||
gst_caps_unref (filter->in_converted_caps);
|
gst_caps_unref (filter->in_converted_caps);
|
||||||
filter->in_converted_caps = NULL;
|
filter->in_converted_caps = NULL;
|
||||||
|
|
Loading…
Reference in a new issue