Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
e2e58668
Commit
e2e58668
authored
Sep 17, 2013
by
Guillaume Roguez
Browse files
#29579: video: fix dual sink start
parent
1c21b1cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemon/src/video/video_receive_thread.cpp
View file @
e2e58668
...
...
@@ -235,11 +235,13 @@ void VideoReceiveThread::exitConference()
if
(
!
isRunning
())
return
;
EXIT_IF_FAIL
(
sink_
.
start
(),
"RX: sink startup failed"
);
if
(
attach
(
&
sink_
))
{
Manager
::
instance
().
getVideoControls
()
->
startedDecoding
(
id_
+
"RX"
,
sink_
.
openedName
(),
dstWidth_
,
dstHeight_
);
DEBUG
(
"RX: shm sink <%s> started: size = %dx%d"
,
sink_
.
openedName
().
c_str
(),
dstWidth_
,
dstHeight_
);
if
(
sink_
.
openedName
().
empty
())
{
EXIT_IF_FAIL
(
sink_
.
start
(),
"RX: sink startup failed"
);
if
(
attach
(
&
sink_
))
{
Manager
::
instance
().
getVideoControls
()
->
startedDecoding
(
id_
+
"RX"
,
sink_
.
openedName
(),
dstWidth_
,
dstHeight_
);
DEBUG
(
"RX: shm sink <%s> started: size = %dx%d"
,
sink_
.
openedName
().
c_str
(),
dstWidth_
,
dstHeight_
);
}
}
}
...
...
Write
Preview
Supports
Markdown
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