mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
@@ -359,7 +359,7 @@ function love.graphics.newVideo(file, loadaudio)
|
||||
local source, success
|
||||
|
||||
if loadaudio ~= false then
|
||||
success, source = pcall(love.audio.newSource, video:getStream():getFilename())
|
||||
success, source = pcall(love.audio.newSource, video:getStream():getFilename(), "stream")
|
||||
end
|
||||
if success then
|
||||
video:setSource(source)
|
||||
|
||||
Reference in New Issue
Block a user