Add setting for subtitle outline size (#375)

Adds a settings allowing for adjusting the thickness of unstyled
subtitle outlines, if outline is enabled.

This is applied for both ExoPlayer & MPV

Closes #179

![outline
Large](https://github.com/user-attachments/assets/dfef74a5-a4d4-49db-a8d2-231e46ab151e)

Dev note: the ExoPlayer implementation is bad code, don't write code
like this. It works though
This commit is contained in:
damontecres 2025-12-05 16:55:46 -05:00 committed by GitHub
parent a197f6911b
commit ac10517028
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 116 additions and 0 deletions

View file

@ -0,0 +1,14 @@
package com.github.damontecres.wholphin.test
import com.github.damontecres.wholphin.util.Media3SubtitleOverride
import org.junit.Assert
import org.junit.Test
class TestMedia3SubtitleOverride {
@Test
fun test() {
// This tests whether the class and field names exist
Media3SubtitleOverride(2f)
Assert.assertTrue(Media3SubtitleOverride.Companion.initialized)
}
}