mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-03-18 23:36:22 +00:00
fix: bug in playback speed
This commit is contained in:
@@ -79,6 +79,10 @@ public class VlcPlayerModule: Module {
|
||||
AsyncFunction("getSubtitleTracks") { (view: VlcPlayerView) -> [[String: Any]]? in
|
||||
return view.getSubtitleTracks()
|
||||
}
|
||||
|
||||
AsyncFunction("setRate") { (view: VlcPlayerView, rate: Float) in
|
||||
view.setRate(rate)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user