Fixed Video:setSource(nil).

This commit is contained in:
Alex Szpakowski
2015-12-13 21:45:25 -04:00
parent 2d7a99a3ae
commit 834bd149d5
+1 -4
View File
@@ -34,10 +34,7 @@ end
function Video:setSource(source)
self:_setSource(source)
if source then
self:getStream():setSync(source)
else
self:getStream():setSync(love.video.newRemote())
self:getStream():setSync(source)
end
end