I've compiled love from the love-xxx-linux-src.tar.gz files in the bitbucket repo with configure and make. 11.0, 11,1 and 11.2 all show the same behavior.
Sometimes it will take a few hours but eventually it corrupts. Under high cpu load it can occur even after a few seconds.
This is the most basic code I can reproduce it with
Code: Select all
local love = love
local r = {}
function love.load(args)
love.window.setMode(1280, 720, {
vsync = false,
fullscreen = true,
fullscreentype = "exclusive",
})
r.intro_video = love.graphics.newVideo("video/effort_7_ff.ogv", { audio = true })
r.intro_video:play()
end
function love.update(dt)
if not r.intro_video:isPlaying() then
r.intro_video:rewind()
r.intro_video:play()
end
end
function love.draw()
local sw, sh = love.graphics.getDimensions()
if r.intro_video:isPlaying() then
local vw, vh = r.intro_video:getDimensions()
love.graphics.setColor(1, 1, 1)
love.graphics.draw(r.intro_video, 0, 0, 0, sw/vw, sh/vh)
end
end
Code: Select all
ffmpeg -i effort.mp4 -codec:v libtheora -qscale:v 7 -codec:a libvorbis -qscale:a 7 effort_7_ff.ogv
If anyone is able to help me solve this or work around it that would be really appreciated.