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
GStreamer
gstreamer
Commits
a2145fd6
Commit
a2145fd6
authored
Jul 26, 2018
by
Sebastian Dröge
🍵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aggregator: Don't leak peer pad of inactive pads when (not) forwarding QoS events to them
parent
afb3d1b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
libs/gst/base/gstaggregator.c
libs/gst/base/gstaggregator.c
+3
-1
No files found.
libs/gst/base/gstaggregator.c
View file @
a2145fd6
...
...
@@ -1895,7 +1895,6 @@ gst_aggregator_event_forward_func (GstPad * pad, gpointer user_data)
}
else
{
ret
=
gst_pad_send_event
(
peer
,
gst_event_ref
(
evdata
->
event
));
GST_DEBUG_OBJECT
(
pad
,
"return of event push is %d"
,
ret
);
gst_object_unref
(
peer
);
}
}
...
...
@@ -1935,6 +1934,9 @@ gst_aggregator_event_forward_func (GstPad * pad, gpointer user_data)
evdata
->
result
&=
ret
;
if
(
peer
)
gst_object_unref
(
peer
);
/* Always send to all pads */
return
FALSE
;
}
...
...
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