Skip to content

Lua extensions: setting time from input events handler locks up

Please try the following VLC extension script: Sampler, that I have made for VLC users and would like to make some more. Forum homepage: Sampler. It works quite well in VLC 1.1.11.

I am not able to make it work properly in new VLC2. If you set more than 1 sample, the second jump in time within an actual playlist item is not successful and VLC is blocked.

local input = vlc.object.input()
...
vlc.var.set(input, "time", samples_positions[actual_sample])

Please help. Thanks.

Edited by Pierre Ynard
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information