mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 02:34:23 -05:00
obs-ffmpeg: Handle NV_ENC_ERR_NO_ENCODE_DEVICE error
This commit is contained in:
committed by
Ryan Foster
parent
7dae8d307c
commit
25f01357e6
@@ -58,6 +58,7 @@ bool nv_failed2(obs_encoder_t *encoder, void *session, NVENCSTATUS err,
|
||||
encoder, obs_module_text("NVENC.TooManySessions"));
|
||||
break;
|
||||
|
||||
case NV_ENC_ERR_NO_ENCODE_DEVICE:
|
||||
case NV_ENC_ERR_UNSUPPORTED_DEVICE:
|
||||
obs_encoder_set_last_error(
|
||||
encoder, obs_module_text("NVENC.UnsupportedDevice"));
|
||||
|
||||
Reference in New Issue
Block a user