Change configuration file Format of mpv so we can more easily add settings and comments

This commit is contained in:
Oliver Schmidhauser 2017-07-27 09:06:51 +02:00 committed by Fredrik Fornwall
parent 6cc8c08e74
commit 9346d0e1b4
2 changed files with 6 additions and 1 deletions

View File

@ -33,7 +33,7 @@ termux_step_make_install () {
# Use opensles audio out be default:
mkdir -p $TERMUX_PREFIX/etc/mpv
echo "ao=opensles" > $TERMUX_PREFIX/etc/mpv/mpv.conf
cp $TERMUX_PKG_BUILDER_DIR/mpv.conf $TERMUX_PREFIX/etc/mpv/mpv.conf
# Try to work around OpenSL ES library clashes:
# Linking against libOpenSLES causes indirect linkage against

5
packages/mpv/mpv.conf Normal file
View File

@ -0,0 +1,5 @@
# Default configuration for mpv
# Enable OpenSL ES output, since this should work on all Android devices
ao=opensles