From 2d9be04c005ec616872d20d3de288f5c53bdb3bf Mon Sep 17 00:00:00 2001 From: der richter Date: Tue, 19 Mar 2024 19:53:07 +0100 Subject: mac/option: remove unused and obsolete variables --- video/out/cocoa_cb_common.swift | 2 +- video/out/mac_common.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'video/out') 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) { - 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) { 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) -- cgit v1.2.3