1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-17 13:17:13 +00:00

mac/app: fix building with swift disabled

Fixes #14931
This commit is contained in:
der richter 2024-10-05 16:19:48 +02:00 committed by Kacper Michajłow
parent f7a895e7c1
commit 2fb8b00ac9

View File

@ -110,6 +110,7 @@ const struct m_sub_options *app_bridge_vo_conf(void)
return &vo_sub_opts; return &vo_sub_opts;
} }
#if HAVE_SWIFT
void cocoa_init_media_keys(void) void cocoa_init_media_keys(void)
{ {
[[AppHub shared] startRemote]; [[AppHub shared] startRemote];
@ -139,4 +140,4 @@ int cocoa_main(int argc, char *argv[])
{ {
return [(Application *)[Application sharedApplication] main:argc :argv]; return [(Application *)[Application sharedApplication] main:argc :argv];
} }
#endif