Kacper Michajłow
c3bf2c72a6
select.lua: allow ffmpeg to print errors if it fails
...
Also don't print subprocess result to OSD, as it is not comprehensible.
2024-05-20 18:32:22 +02:00
Guido Cella
b82d437ea4
select.lua: strip trailing zeros from FPS values
...
Show e.g. "30 fps" instead of "30.000 fps".
Also switch to %.4f for consistency with pretty_print_double().
2024-05-20 17:54:57 +02:00
Guido Cella
78b2de677b
select.lua: handle sub-start being earlier than ffmpeg's timestamps
2024-05-20 17:54:40 +02:00
Guido Cella
8f596b44be
select.lua: don't needlessly initialize default_item
2024-05-20 17:54:40 +02:00
Guido Cella
99fd55ad75
select.lua: preselect the previous sub line without a current line
2024-05-20 17:54:40 +02:00
Guido Cella
ce2f501c23
select.lua: fix preselecting the current subtitle line
...
Fixes 4d32db21c5 .
2024-05-20 17:54:40 +02:00
Guido Cella
4d32db21c5
select.lua: strip brackets in select-subtitle-line
2024-05-13 16:36:27 +02:00
Guido Cella
61f72bd512
select.lua: add this script
...
This adds script messages to select playlist entries, tracks, chapters,
subtitle lines, bindings and properties using the newly introduced
mp.input.select().
This fully closes #13964 .
2024-05-12 23:13:48 +02:00