Skip to content

Commit a67784c

Browse files
committed
* Fixing #611 Extension type not being selected properly from profiles if encoders isn't switched (thanks to Hankuu)
1 parent 2900c72 commit a67784c

File tree

5 files changed

+8
-12
lines changed

5 files changed

+8
-12
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Adding QP mode for FFmpeg Nvenc encoding
66
* Adding more preview positions
77
* Adding ultra high quality mode for ffmpeg nvenc encoder
8+
* Fixing #611 Extension type not being selected properly from profiles if encoders isn't switched (thanks to Hankuu)
89
* Fixing #628 Custom QP/CRF saved in profile may not be restored correctly (thanks to Gregorio O. DeMojeca)
910
* Fixing #631 VVC Level can't be set to 0 anymore (thanks to GT500org)
1011

FastFlix.nsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
!define PRODUCT_NAME "FastFlix"
1212
!define PRODUCT_AUTHOR "Chris Griffith"
13-
!define PRODUCT_COPYRIGHT "(c) Chris Griffith 2021-2024"
13+
!define PRODUCT_COPYRIGHT "(c) Chris Griffith 2019-2025"
1414

1515
VIProductVersion "${PRODUCT_VERSION}"
1616
VIFileVersion "${PRODUCT_VERSION}"

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License
22

3-
Copyright (c) 2019-2024 Chris Griffith
3+
Copyright (c) 2019-2025 Chris Griffith
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Special thanks to [leonardyan](https://github.com/leonardyan) for numerous Chine
139139

140140
# License
141141

142-
Copyright (C) 2019-2024 Chris Griffith
142+
Copyright (C) 2019-2025 Chris Griffith
143143

144144
The code itself is licensed under the MIT which you can read in the `LICENSE` file. <br>
145145
Read more about the release licensing in the [docs](docs/README.md) folder. <br>

fastflix/widgets/main.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,7 @@ def set_profile(self):
664664

665665
if self.app.fastflix.current_video:
666666
self.video_options.new_source()
667+
self.update_output_type()
667668
finally:
668669
# Hack to prevent a lot of thumbnail generation
669670
self.loading_video = False
@@ -771,18 +772,12 @@ def change_encoder(self):
771772
if not self.initialized or not self.convert_to:
772773
return
773774
self.video_options.change_conversion(self.convert_to)
774-
self.widgets.output_type_combo.clear()
775-
self.widgets.output_type_combo.addItems(self.current_encoder.video_extensions)
776-
self.widgets.output_type_combo.setCurrentText(self.app.fastflix.config.opt("output_type"))
777-
if not self.app.fastflix.current_video:
778-
return
779-
780-
last = self.widgets.output_type_combo.currentText()
775+
self.update_output_type()
781776

777+
def update_output_type(self):
782778
self.widgets.output_type_combo.clear()
783779
self.widgets.output_type_combo.addItems(self.current_encoder.video_extensions)
784-
if last in {self.widgets.output_type_combo.itemText(i) for i in range(self.widgets.output_type_combo.count())}:
785-
self.widgets.output_type_combo.setCurrentText(last)
780+
self.widgets.output_type_combo.setCurrentText(self.app.fastflix.config.opt("output_type"))
786781

787782
@property
788783
def current_encoder(self):

0 commit comments

Comments
 (0)