Commit 897781c3 authored by François Grisez's avatar François Grisez

Copy Sintel trailer testing videos from mediastreamer to linphone

parent b9839d4c
...@@ -61,7 +61,7 @@ static void play_file(const char *filename, bool_t unsupported_format, const cha ...@@ -61,7 +61,7 @@ static void play_file(const char *filename, bool_t unsupported_format, const cha
BC_ASSERT_EQUAL(res, 0, int, "%d"); BC_ASSERT_EQUAL(res, 0, int, "%d");
if(res == -1) goto fail; if(res == -1) goto fail;
BC_ASSERT_TRUE(wait_for_eof(&eof, &time, 100, 13000)); BC_ASSERT_TRUE(wait_for_eof(&eof, &time, 100, linphone_player_get_duration(player) * 1.05));
linphone_player_close(player); linphone_player_close(player);
...@@ -71,7 +71,7 @@ static void play_file(const char *filename, bool_t unsupported_format, const cha ...@@ -71,7 +71,7 @@ static void play_file(const char *filename, bool_t unsupported_format, const cha
} }
static void playing_test(void) { static void playing_test(void) {
char *filename = bc_tester_res("sounds/hello_opus_h264.mkv"); char *filename = bc_tester_res("sounds/sintel_trailer_opus_h264.mkv");
const char *audio_mime = "opus"; const char *audio_mime = "opus";
const char *video_mime = "h264"; const char *video_mime = "h264";
play_file(filename, !linphone_local_player_matroska_supported(), audio_mime, video_mime); play_file(filename, !linphone_local_player_matroska_supported(), audio_mime, video_mime);
......
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