Commit Graph

6 Commits

Author SHA1 Message Date
Tom Yan
7c3577e5b0 mpv: allow s32 and float output
As they are supported since API 21. If they don't work in certain
devices, mpv can still be forced to output in s16 only with an
option.
2018-07-25 10:29:06 +02:00
Tom Yan
5f34372f2e mpv: remove audio-buffer=0.5 hack from mpv.conf
The hack should no longer be necessary, as 0.29.0 includes a few
commits from me that makes the opensles output driver work more
properly.

Also include an extra patch that allows the buffer size to either
be increased and decreased (and done more properly).
2018-07-25 10:29:06 +02:00
Tom Yan
d91df72f7f mpv: build with --disable-android
Since 0.28 the android build option is used for a few features that
are not useful in Termux (as we don't do video output and JNI isn't
available)

In 0.27 the option is only used to enable some wrapping of strnlen,
as it was broken (but also fixed) long time ago in Android.

Therefore instead of the extra patching that do us no good, let us
simply build with --disable-android and disable the wrapping.

Also use vid=no instead of vo=null in mpv.conf, as the latter does
not prevent video decoding.
2018-06-26 13:08:54 +02:00
Oliver Schmidhauser
7ba83dfe51 By default, disable all Video output of mpv. Since the default video output is not available on Termux, it would otherwise throw an error. Even with Audio only files if they contain any album-art. 2017-07-28 14:00:03 +02:00
Oliver Schmidhauser
82f9ba0ff9 Increase audio-buffer in mpv to help prevent stuttering with bluetooth devices 2017-07-28 14:00:03 +02:00
Oliver Schmidhauser
9346d0e1b4 Change configuration file Format of mpv so we can more easily add settings and comments 2017-07-28 14:00:03 +02:00