From 7563118143f8309313247f2c8b1807f78d1deafe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grisez?= Date: Fri, 21 Nov 2014 15:09:17 +0100 Subject: [PATCH] Fix Player/Playing test for Android --- tester/player_tester.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tester/player_tester.c b/tester/player_tester.c index be0b47284..457bd899c 100644 --- a/tester/player_tester.c +++ b/tester/player_tester.c @@ -84,7 +84,9 @@ static void play_file(const char *filename, bool_t unsupported_format) { } static void playing_test(void) { - play_file("/home/francois/Téléchargements/test_linphone.mkv", !linphone_local_player_matroska_supported()); + const char *filename = ms_strdup_printf("%s/sounds/hello_opus_h264.mkv", liblinphone_tester_file_prefix); + play_file(filename, !linphone_local_player_matroska_supported()); + ms_free(filename); } test_t player_tests[] = {