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
d551c128
Commit
d551c128
authored
Nov 07, 2014
by
Gautier Pelloux-Prayer
Browse files
Fix segfault in call suite: initialize correctly test params
parent
f139119e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tester/call_tester.c
tester/call_tester.c
+3
-3
No files found.
tester/call_tester.c
View file @
d551c128
...
...
@@ -1354,7 +1354,7 @@ static void call_with_declined_video_base(bool_t using_policy) {
LinphoneCall
*
marie_call
;
LinphoneCall
*
pauline_call
;
LinphoneVideoPolicy
marie_policy
,
pauline_policy
;
LinphoneCallTestParams
caller_test_params
,
callee_test_params
;
LinphoneCallTestParams
caller_test_params
=
{
0
}
,
callee_test_params
=
{
0
}
;
linphone_core_enable_video_capture
(
marie
->
lc
,
TRUE
);
linphone_core_enable_video_display
(
marie
->
lc
,
TRUE
);
linphone_core_enable_video_capture
(
pauline
->
lc
,
TRUE
);
...
...
@@ -1405,7 +1405,7 @@ static void call_with_declined_video_using_policy(void) {
}
static
void
video_call_base
(
LinphoneCoreManager
*
pauline
,
LinphoneCoreManager
*
marie
,
bool_t
using_policy
)
{
LinphoneCallTestParams
caller_test_params
,
callee_test_params
;
LinphoneCallTestParams
caller_test_params
=
{
0
}
,
callee_test_params
=
{
0
}
;
LinphoneCall
*
marie_call
;
LinphoneCall
*
pauline_call
;
LinphoneVideoPolicy
marie_policy
,
pauline_policy
;
...
...
@@ -1837,7 +1837,7 @@ static void simple_conference_base(LinphoneCoreManager* marie, LinphoneCoreManag
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
marie
->
stat
.
number_of_LinphoneCallStreamsRunning
,
initial_marie_stat
.
number_of_LinphoneCallStreamsRunning
+
2
,
3000
));
CU_ASSERT_TRUE
(
linphone_core_is_in_conference
(
marie
->
lc
));
CU_ASSERT_EQUAL
(
linphone_core_get_conference_size
(
marie
->
lc
),
3
)
CU_ASSERT_EQUAL
(
linphone_core_get_conference_size
(
marie
->
lc
),
3
)
;
/*
* FIXME: check_ice cannot work as it is today because there is no current call for the party that hosts the conference
...
...
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