vdpau: Improve detection of supported files.

A minor improvement on the detection of whether or not a video will
play. It is a good idea to at least make sure that the video codec
is supported and that the resolution does not exceed the supported
resolution. A good example of this is that there is an ever increasing
number of 4K videos and not all devices are capable of using the
hardware decoder to decode these.