summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2024-03-19 19:53:07 +0100
committerder richter <der.richter@gmx.de>2024-03-21 18:33:15 +0100
commit2d9be04c005ec616872d20d3de288f5c53bdb3bf (patch)
treed8dcedd0c36c07a9a8dbe1d3f154cd74eff9f94a /video/out
parentdc5059d0279a1d809022760b67b4a9d64854d294 (diff)
downloadmpv-2d9be04c005ec616872d20d3de288f5c53bdb3bf.tar.bz2
mpv-2d9be04c005ec616872d20d3de288f5c53bdb3bf.tar.xz
mac/option: remove unused and obsolete variables
Diffstat (limited to 'video/out')
-rw-r--r--video/out/cocoa_cb_common.swift2
-rw-r--r--video/out/mac_common.swift2
2 files changed, 2 insertions, 2 deletions
diff --git a/video/out/cocoa_cb_common.swift b/video/out/cocoa_cb_common.swift
index d92b5efbcb..624f2bec4b 100644
--- a/video/out/cocoa_cb_common.swift
+++ b/video/out/cocoa_cb_common.swift
@@ -39,7 +39,7 @@ class CocoaCB: Common {
}
func preinit(_ vo: UnsafeMutablePointer<vo>) {
- option = OptionHelper(vo, log)
+ option = OptionHelper(vo)
input = InputHelper(vo.pointee.input_ctx, option)
if backendState == .uninitialized {
diff --git a/video/out/mac_common.swift b/video/out/mac_common.swift
index c319b5b910..41bed0c4f4 100644
--- a/video/out/mac_common.swift
+++ b/video/out/mac_common.swift
@@ -27,7 +27,7 @@ class MacCommon: Common {
@objc init(_ vo: UnsafeMutablePointer<vo>) {
let newlog = mp_log_new(vo, vo.pointee.log, "mac")
super.init(newlog)
- option = OptionHelper(vo, log)
+ option = OptionHelper(vo)
input = InputHelper(vo.pointee.input_ctx, option)
timer = PreciseTimer(common: self)