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
想要评论请 注册 或 登录