Can't use shaders on videos

Awesome, it works :slight_smile:
It crashes when I call video:stop(), here’s the output:

[mmal_video_render.c] video render shutdown started
[mmal_video_render.c] video render forwarding thread stopped
mmal: mmal_port_pool_destroy: port 0xa8401030, pool 0xa8403830 destroyed while port enabled
[mmal_video_render.c] video render shutdown completed
[mmalvideo.c] [0x10493c8/playground/teszt.mov] no audio stream found
[mmalvideo.c] [0x10493c8/playground/teszt.mov] setting initial pts: 0
[mmalvideo.c] [0x10493c8/playground/teszt.mov] setting initial dts: 0
[mmalvideo.c] [0x10493c8/playground/teszt.mov] starting paused
CRITICAL ERROR: Cannot alloc texture: invalid operation