wolfskin/app/src/main
Ray 8b40e89b8a
Update MPV playback threading model (#481)
There's no user facing changes in this PR

This PR updates `MpvPlayer` to use a threading model more similar to
[ExoPlayer's
model](https://developer.android.com/reference/androidx/media3/exoplayer/ExoPlayer#threading-model).

There's now a dedicated thread looper message queue between the UI
interactions on the main thread and calls to `libmpv`. This is necessary
because previously, the main thread would make the calls into `libmpv`.
`libmpv` uses internal mutex locking for some operations which meant
that the main thread would be blocked momentarily.

Now, the UI issues a command (eg seek to X position) and the command is
added to the thread looper queue and processed on that separate thread.
This uses the standard Android Handler/Looper mechanisms.

Related to #235
2025-12-17 18:24:25 -05:00
..
assets Add experimental MPV player backend (#161) 2025-11-16 18:46:25 -05:00
java/com/github/damontecres/wholphin Update MPV playback threading model (#481) 2025-12-17 18:24:25 -05:00
jni Update MPV playback threading model (#481) 2025-12-17 18:24:25 -05:00
proto Backdrop improvements (#476) 2025-12-17 11:18:57 -05:00
res Add translations as of 2025-12-17 (#495) 2025-12-17 17:01:08 -05:00
AndroidManifest.xml Handle more remote & controller buttons during playback (#269) 2025-11-20 12:29:17 -05:00
ic_launcher-playstore.png Add icons 2025-10-12 17:41:54 -04:00