Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
fcf9d0dd
Commit
fcf9d0dd
authored
Mar 31, 2020
by
Andrew Voznytsa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
emit signals from slot handler worker
parent
bc18446e
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
56 deletions
+64
-56
GstVideoReceiver.cc
src/VideoReceiver/GstVideoReceiver.cc
+60
-53
GstVideoReceiver.h
src/VideoReceiver/GstVideoReceiver.h
+4
-3
No files found.
src/VideoReceiver/GstVideoReceiver.cc
View file @
fcf9d0dd
This diff is collapsed.
Click to expand it.
src/VideoReceiver/GstVideoReceiver.h
View file @
fcf9d0dd
...
...
@@ -122,7 +122,8 @@ protected:
virtual
void
_shutdownDecodingBranch
(
void
);
virtual
void
_shutdownRecordingBranch
(
void
);
void
_dispatchNotification
(
std
::
function
<
void
()
>
notification
);
bool
_needDispatch
(
void
);
void
_dispatchSignal
(
std
::
function
<
void
()
>
emitter
);
private:
static
gboolean
_onBusMessage
(
GstBus
*
bus
,
GstMessage
*
message
,
gpointer
user_data
);
...
...
@@ -161,8 +162,8 @@ private:
unsigned
_timeout
;
Worker
_
api
Handler
;
Worker
_notificationHandler
;
Worker
_
slot
Handler
;
uint32_t
_signalDepth
;
bool
_endOfStream
;
...
...
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