Lua: Wrong alignment of multiple lines osd messages on left/right edge in VLC 3
Now each line is not aligned properly on the right/left edge of the screen in a playing video like in older VLC versions. All lines are aligned like in the center position (top/center/bottom) of the screen. Test script:\
function descriptor()
return {
title = "test - multiple lines alignment of osd message",
}
end
function activate()
if vlc.object.vout() then
vlc.osd.message("line1\nline2\nthe last line3", 1, "top-left", 10*1000000) -- 10 seconds
vlc.osd.message("line1\nline2\nthe last line3", 2, "top", 10*1000000) -- 10 seconds
vlc.osd.message("line1\nline2\nthe last line3", 3, "top-right", 10*1000000) -- 10 seconds
end
vlc.deactivate()
end
function deactivate()
end
I just would like to improve a bit and publish an Extension for new VLC 3. Metadata over video: https://addons.videolan.org/p/1167844/