Browse Source

feat: 增加错误日志 & 默认fps参数修改

hexleo 4 years ago
parent
commit
dcbd3009f5

+ 2 - 2
Android/PlayerProj/animtool/src/main/java/com/tencent/qgame/playerproj/animtool/AnimTool.java

@@ -133,7 +133,7 @@ public class AnimTool {
                         try {
                             createFrame(commonArg, i);
                         } catch (Exception e) {
-                            e.printStackTrace();
+                            TLog.e(TAG, "createFrame error:" + e.getMessage());
                         }
                         synchronized (AnimTool.class) {
                             totalP++;
@@ -296,7 +296,7 @@ public class AnimTool {
             writer.flush();
             writer.close();
         } catch (IOException e) {
-            e.printStackTrace();
+            TLog.e(TAG, "createVapcJson error:" + e.getMessage());
             throw new RuntimeException();
         }
     }

+ 1 - 1
Android/PlayerProj/animtool/src/main/java/com/tencent/qgame/playerproj/animtool/CommonArg.java

@@ -27,7 +27,7 @@ public class CommonArg {
 
     public boolean enableH265 = false; // 是否开启h265
 
-    public int fps = 24;
+    public int fps = 25;
 
     public String inputPath; // 输入帧文件地址