Commit d4397125 authored by Ghislain MARY's avatar Ghislain MARY

Fix build without video.

parent 5de9bb40
......@@ -108,7 +108,7 @@ set(SOURCE_FILES_C
mediastreamer2_text_stream_tester.c
mediastreamer2_jitterbuffer_tester.c
)
set(SOURCE_FILES_CXX mediastreamer2_h26x_tools_tester.cpp)
set(SOURCE_FILES_CXX )
set(SOURCE_FILES_OBJC )
add_definitions(
......@@ -117,6 +117,7 @@ add_definitions(
if(ENABLE_VIDEO)
list(APPEND SOURCE_FILES_C mediastreamer2_video_stream_tester.c)
list(APPEND SOURCE_FILES_CXX mediastreamer2_h26x_tools_tester.cpp)
if(ENABLE_QRCODE)
list(APPEND SOURCE_FILES_C mediastreamer2_qrcode_tester.c)
endif()
......
......@@ -54,6 +54,7 @@ void mediastreamer2_tester_init(void(*ftester_printf)(int level, const char *fmt
bc_tester_add_suite(&audio_stream_test_suite);
#ifdef VIDEO_ENABLED
bc_tester_add_suite(&video_stream_test_suite);
bc_tester_add_suite(&h26x_tools_test_suite);
#endif
#ifdef QRCODE_ENABLED
bc_tester_add_suite(&qrcode_test_suite);
......@@ -68,7 +69,6 @@ void mediastreamer2_tester_init(void(*ftester_printf)(int level, const char *fmt
bc_tester_add_suite(&codec_impl_test_suite);
bc_tester_add_suite(&jitterbuffer_test_suite);
#endif
bc_tester_add_suite(&h26x_tools_test_suite);
}
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