mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 23:02:37 +00:00
063ca8f0fe
for a reason i can just assume some key events can vanish from the event chain and mpv seems unresponsive. after quite some testing i could confirm that the events are present at the first entry point of the event chain, the sendEvent method of the Application, and that they vanish at a point afterwards. now we use that entry point to grab keyDown and keyUp events. we also stop propagating those key events to prevent the no key input' error sound. if we ever need the key events somewhere down the event chain we need to start propagating them again. though this is not necessary currently.
47 lines
828 B
Plaintext
47 lines
828 B
Plaintext
# This file is baked into the mpv binary at compile time, and automatically
|
|
# loaded at early initialization time. Some of the profiles are automatically
|
|
# applied at later stages during loading.
|
|
|
|
[pseudo-gui]
|
|
player-operation-mode=pseudo-gui
|
|
|
|
[builtin-pseudo-gui]
|
|
terminal=no
|
|
force-window=yes
|
|
idle=once
|
|
screenshot-directory=~~desktop/
|
|
|
|
[libmpv]
|
|
config=no
|
|
idle=yes
|
|
terminal=no
|
|
input-terminal=no
|
|
osc=no
|
|
ytdl=no
|
|
input-default-bindings=no
|
|
input-vo-keyboard=no
|
|
stop-playback-on-init-failure=yes
|
|
# OSX/Cocoa global input hooks
|
|
input-appleremote=no
|
|
input-media-keys=no
|
|
|
|
[encoding]
|
|
vo=lavc
|
|
ao=lavc
|
|
keep-open=no
|
|
force-window=no
|
|
gapless-audio=yes
|
|
resume-playback=no
|
|
load-scripts=no
|
|
osc=no
|
|
framedrop=no
|
|
|
|
[opengl-hq]
|
|
scale=spline36
|
|
cscale=spline36
|
|
dscale=mitchell
|
|
dither-depth=auto
|
|
correct-downscaling=yes
|
|
sigmoid-upscaling=yes
|
|
deband=yes
|