Browse Source

disable debug log

ehlxr 3 năm trước cách đây
mục cha
commit
cbe9cb2d68
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/ffmpeg/av_decode.cpp

+ 1 - 1
src/ffmpeg/av_decode.cpp

@@ -168,7 +168,7 @@ long initDecoder(const char *url, int force_Iframe, DisableMediaType disableMedi
     char err_info[512] = {0};
     avformat_network_init();
 
-    av_log_set_level(AV_LOG_PANIC);
+    av_log_set_level(AV_LOG_ERROR);
 
     int ret = avformat_open_input(&(dctx->avformatContext), dctx->url, NULL, NULL);