Merge branch 'master' into rtd1296-ds6.2.4

This commit is contained in:
nap.liu
2022-12-20 13:24:19 +08:00

View File

@@ -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