Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gstreamer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
404
Issues
404
List
Boards
Labels
Service Desk
Milestones
Merge Requests
79
Merge Requests
79
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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
Hide 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,
...
@@ -1499,8 +1499,10 @@ gst_aggregator_default_sink_event (GstAggregator * self,
GST_BUFFER_FLAG_SET
(
gapbuf
,
GST_BUFFER_FLAG_DROPPABLE
);
GST_BUFFER_FLAG_SET
(
gapbuf
,
GST_BUFFER_FLAG_DROPPABLE
);
/* Remove GAP event so we can replace it with the buffer */
/* Remove GAP event so we can replace it with the buffer */
PAD_LOCK
(
aggpad
);
if
(
g_queue_peek_tail
(
&
aggpad
->
priv
->
data
)
==
event
)
if
(
g_queue_peek_tail
(
&
aggpad
->
priv
->
data
)
==
event
)
gst_event_unref
(
g_queue_pop_tail
(
&
aggpad
->
priv
->
data
));
gst_event_unref
(
g_queue_pop_tail
(
&
aggpad
->
priv
->
data
));
PAD_UNLOCK
(
aggpad
);
if
(
gst_aggregator_pad_chain_internal
(
self
,
aggpad
,
gapbuf
,
FALSE
)
!=
if
(
gst_aggregator_pad_chain_internal
(
self
,
aggpad
,
gapbuf
,
FALSE
)
!=
GST_FLOW_OK
)
{
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