修复新版CodecPack不能播放问题
This commit is contained in:
parent
244e8dfc49
commit
3bddace398
@ -3,5 +3,5 @@
|
|||||||
export LD_LIBRARY_PATH=/var/packages/VideoStation/target/lib/patch/lib/
|
export LD_LIBRARY_PATH=/var/packages/VideoStation/target/lib/patch/lib/
|
||||||
export GST_PLUGIN_PATH=/var/packages/VideoStation/target/lib/patch/plugins/
|
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 "$@"
|
||||||
|
|
||||||
|
|||||||
@ -52,7 +52,7 @@ info "DEFAULT_ARGS: $*"
|
|||||||
export LD_LIBRARY_PATH=/var/packages/VideoStation/target/lib/patch/lib/
|
export LD_LIBRARY_PATH=/var/packages/VideoStation/target/lib/patch/lib/
|
||||||
export GST_PLUGIN_PATH=/var/packages/VideoStation/target/lib/patch/plugins/
|
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=$!
|
child=$!
|
||||||
info "gst-launch pid: $child"
|
info "gst-launch pid: $child"
|
||||||
wait $child
|
wait $child
|
||||||
|
|||||||
12
patcher.sh
12
patcher.sh
@ -133,12 +133,12 @@ function patch() {
|
|||||||
info "Enabling eac3, dts and truehd"
|
info "Enabling eac3, dts and truehd"
|
||||||
sed -i -e 's/eac3/3cae/' -e 's/dts/std/' -e 's/truehd/dheurt/' "$libsynovte_path"
|
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
|
# if [[ ! -f "$vs_path/etc/gstomx.conf.orig" ]]; then
|
||||||
info "Enabling gstreamer OpenMAX H.265 Video Decoder"
|
# info "Enabling gstreamer OpenMAX H.265 Video Decoder"
|
||||||
mv -n "$vs_path/etc/gstomx.conf" "$vs_path/etc/gstomx.conf.orig"
|
# mv -n "$vs_path/etc/gstomx.conf" "$vs_path/etc/gstomx.conf.orig"
|
||||||
cp "$cp_path/etc/gstomx.conf" "$vs_path/etc/gstomx.conf"
|
# cp "$cp_path/etc/gstomx.conf" "$vs_path/etc/gstomx.conf"
|
||||||
chown VideoStation:VideoStation "$cp_path/etc/gstomx.conf"
|
# chown VideoStation:VideoStation "$cp_path/etc/gstomx.conf"
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
if [[ ! -d "$vs_lib_path/patch" ]]; then
|
if [[ ! -d "$vs_lib_path/patch" ]]; then
|
||||||
info "Downloading gstreamer patch"
|
info "Downloading gstreamer patch"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user