Commit 11497e70 authored by François Grisez's avatar François Grisez

Fix testers of the "Player" suite

The ms2 funcion used to detect which codec was supported for decoding
was unsuitable.
parent 04336fed
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment