osc.lua: set no_video correctly

Fixes f4197a5ce0.
This commit is contained in:
Guido Cella authored and Kacper Michajłow committed 2026-04-17 20:28:42 +02:00
1 parent f4197a5ce0
commit 8da99f778f
1 file changed
+1
+1
View File
@@ -711,6 +711,7 @@ local function update_tracklist(_, track_list)
state.audio_track_count = 0
state.sub_track_count = 0
state.track_position = {}
state.no_video = true
for _, track in ipairs(track_list) do
if track.type == "audio" then