summaryrefslogtreecommitdiffstats
path: root/demux/demux.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-07-07 18:00:19 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:05 +0200
commitc43846f2cb51054a5c74f95a1bc167542b8437f6 (patch)
treed4ed72a0741b4e494dcf9e01ead61aa3d518c222 /demux/demux.c
parentb55b9cb98cf76443a24c7f7deae5853a4151e86d (diff)
downloadmpv-c43846f2cb51054a5c74f95a1bc167542b8437f6.tar.bz2
mpv-c43846f2cb51054a5c74f95a1bc167542b8437f6.tar.xz
screenshot: move message showing to common code
The screenshot command has this weird behavior that it shows messages both on terminal and OSD by default, but that a command prefix can be used to disable the OSD message. Move this mechanism to common code, and make this available to other commands too (although as of this commit only the screenshot commands use it). This gets rid of the weird screenshot_ctx.osd field too, which was sort of set on a command, and sometimes inconsistently restored after the command.
Diffstat (limited to 'demux/demux.c')
0 files changed, 0 insertions, 0 deletions