From 3bddace39850bd4d48befeddb6a4a995d7d79ba2 Mon Sep 17 00:00:00 2001 From: "nap.liu" Date: Mon, 15 May 2023 11:31:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=B0=E7=89=88CodecPack?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E6=92=AD=E6=94=BE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gst-inspect-1.0-wrapper.sh | 2 +- gst-launch-1.0-wrapper.sh | 2 +- patcher.sh | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gst-inspect-1.0-wrapper.sh b/gst-inspect-1.0-wrapper.sh index d178727..8d3dfc0 100644 --- a/gst-inspect-1.0-wrapper.sh +++ b/gst-inspect-1.0-wrapper.sh @@ -3,5 +3,5 @@ export LD_LIBRARY_PATH=/var/packages/VideoStation/target/lib/patch/lib/ export GST_PLUGIN_PATH=/var/packages/VideoStation/target/lib/patch/plugins/ -/var/packages/VideoStation/target/bin/gst-inspect-1.0.orig "$@" +/var/packages/CodecPack/target/pack/bin/gst-inspect-1.0.orig "$@" diff --git a/gst-launch-1.0-wrapper.sh b/gst-launch-1.0-wrapper.sh index c8be846..532b1e4 100644 --- a/gst-launch-1.0-wrapper.sh +++ b/gst-launch-1.0-wrapper.sh @@ -52,7 +52,7 @@ info "DEFAULT_ARGS: $*" export LD_LIBRARY_PATH=/var/packages/VideoStation/target/lib/patch/lib/ export GST_PLUGIN_PATH=/var/packages/VideoStation/target/lib/patch/plugins/ -/var/packages/VideoStation/target/bin/gst-launch-1.0.orig "$@" 2> $stderrfile & +/var/packages/CodecPack/target/pack/bin/gst-launch-1.0.orig "$@" 2> $stderrfile & child=$! info "gst-launch pid: $child" wait $child diff --git a/patcher.sh b/patcher.sh index c54f135..349ba98 100755 --- a/patcher.sh +++ b/patcher.sh @@ -133,12 +133,12 @@ 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/gstomx.conf.orig" ]]; then - info "Enabling gstreamer OpenMAX H.265 Video Decoder" - 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 [[ ! -f "$vs_path/etc/gstomx.conf.orig" ]]; then +# info "Enabling gstreamer OpenMAX H.265 Video Decoder" +# 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 info "Downloading gstreamer patch"