amfenc: Fail to open if the user-supplied device is not usable
If the user supplies a device or frames context then it is an error not to use it; this is consistent with other hardware components. Also factorise out the D3D11 initialisation and improve error messages.
Showing
Please
register
or
sign in
to comment