~guidocella/mpv-image-config

05434cf2e404f430965ece3ee8adeea962a3359b — Guido Cella 8 months ago 01c1db4
use p
1 files changed, 3 insertions(+), 3 deletions(-)

M mpv.conf
M mpv.conf => mpv.conf +3 -3
@@ 33,7 33,7 @@ fullscreen
# updated the defaults and replaced profile=gpu-hq with profile=fast and
# profile=high-quality.
[image]
profile-cond=get('current-tracks/video/image') and not get('current-tracks/video/albumart') and mp.command('enable-section image')
profile-cond=p['current-tracks/video/image'] and not p['current-tracks/video/albumart'] and mp.command('enable-section image')
profile-restore=copy
osc=no
linear-downscaling=no # don't make black and white manga brighter


@@ 41,7 41,7 @@ linear-downscaling=no # don't make black and white manga brighter

# Set options for videos.
[video]
profile-cond=get('current-tracks/video/image') == false and mp.command('disable-section image')
profile-cond=p['current-tracks/video/image'] == false and mp.command('disable-section image')
profile-restore=copy

# Only on certain paths, keep the zoom when changing playlist position.


@@ 52,5 52,5 @@ reset-on-next-file-remove=panscan

# Loop short videos like gifs.
[loop-short]
profile-cond=duration < 30 and get('current-tracks/video/image') == false and image_display_duration == math.huge
profile-cond=duration < 30 and p['current-tracks/video/image'] == false and image_display_duration == math.huge
loop-file