Attempting to force hw accel on kdenlive

This commit is contained in:
Emmet 2023-10-09 20:36:23 -05:00
parent c29cf237f7
commit 10a8cb21e5
4 changed files with 7 additions and 3 deletions

View file

@ -95,6 +95,10 @@
blockbench-electron blockbench-electron
obs-studio obs-studio
libsForQt5.kdenlive libsForQt5.kdenlive
(pkgs.writeScriptBin "kdenlive-accel" ''
#!/bin/sh
DRI_PRIME=1 kdenlive "$1"
'')
movit movit
mediainfo mediainfo
libmediainfo libmediainfo

View file

@ -388,7 +388,7 @@ same directory as the org-buffer and insert a link to this file."
'(file)) '(file))
(list (openwith-make-extension-regexp (list (openwith-make-extension-regexp
'("kdenlive")) '("kdenlive"))
"kdenlive" "kdenlive-accel"
'(file)) '(file))
(list (openwith-make-extension-regexp (list (openwith-make-extension-regexp
'("kra")) '("kra"))

View file

@ -464,7 +464,7 @@ same directory as the org-buffer and insert a link to this file."
'(file)) '(file))
(list (openwith-make-extension-regexp (list (openwith-make-extension-regexp
'("kdenlive")) '("kdenlive"))
"kdenlive" "kdenlive-accel"
'(file)) '(file))
(list (openwith-make-extension-regexp (list (openwith-make-extension-regexp
'("kra")) '("kra"))

View file

@ -216,7 +216,7 @@ label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER"
ext kra = krita "$@" ext kra = krita "$@"
ext blend* = blender "$@" ext blend* = blender "$@"
ext helio = helio "$@" ext helio = helio "$@"
ext kdenlive = kdenlive "$@" ext kdenlive = kdenlive-accel "$@"
# Execute a file as program/script. # Execute a file as program/script.
mime application/x-executable = "$1" mime application/x-executable = "$1"