mpv: Update from 0.29.0 to 0.29.1
This commit is contained in:
parent
4d25ac40ec
commit
22138afba5
@ -1,8 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://mpv.io/
|
||||
TERMUX_PKG_DESCRIPTION="Command-line media player"
|
||||
TERMUX_PKG_VERSION=0.29.0
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SHA256=772af878cee5495dcd342788a6d120b90c5b1e677e225c7198f1e76506427319
|
||||
TERMUX_PKG_VERSION=0.29.1
|
||||
TERMUX_PKG_SHA256=f9f9d461d1990f9728660b4ccb0e8cb5dce29ccaa6af567bec481b79291ca623
|
||||
TERMUX_PKG_SRCURL=https://github.com/mpv-player/mpv/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_DEPENDS="ffmpeg, openal-soft, libandroid-glob, libpulseaudio"
|
||||
TERMUX_PKG_RM_AFTER_INSTALL="share/icons share/applications"
|
||||
|
@ -1,19 +0,0 @@
|
||||
diff --git a/audio/out/ao_pulse.c b/audio/out/ao_pulse.c
|
||||
index ed45ba6549..e288841788 100644
|
||||
--- a/audio/out/ao_pulse.c
|
||||
+++ b/audio/out/ao_pulse.c
|
||||
@@ -454,11 +454,11 @@ static int init(struct ao *ao)
|
||||
pa_stream_set_write_callback(priv->stream, stream_request_cb, ao);
|
||||
pa_stream_set_latency_update_callback(priv->stream,
|
||||
stream_latency_update_cb, ao);
|
||||
- int buf_size = af_fmt_seconds_to_bytes(ao->format, priv->cfg_buffer / 1000.0,
|
||||
- ao->channels.num, ao->samplerate);
|
||||
+ uint32_t buf_size = ao->samplerate * (priv->cfg_buffer / 1000.0) *
|
||||
+ af_fmt_to_bytes(ao->format) * ao->channels.num;
|
||||
pa_buffer_attr bufattr = {
|
||||
.maxlength = -1,
|
||||
- .tlength = buf_size > 0 ? buf_size : (uint32_t)-1,
|
||||
+ .tlength = buf_size > 0 ? buf_size : -1,
|
||||
.prebuf = -1,
|
||||
.minreq = -1,
|
||||
.fragsize = -1,
|
Loading…
Reference in New Issue
Block a user