DVDVideoCodec: Add IsCodecSupported method
VAAPI: Factor out settings code
VDPAU: Factor out settings code