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
619dfc91
Commit
619dfc91
authored
Mar 21, 2019
by
Matthew Waters
🐨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aggregator: take the pad lock around queue gap event removal
As is done for every other queue interaction
parent
b8d00b9e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
libs/gst/base/gstaggregator.c
libs/gst/base/gstaggregator.c
+2
-0
No files found.
libs/gst/base/gstaggregator.c
View file @
619dfc91
...
...
@@ -1499,8 +1499,10 @@ gst_aggregator_default_sink_event (GstAggregator * self,
GST_BUFFER_FLAG_SET
(
gapbuf
,
GST_BUFFER_FLAG_DROPPABLE
);
/* Remove GAP event so we can replace it with the buffer */
PAD_LOCK
(
aggpad
);
if
(
g_queue_peek_tail
(
&
aggpad
->
priv
->
data
)
==
event
)
gst_event_unref
(
g_queue_pop_tail
(
&
aggpad
->
priv
->
data
));
PAD_UNLOCK
(
aggpad
);
if
(
gst_aggregator_pad_chain_internal
(
self
,
aggpad
,
gapbuf
,
FALSE
)
!=
GST_FLOW_OK
)
{
...
...
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