mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02:00
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:
parent
848d76f52c
commit
e1b4c026df
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user