Open VLC Media Player and click on Tools > Preferences or press Ctrl-P to open the settings window of the program. If you are using the simple settings interface, click on Input & Codecs on the left sidebar and check the Use GPU accelerated decoding box there.