mirror of
https://github.com/mpv-player/mpv
synced 2025-03-26 22:42:47 +01:00
cocoa_common: use better power management activity description
Now one might actually undestand why this power management assertion is used in the first place.
This commit is contained in:
parent
ae1fa639e0
commit
14ff6bbf7c
@ -214,7 +214,7 @@ static void disable_power_management(struct vo *vo)
|
|||||||
IOPMAssertionCreateWithName(
|
IOPMAssertionCreateWithName(
|
||||||
kIOPMAssertionTypePreventUserIdleDisplaySleep,
|
kIOPMAssertionTypePreventUserIdleDisplaySleep,
|
||||||
kIOPMAssertionLevelOn,
|
kIOPMAssertionLevelOn,
|
||||||
CFSTR("io.mpv.power_management"),
|
CFSTR("io.mpv.video_playing_back"),
|
||||||
&s->power_mgmt_assertion);
|
&s->power_mgmt_assertion);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user