mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 11:38:08 +00:00
Fix testers of the "Player" suite
The ms2 funcion used to detect which codec was supported for decoding was unsuitable.
This commit is contained in:
parent
04336fed5c
commit
11497e7066
1 changed files with 2 additions and 2 deletions
|
|
@ -44,8 +44,8 @@ static void play_file(const char *filename, bool_t supported_format, const char
|
|||
BC_ASSERT_PTR_NOT_NULL(lc_manager);
|
||||
if(lc_manager == NULL) return;
|
||||
|
||||
audio_codec_supported = (audio_mime && ms_filter_codec_supported(audio_mime));
|
||||
video_codec_supported = (video_mime && ms_filter_codec_supported(video_mime));
|
||||
audio_codec_supported = (audio_mime && ms_factory_get_decoder(ms_factory_get_fallback(), audio_mime));
|
||||
video_codec_supported = (video_mime && ms_factory_get_decoder(ms_factory_get_fallback(), video_mime));
|
||||
|
||||
player = linphone_core_create_local_player(lc_manager->lc, ms_snd_card_manager_get_default_card(ms_snd_card_manager_get()), video_stream_get_default_video_renderer(), 0);
|
||||
BC_ASSERT_PTR_NOT_NULL(player);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue