Add FFmpeg log

master
徐灿辉 5 years ago
parent ff4fac6bcd
commit 4cef8dd510
  1. 6
      library/src/main/cpp/ffmpeg/ffmpeg.c

@ -4879,6 +4879,12 @@ void ffmpeg_cancel()
int ffmpeg_exec(int argc, char **argv) int ffmpeg_exec(int argc, char **argv)
{ {
if (use_log_report) {
av_log_set_callback(ffp_log_callback_report);
} else {
av_log_set_callback(ffp_log_callback_brief);
}
int i, ret; int i, ret;
BenchmarkTimeStamps ti; BenchmarkTimeStamps ti;

Loading…
Cancel
Save