Commit 54ab5ebd authored by François Grisez's avatar François Grisez

Fix compilation error when libmatroska is not installed

parent 7d869a94
......@@ -17,8 +17,10 @@ mediastreamer2_tester_SOURCES= \
mediastreamer2_audio_stream_tester.c \
mediastreamer2_framework_tester.c
if BUILD_VIDEO
mediastreamer2_tester_SOURCES+= mediastreamer2_video_stream_tester.c \
mediastreamer2_player_recorder_tester.c
mediastreamer2_tester_SOURCES+= mediastreamer2_video_stream_tester.c
if BUILD_MATROSKA
mediastreamer2_tester_SOURCES+= mediastreamer2_player_recorder_tester.c
endif
endif
......
......@@ -123,7 +123,9 @@ void mediastreamer2_tester_init(void) {
add_test_suite(&video_stream_test_suite);
#endif
add_test_suite(&framework_test_suite);
#ifdef HAVE_MATROSKA
add_test_suite(&player_recorder_test_suite);
#endif
}
void mediastreamer2_tester_uninit(void) {
......
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