From 631cdd36220155024360e35bd941b88631b3786e Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Wed, 13 May 2026 15:26:05 +0200 Subject: [PATCH] select.lua: preserve empty subtitle lines Fixes e9fbf49466. --- player/lua/select.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/player/lua/select.lua b/player/lua/select.lua index 4ce76ef4c9..090eab875a 100644 --- a/player/lua/select.lua +++ b/player/lua/select.lua @@ -308,6 +308,11 @@ local function select_subtitle_line(secondary) items[#items + 1] = format_time(line.start, duration) .. " " .. text times[#times + 1] = line.start end + + if line.text == "" then + items[#items + 1] = format_time(line.start, duration) + times[#times + 1] = line.start + end end input.select({