diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2020-06-27 15:44:28 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2020-06-27 15:44:28 +0000 |
commit | 62e7942dd286cc865e6aed36db6e9b617e09271e (patch) | |
tree | ae616aeb77f52db4f9d5eced80f2486f6eb8617d /multimedia/openshot/files/patch-src_windows_preferences.py | |
parent | Update to 0.2.5.106 (diff) |
Update to 2.5.1.236
PR: 247533
Submitted by: Tatsuki Makino <tatsuki_makino@hotmail.com> (maintainer)
Diffstat (limited to 'multimedia/openshot/files/patch-src_windows_preferences.py')
-rw-r--r-- | multimedia/openshot/files/patch-src_windows_preferences.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/multimedia/openshot/files/patch-src_windows_preferences.py b/multimedia/openshot/files/patch-src_windows_preferences.py index b51aca218983..59bcef2877e1 100644 --- a/multimedia/openshot/files/patch-src_windows_preferences.py +++ b/multimedia/openshot/files/patch-src_windows_preferences.py @@ -1,4 +1,4 @@ ---- src/windows/preferences.py.orig 2019-11-11 07:57:57 UTC +--- src/windows/preferences.py.orig 2020-06-15 23:50:00 UTC +++ src/windows/preferences.py @@ -293,7 +293,7 @@ class Preferences(QDialog): value_list.remove(value_item) @@ -9,3 +9,11 @@ value_list.remove(value_item) # Remove hardware mode items which cannot decode the example video +@@ -305,6 +305,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): |