summaryrefslogtreecommitdiff
path: root/multimedia/openshot/files/patch-src_windows_preferences.py
diff options
context:
space:
mode:
authorNeel Chauhan <nc@FreeBSD.org>2021-02-25 18:54:50 +0000
committerNeel Chauhan <nc@FreeBSD.org>2021-02-25 18:54:50 +0000
commit5c7b2bd039602ac98e892b5e6409d6ed7293c1ee (patch)
tree7a0738c9e31ab291cf4dedf7f234f5a7df8ba7da /multimedia/openshot/files/patch-src_windows_preferences.py
parentnet-im/py-matrix-synapse: Update to 1.27.0 (diff)
Update a few openshot ports:
* audio/libopenshot-audio: Update to 0.2.0.29 * multimedia/libopenshot: Update to 0.2.5.517 * multimedia/openshot: update to 2.5.1.732 PR: 253643, 253645, 253646 Submitted by: Tatsuki Makino <tatsuki_makino AT hotmail DOT com> (maintainer)
Notes
Notes: svn path=/head/; revision=566553
Diffstat (limited to 'multimedia/openshot/files/patch-src_windows_preferences.py')
-rw-r--r--multimedia/openshot/files/patch-src_windows_preferences.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/multimedia/openshot/files/patch-src_windows_preferences.py b/multimedia/openshot/files/patch-src_windows_preferences.py
index 2342a7333107..c74a2b06696b 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 2020-09-11 19:59:04 UTC
+--- src/windows/preferences.py.orig 2021-01-30 23:50:27 UTC
+++ src/windows/preferences.py
-@@ -293,7 +293,7 @@ class Preferences(QDialog):
+@@ -313,7 +313,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)
@@ -9,11 +9,11 @@
value_list.remove(value_item)
# Remove hardware mode items which cannot decode the example video
-@@ -307,6 +307,7 @@ class Preferences(QDialog):
+@@ -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):
+ 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):