mirror of
https://github.com/yattee/yattee.git
synced 2024-12-14 06:10:32 +05:30
5e85fd294c
- use displays refresh rate - execute needs drawing with higher priority - run create() with higher priority - determine the number of threads used for rendering - enable VSYNC and change video-sync to display-resample - iOS/tvOS: set new display refresh rate on change - run setSize with higher priority - add more options to MPVClient - get refresh rate updates - sync refresh rate to fps - update CADisplayLink to current refresh rate - update refresh rate on macOS - Add experimental feature to sync display with content fps Signed-off-by: Toni Förster <toni.foerster@gmail.com>
23 lines
1006 B
Swift
23 lines
1006 B
Swift
import Defaults
|
|
import SwiftyJSON
|
|
|
|
final class AdvancedSettingsGroupExporter: SettingsGroupExporter {
|
|
override var globalJSON: JSON {
|
|
[
|
|
"showPlayNowInBackendContextMenu": Defaults[.showPlayNowInBackendContextMenu],
|
|
"showMPVPlaybackStats": Defaults[.showMPVPlaybackStats],
|
|
"mpvEnableLogging": Defaults[.mpvEnableLogging],
|
|
"mpvCacheSecs": Defaults[.mpvCacheSecs],
|
|
"mpvCachePauseWait": Defaults[.mpvCachePauseWait],
|
|
"mpvCachePauseInital": Defaults[.mpvCachePauseInital],
|
|
"mpvDeinterlace": Defaults[.mpvDeinterlace],
|
|
"mpvHWdec": Defaults[.mpvHWdec],
|
|
"mpvDemuxerLavfProbeInfo": Defaults[.mpvDemuxerLavfProbeInfo],
|
|
"mpvSetRefreshToContentFPS": Defaults[.mpvSetRefreshToContentFPS],
|
|
"mpvInitialAudioSync": Defaults[.mpvInitialAudioSync],
|
|
"showCacheStatus": Defaults[.showCacheStatus],
|
|
"feedCacheSize": Defaults[.feedCacheSize]
|
|
]
|
|
}
|
|
}
|