obs-qsv11: Disable texture encoder on linux

After adding proper adapter enumeration the linux code ends up entering
the texture encoding paths, but these paths are not correctly
implemented on linux yet.

fixes #10221
This commit is contained in:
Kurt Kartaltepe 2024-02-08 20:27:14 -08:00 committed by Ryan Foster
parent 848d76f52c
commit e1b4c026df

View file

@ -983,6 +983,11 @@ static void *obs_qsv_create_tex(enum qsv_codec codec, obs_data_t *settings,
struct obs_video_info ovi;
obs_get_video_info(&ovi);
#if !defined(_WIN32)
blog(LOG_INFO, ">>> fall back to non-texture sharing on this platform");
return obs_encoder_create_rerouted(encoder, (const char *)fallback_id);
#endif
if (!adapters[ovi.adapter].is_intel) {
blog(LOG_INFO,
">>> app not on intel GPU, fall back to old qsv encoder");