expo-libmpv 0.4.5 → 0.4.6

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.
@@ -112,8 +112,6 @@ class LibmpvView(context: Context, appContext: AppContext) :
112
112
  mpv.setOptionString("ytdl", "no")
113
113
  mpv.setOptionString("msg-level", "all=no")
114
114
 
115
- mpv.setOptionString("profile", "fast")
116
-
117
115
  videoOutput?.let { vo -> mpv.setOptionString("vo", vo) }
118
116
 
119
117
  decodingMode?.let { mode ->
@@ -147,6 +145,8 @@ class LibmpvView(context: Context, appContext: AppContext) :
147
145
 
148
146
  mpv.setOptionString("cache", "yes")
149
147
  mpv.setOptionString("cache-pause-initial", "yes")
148
+ mpv.setOptionString("audio-buffer","0.5")
149
+ mpv.setOptionString("autosync", "0")
150
150
  }
151
151
 
152
152
  fun log(method: String, argument: String) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-libmpv",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "A libmpv Fabric component for Android",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",