소스 검색

removing commented out code

logicp 5 년 전
부모
커밋
2e18db5968
1개의 변경된 파일0개의 추가작업 그리고 12개의 파일을 삭제
  1. 0 12
      headers/util.hpp

+ 0 - 12
headers/util.hpp

@@ -398,18 +398,6 @@ namespace FileUtils {
 QString generatePreview(QString video_path, QString video_name) {
 QString generatePreview(QString video_path, QString video_name) {
   QString preview_name =
   QString preview_name =
       video_name.left(video_name.size() - 4) + "-preview.jpg";
       video_name.left(video_name.size() - 4) + "-preview.jpg";
-  //    QString command{"ffmpeg -y -ss 0 -i '" + video_path +
-  //                    "' -vf "
-  //                    "\"scale=w=1080:h=1080:force_original_aspect_ratio="
-  //                    "decrease,pad=w=1080:h=1080:x=(iw-ow)/2:y=(ih-oh/"
-  //                    "2):color=white\" -vframes 1 './assets/previews/" +
-  //                    preview_name + "'"};
-
-  //    QString command{"ffmpeg -y -ss 0 -i '" + video_path +
-  //                    "' -vf "
-  //                    "\"scale=w=1080:h=1080:force_original_aspect_ratio="
-  //                    "decrease\" -vframes 1 './assets/previews/" +
-  //                    preview_name + "'"};
   QString command{
   QString command{
       "ffmpeg -y -ss 0 -i '" + video_path +
       "ffmpeg -y -ss 0 -i '" + video_path +
       "' -vf \"scale=w=640:h=640:force_original_aspect_ratio=decrease\" "
       "' -vf \"scale=w=640:h=640:force_original_aspect_ratio=decrease\" "