Skip to content

Commit

Permalink
add --fullscreen parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed Oct 28, 2024
1 parent ad356b8 commit 8329b6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 4 additions & 1 deletion REAL-Video-Enhancer.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,11 @@ def closeEvent(self, event):
app = QApplication(sys.argv)

# setting the pallette

app.setPalette(Palette())
window = MainWindow()
if len(sys.argv) > 1:
if sys.argv[1] == '--fullscreen':
window.showFullScreen()
window.show()
sys.exit(app.exec())
5 changes: 1 addition & 4 deletions backend/src/FFmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,15 @@
import sys
import time
import math
from tqdm import tqdm
from multiprocessing import shared_memory
from .Util import (
currentDirectory,
log,
printAndLog,
ffmpegPath,
ffmpegLogFile,
removeFolder,
)
import time
from time import sleep
from threading import Thread


Expand Down Expand Up @@ -256,7 +253,7 @@ def getFFmpegWriteCommand(self):
"-",
"-i",
f"{self.inputFile}",
f"-crf",
"-crf",
f"{self.crf}",
"-pix_fmt",
self.pixelFormat,
Expand Down

0 comments on commit 8329b6f

Please sign in to comment.