diff options
Diffstat (limited to 'multimedia/openshot/files/patch-src_windows_preferences.py')
-rw-r--r-- | multimedia/openshot/files/patch-src_windows_preferences.py | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/multimedia/openshot/files/patch-src_windows_preferences.py b/multimedia/openshot/files/patch-src_windows_preferences.py index c74a2b06696b..9977ccf14dc7 100644 --- a/multimedia/openshot/files/patch-src_windows_preferences.py +++ b/multimedia/openshot/files/patch-src_windows_preferences.py @@ -1,6 +1,6 @@ ---- src/windows/preferences.py.orig 2021-01-30 23:50:27 UTC +--- src/windows/preferences.py.orig 2022-12-08 21:31:12 UTC +++ src/windows/preferences.py -@@ -313,7 +313,7 @@ class Preferences(QDialog): +@@ -315,7 +315,7 @@ class Preferences(QDialog): value_list.remove(value_item) elif os_platform == "Windows" and v not in ("0", "3", "4"): value_list.remove(value_item) @@ -8,12 +8,4 @@ + elif (os_platform == "FreeBSD" or os_platform == "Linux") and v not in ("0", "1", "2", "6"): value_list.remove(value_item) - # Remove hardware mode items which cannot decode the example video -@@ -327,6 +327,7 @@ class Preferences(QDialog): - - # Replace %s dropdown values for hardware acceleration - if param["setting"] in ("graca_number_en", "graca_number_de"): -+ value_list = [] - for card_index in range(0, 3): - # Test each graphics card, and only include valid ones - if card_index in self.hardware_tests_cards and self.hardware_tests_cards.get(card_index): + # Add test button |