From: Artem Galin <artem.ga...@intel.com> Signed-off-by: Artem Galin <artem.ga...@intel.com> --- libavutil/hwcontext_qsv.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c index 488655b686..e75d4b7c24 100644 --- a/libavutil/hwcontext_qsv.c +++ b/libavutil/hwcontext_qsv.c @@ -1475,6 +1475,11 @@ static int qsv_device_create(AVHWDeviceContext *ctx, const char *device, #endif #if CONFIG_D3D11VA case AV_HWDEVICE_TYPE_D3D11VA: + { + e = av_dict_get(opts, "vendor", NULL, 0); + if(e) + av_dict_set(&child_device_opts, "vendor", e->value, 0); + } break; #endif #if CONFIG_DXVA2 -- 2.26.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".