OSDN Git Service

通常のメッセージではプログレスバー表示を行わない
[coroid/inqubus.git] / frontend / src / saccubus / worker / impl / convert / Convert.java
index e207f8c..bcc40f2 100644 (file)
@@ -86,12 +86,12 @@ public class Convert extends Worker<ConvertResult, ConvertProgress> {
             if (profile.isCommentOverlay()) {
                 transformedComment = File.createTempFile("vhk", ".tmp", profile.getTempDir());
                 final HideCondition hide = profile.getNgSetting();
-                publish(new ConvertProgress(PROCESS, 0.0, "コメントの中間ファイルへの変換中"));
+                publish(new ConvertProgress(PROCESS, -1.0, "コメントの中間ファイルへの変換中"));
                 ConvertToVideoHook.convert(commentFile, transformedComment, hide.getId(), hide.getWord());
             }
 
             checkStop();
-            publish(new ConvertProgress(PROCESS, 0.0, "動画の変換を開始"));
+            publish(new ConvertProgress(PROCESS, -1.0, "動画の変換を開始"));
 
             final int code = convert(transformedComment, outputFile);
             if (code != 0) {