Skip to content

Commit

Permalink
refactor: 불필요한 출력 생략
Browse files Browse the repository at this point in the history
  • Loading branch information
SJ70 committed Oct 15, 2024
1 parent e213382 commit b19caa9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public enum ImageFileTypes {
private final String contentType;

public static boolean contains(String contentType) {
System.out.println(contentType);
if (contentType == null) {
return false;
}
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/j9/bestmoments/service/FfmpegService.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ public void encodeVideo(String inputFilePath, String outputFilePath, String reso

// 로그 스트림 처리
try (BufferedReader reader = new BufferedReader(new InputStreamReader(process.getErrorStream()))) {
String line;
while ((line = reader.readLine()) != null) {
System.out.println(line); // 로그를 출력하거나 저장할 수 있습니다.
}
// String line;
// while ((line = reader.readLine()) != null) {
// log.info(line);
// }
}

int exitCode = process.waitFor();
Expand Down

0 comments on commit b19caa9

Please sign in to comment.