1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 17:12:36 +00:00
mpv/TOOLS
Guido Cella 0772d0263c TOOLS/autocrop.lua: log a more accurate warning
This reorders some code and checks the image track-list sub-property
instead of the albumart one, so that when playing audio without enough
playtime-remaining and images, the "autocrop only works for videos."
warning is logged instead of the "Not enough time to detect crop." one.
It also avoids repeating this warning twice in the code.

As of e16d0dd15d current-tracks returns a video track even when
lavfi-complex is used, so the track-list loop in is_cropable can be
replaced with just checking current-tracks/video while still cropping
videos with lavfi-complex.
2023-02-27 17:03:38 +00:00
..
lua TOOLS/autocrop.lua: log a more accurate warning 2023-02-27 17:03:38 +00:00
mpv-osd-symbols.sfdir osc: use custom symbols for window controls 2019-12-11 13:53:10 -08:00
osxbundle/mpv.app/Contents osxbundle: add RIST protocol support to app metadata 2022-08-18 11:33:50 +02:00
__init__.py
docutils-wrapper.py TOOLS/docutils-wrapper: make executable + alphabetize 2023-01-13 10:13:39 -06:00
dylib-unhell.py various: remove trailing whitespace 2022-05-14 14:51:34 +00:00
file2string.py TOOLS/file2string.py: support outputting to file 2021-11-14 19:13:10 +00:00
gen-osd-font.sh Add script to generate otf from sfdir using fontforge 2017-04-20 17:40:45 +01:00
idet.sh
macos-sdk-version.py various: remove trailing whitespace 2022-05-14 14:51:34 +00:00
macos-swift-lib-directory.py TOOLS: add macos-swift-lib-directory.py script 2021-11-14 19:13:10 +00:00
matroska.py TOOLS/matroska.py: support outputting to file 2021-11-14 19:13:10 +00:00
mpv_identify.sh mpv_identify: replace deprecated fps property 2017-06-25 14:24:49 +01:00
osxbundle.py osxbundle: use python3 2021-07-17 00:08:54 +02:00
stats-conv.py *.py: cosmetic changes 2020-02-27 21:36:21 +01:00
travis-deps travis: stop excluding ffmpeg-git 2017-12-22 21:49:21 +01:00
travis-rebuild-website build: move website rebuild into Linux/clang travis job 2021-05-16 01:55:37 +03:00
umpv TOOLS/umpv: support shell-quotes in $MPV 2023-01-07 13:16:03 +01:00
uncrustify.cfg