Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
6df91052
Commit
6df91052
authored
Feb 28, 2015
by
Ghislain MARY
Browse files
Fix build with Visual Studio when video is enabled.
parent
cd48f0da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
tester/call_tester.c
tester/call_tester.c
+4
-2
No files found.
tester/call_tester.c
View file @
6df91052
...
...
@@ -3219,6 +3219,7 @@ static void video_call_snapshot(void) {
LinphoneCall
*
callInst
=
NULL
;
char
*
filename
=
create_filepath
(
liblinphone_tester_writable_dir_prefix
,
"snapshot"
,
"jpeg"
);
int
dummy
=
0
;
bool_t
call_succeeded
=
FALSE
;
linphone_core_enable_video_capture
(
marie
->
lc
,
TRUE
);
linphone_core_enable_video_display
(
marie
->
lc
,
TRUE
);
...
...
@@ -3227,8 +3228,9 @@ static void video_call_snapshot(void) {
linphone_call_params_enable_video
(
marieParams
,
TRUE
);
linphone_call_params_enable_video
(
paulineParams
,
TRUE
);
if
((
CU_ASSERT_TRUE
(
call_with_params
(
marie
,
pauline
,
marieParams
,
paulineParams
)))
&&
(
CU_ASSERT_PTR_NOT_NULL
(
callInst
=
linphone_core_get_current_call
(
marie
->
lc
))))
{
CU_ASSERT_TRUE
(
call_succeeded
=
call_with_params
(
marie
,
pauline
,
marieParams
,
paulineParams
));
CU_ASSERT_PTR_NOT_NULL
(
callInst
=
linphone_core_get_current_call
(
marie
->
lc
));
if
((
call_succeeded
==
TRUE
)
&&
(
callInst
!=
NULL
))
{
linphone_call_take_video_snapshot
(
callInst
,
filename
);
wait_for_until
(
marie
->
lc
,
pauline
->
lc
,
&
dummy
,
1
,
5000
);
CU_ASSERT_EQUAL
(
access
(
filename
,
F_OK
),
0
);
...
...
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