change in vmem to allow multiple inputs (libvlc api)