slam icon indicating copy to clipboard operation
slam copied to clipboard

Messes up video loading and love-loader

Open hollunder opened this issue 9 years ago • 0 comments

If you require SLAM and then try to load a video with sound you get something like this:

Error: [string "Video.lua"]:29: bad argument #1 to '_setSource' (Source expected, got table)
stack traceback:
    [C]: in function '_setSource'
    [string "Video.lua"]:29: in function 'setSource'
    [string "wrap_Graphics.lua"]:365: in function 'newVideo'
    src/assets.lua:5: in main chunk
    [C]: in function 'require'
    main.lua:13: in main chunk
    [C]: in function 'require'
    [string "boot.lua"]:426: in function <[string "boot.lua"]:274>
    [C]: in function 'xpcall'

It is also incompatible with love-loader, however, I filed a bug there, don't know where it belongs. https://github.com/kikito/love-loader/issues/15

hollunder avatar Jan 18 '16 10:01 hollunder