diff options
author | der richter <der.richter@gmx.de> | 2024-03-10 00:51:46 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2024-03-14 23:33:15 +0100 |
commit | 055e9cd93e96b4310618a25e990221d73f4efb03 (patch) | |
tree | e5fefd48928f9e9aec90a51e0109752515f3bf83 /video/out/cocoa_cb_common.swift | |
parent | f3e5fea4f55e21f2f29874552a547fd5c75e629d (diff) | |
download | mpv-055e9cd93e96b4310618a25e990221d73f4efb03.tar.bz2 mpv-055e9cd93e96b4310618a25e990221d73f4efb03.tar.xz |
mac/helper: move input ctx related functionality into new input helper
also make functions thread safe.
Diffstat (limited to 'video/out/cocoa_cb_common.swift')
-rw-r--r-- | video/out/cocoa_cb_common.swift | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/cocoa_cb_common.swift b/video/out/cocoa_cb_common.swift index 2b260a2999..46e999fbb2 100644 --- a/video/out/cocoa_cb_common.swift +++ b/video/out/cocoa_cb_common.swift @@ -40,6 +40,7 @@ class CocoaCB: Common { func preinit(_ vo: UnsafeMutablePointer<vo>) { mpv = MPVHelper(vo, log) + input = InputHelper(vo.pointee.input_ctx, mpv) if backendState == .uninitialized { backendState = .needsInit |