mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-24 14:48:07 +00:00
call_tester.c: always compile disable_all_video_codecs_except_one to fix no video builds
This commit is contained in:
parent
e374b6505f
commit
7efea0504c
1 changed files with 2 additions and 2 deletions
|
|
@ -1028,8 +1028,8 @@ void disable_all_audio_codecs_except_one(LinphoneCore *lc, const char *mime, int
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef VIDEO_ENABLED
|
||||
void disable_all_video_codecs_except_one(LinphoneCore *lc, const char *mime) {
|
||||
#ifdef VIDEO_ENABLED
|
||||
const MSList *codecs = linphone_core_get_video_codecs(lc);
|
||||
const MSList *it = NULL;
|
||||
PayloadType *pt = NULL;
|
||||
|
|
@ -1041,8 +1041,8 @@ void disable_all_video_codecs_except_one(LinphoneCore *lc, const char *mime) {
|
|||
if (BC_ASSERT_PTR_NOT_NULL(pt)) {
|
||||
linphone_core_enable_payload_type(lc, pt, TRUE);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static void call_with_dns_time_out(void) {
|
||||
LinphoneCoreManager* marie = linphone_core_manager_new2( "empty_rc", FALSE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue