assert_eq(startup_ret, STREAMRECORDER_ERROR_NONE);
pvFile = fopen(file_path, "rb");
- if (pvFile == NULL) {
- g_print("\ndata fle cant be loaded...\n");
+ if (pvFile == NULL)
assert_neq(0, 0);
- }
ret = streamrecorder_enable_source_buffer(recorder, STREAMRECORDER_SOURCE_VIDEO);
ret |= streamrecorder_set_video_source_format(recorder, STREAMRECORDER_VIDEO_SOURCE_FORMAT_I420);
assert_eq(startup_ret, STREAMRECORDER_ERROR_NONE);
pvFile = fopen(file_path, "rb");
- if (pvFile == NULL) {
- g_print("\ndata fle cant be loaded...\n");
+ if (pvFile == NULL)
assert_neq(0, 0);
- }
ret = streamrecorder_enable_source_buffer(recorder, STREAMRECORDER_SOURCE_VIDEO);
ret |= streamrecorder_set_video_source_format(recorder, STREAMRECORDER_VIDEO_SOURCE_FORMAT_I420);
assert_eq(startup_ret, STREAMRECORDER_ERROR_NONE);
pvFile = fopen(file_path, "rb");
- if (pvFile == NULL) {
- g_print("\ndata fle cant be loaded...\n");
+ if (pvFile == NULL)
assert_neq(0, 0);
- }
ret |= streamrecorder_enable_source_buffer(recorder, STREAMRECORDER_SOURCE_VIDEO);
ret |= streamrecorder_set_video_source_format(recorder, STREAMRECORDER_VIDEO_SOURCE_FORMAT_I420);