expo-libmpv 0.5.12 → 0.5.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/build.gradle
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
apply plugin: 'com.android.library'
|
|
2
2
|
|
|
3
3
|
group = 'com.libmpv'
|
|
4
|
-
version = '0.5.
|
|
4
|
+
version = '0.5.13'
|
|
5
5
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
6
6
|
apply from: expoModulesCorePlugin
|
|
7
7
|
applyKotlinExpoModulesCorePlugin()
|
|
@@ -43,7 +43,7 @@ android {
|
|
|
43
43
|
namespace "com.libmpv"
|
|
44
44
|
defaultConfig {
|
|
45
45
|
versionCode 1
|
|
46
|
-
versionName "0.5.
|
|
46
|
+
versionName "0.5.13"
|
|
47
47
|
}
|
|
48
48
|
lintOptions {
|
|
49
49
|
abortOnError false
|
|
@@ -256,22 +256,23 @@ class LibmpvRenderer(
|
|
|
256
256
|
if (!videoSync.isNullOrBlank()) {
|
|
257
257
|
if (videoSync == "display-resample") {
|
|
258
258
|
MPVLib.setOptionString("video-sync", "display-resample")
|
|
259
|
-
MPVLib.setOptionString("
|
|
260
|
-
MPVLib.setOptionString("
|
|
261
|
-
MPVLib.setOptionString("
|
|
259
|
+
MPVLib.setOptionString("interpolation", "yes")
|
|
260
|
+
MPVLib.setOptionString("tscale", "mitchell")
|
|
261
|
+
MPVLib.setOptionString("audio-pitch-correction", "yes")
|
|
262
262
|
}
|
|
263
263
|
if (videoSync == "audio") {
|
|
264
264
|
MPVLib.setOptionString("video-sync", "audio")
|
|
265
|
-
MPVLib.setOptionString("
|
|
266
|
-
MPVLib.setOptionString("
|
|
267
|
-
MPVLib.setOptionString("correct-pts", "yes")
|
|
265
|
+
MPVLib.setOptionString("interpolation", "no")
|
|
266
|
+
MPVLib.setOptionString("tscale", "off")
|
|
268
267
|
}
|
|
268
|
+
} else {
|
|
269
|
+
MPVLib.setOptionString("video-sync", "audio")
|
|
270
|
+
MPVLib.setOptionString("interpolation", "no")
|
|
271
|
+
MPVLib.setOptionString("tscale", "off")
|
|
269
272
|
}
|
|
270
273
|
|
|
271
274
|
MPVLib.setOptionString("scale", "bilinear")
|
|
272
275
|
MPVLib.setOptionString("dscale", "bilinear")
|
|
273
|
-
MPVLib.setOptionString("tscale", "off")
|
|
274
|
-
MPVLib.setOptionString("interpolation", "no")
|
|
275
276
|
|
|
276
277
|
MPVLib.setOptionString("alang", "")
|
|
277
278
|
MPVLib.setOptionString("ao", "audiotrack")
|
package/app.json
CHANGED