Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion buildscripts/include/download-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ if [ ! -d curl ]; then
fi

# mpv
[ ! -d mpv ] && git clone --depth 1 https://github.com/mpv-player/mpv
if [ ! -d mpv ]; then
git clone --depth 1 https://github.com/mpv-player/mpv

cd mpv
git apply ../../patches/0001-command-add-estimated-frame-number-to-MPV_EVENT_TICK.patch
cd ..
fi

cd ..
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From 3de0b1b50ecd6cf3646bf80cc3e239fe3c7f8e89 Mon Sep 17 00:00:00 2001
From: Abdallah Mehiz <abdallahmehiz0@gmail.com>
Date: Sat, 14 Nov 2026 17:28:27 +0100
Subject: [PATCH] command: add `estimated-frame-number` to `MPV_EVENT_TICK`'s
observed properties

---
player/command.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/player/command.c b/player/command.c
index 516e648142..d97d083a8d 100644
--- a/player/command.c
+++ b/player/command.c
@@ -4933,7 +4933,7 @@ static const char *const *const mp_event_property_change[] = {
E(MP_EVENT_TRACKS_CHANGED, "track-list", "current-tracks"),
E(MP_EVENT_TRACK_SWITCHED, "track-list", "current-tracks"),
E(MPV_EVENT_IDLE, "*"),
- E(MPV_EVENT_TICK, "time-pos", "audio-pts", "stream-pos", "avsync",
+ E(MPV_EVENT_TICK, "time-pos", "estimated-frame-number", "audio-pts", "stream-pos", "avsync",
"percent-pos", "time-remaining", "playtime-remaining", "playback-time",
"estimated-vf-fps", "total-avsync-change", "audio-speed-correction",
"video-speed-correction", "vo-delayed-frame-count", "mistimed-frame-count",
--
2.56.0

2 changes: 1 addition & 1 deletion lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
val abiCodes = mapOf("armeabi-v7a" to 1, "arm64-v8a" to 2, "x86" to 3, "x86_64" to 4)
val universalBase = 8000

version = "0.1.15"
version = "0.1.16"
group = "io.github.animiruorg"

android {
Expand Down
Loading