From add8f4668a26e63aaa726f26c6bbcfea7c1bbc61 Mon Sep 17 00:00:00 2001 From: "nap.liu" Date: Tue, 20 Dec 2022 12:52:39 +0800 Subject: [PATCH] fix gstomx.conf --- patcher.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/patcher.sh b/patcher.sh index 01b22ea..c54f135 100755 --- a/patcher.sh +++ b/patcher.sh @@ -133,10 +133,11 @@ function patch() { info "Enabling eac3, dts and truehd" sed -i -e 's/eac3/3cae/' -e 's/dts/std/' -e 's/truehd/dheurt/' "$libsynovte_path" - if [[ ! -f "$vs_path/etc/gst-omx.conf.orig" ]]; then + if [[ ! -f "$vs_path/etc/gstomx.conf.orig" ]]; then info "Enabling gstreamer OpenMAX H.265 Video Decoder" - mv -n "$vs_path/etc/gst-omx.conf" "$vs_path/etc/gst-omx.conf.orig" - cp "$cp_path/etc/gst-omx.conf" "$vs_path/etc/gst-omx.conf" + mv -n "$vs_path/etc/gstomx.conf" "$vs_path/etc/gstomx.conf.orig" + cp "$cp_path/etc/gstomx.conf" "$vs_path/etc/gstomx.conf" + chown VideoStation:VideoStation "$cp_path/etc/gstomx.conf" fi if [[ ! -d "$vs_lib_path/patch" ]]; then