Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Seungha Yang
gst-plugins-base
Commits
3df7edaa
Commit
3df7edaa
authored
Mar 03, 2020
by
Matthew Waters
🐨
Committed by
GStreamer Merge Bot
Mar 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
glfilter: use gst_object_unref/ref functions
Allows better visibility into ref/unref points with the leaks tracer
parent
aa703285
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gst-libs/gst/gl/gstglfilter.c
gst-libs/gst/gl/gstglfilter.c
+2
-2
No files found.
gst-libs/gst/gl/gstglfilter.c
View file @
3df7edaa
...
...
@@ -831,14 +831,14 @@ gst_gl_filter_propose_allocation (GstBaseTransform * trans,
gst_buffer_pool_config_set_params
(
config
,
caps
,
size
,
0
,
0
);
if
(
!
gst_buffer_pool_set_config
(
pool
,
config
))
{
g_object_unref
(
pool
);
g
st
_object_unref
(
pool
);
goto
config_failed
;
}
}
gst_query_add_allocation_pool
(
query
,
pool
,
size
,
1
,
0
);
if
(
pool
)
g_object_unref
(
pool
);
g
st
_object_unref
(
pool
);
if
(
context
->
gl_vtable
->
FenceSync
)
gst_query_add_allocation_meta
(
query
,
GST_GL_SYNC_META_API_TYPE
,
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment