Skip to content

Commit c4b3203

Browse files
committed
feat: v1.20
fix: bug when attempting to open view command window when an input file lacks fps information
1 parent 234323a commit c4b3203

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Mp4-Mux-Tool.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def mp4_root_exit_function(): # Pop up window when you file + exit or press 'X'
6666

6767

6868
mp4_root = TkinterDnD.Tk() # Main loop with DnD.Tk() module (for drag and drop)
69-
mp4_root.title("MP4-Mux-Tool v1.19") # Sets the version of the program
69+
mp4_root.title("MP4-Mux-Tool v1.20") # Sets the version of the program
7070
mp4_root.iconphoto(True, PhotoImage(data=icon_image)) # Sets icon for all windows
7171
mp4_root.configure(background="#434547") # Sets gui background color
7272
window_height = 750 # Gui window height
@@ -2271,8 +2271,10 @@ def check_for_existing_output():
22712271
def view_command(): # This function is to show the full command line output into a window, the code is the same as
22722272
# the command code above with a few minor changes
22732273
global cmd_line_window, encode_window_progress, output, output_quoted
2274-
if detect_video_fps != "":
2274+
if detect_video_fps:
22752275
fps_input = ":fps=" + detect_video_fps
2276+
else:
2277+
fps_input = ""
22762278

22772279
video_options = (
22782280
' -add "'

0 commit comments

Comments
 (0)