mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 19:27:49 +08:00
6a19c0f10a
* add mfx-dispatch port * add mfx-dispatch port - versions * add mfx-dispatch port - versions * add ffmpeg qsv support * add ffmpeg qsv port * add ffmpeg qsv port - versions * add ffmpeg qsv port - versions * add ffmpeg qsv port - versions * add ffmpeg qsv port - versions * add ffmpeg qsv port - versions * add ffmpeg qsv port - fix qsv init bug * add ffmpeg qsv port - versions * add ffmpeg qsv port - versions * add ffmpeg qsv port - fix patch 0023 * add ffmpeg qsv port - versions * add ffmpeg qsv port - fix 0023 * add ffmpeg qsv port - fix 0023 * add ffmpeg qsv port - fix 0023 * add ffmpeg qsv port - fix 0023 * add ffmpeg qsv port - fix 0023 * add ffmpeg qsv port - fix PR * add ffmpeg qsv port - versions * add ffmpeg qsv port - simplify 0023 * add ffmpeg qsv port - 0023 * add ffmpeg qsv port - 0023 * add ffmpeg qsv port - 0023 * add ffmpeg qsv port - 0023 * add ffmpeg qsv + amf port * add ffmpeg qsv + amf port * add ffmpeg qsv + amf port * Create fix-unresolved-symbol.patch * Update mfx-dispatch.json
23 lines
770 B
Diff
23 lines
770 B
Diff
Subject: [PATCH] fix d3d11
|
|
---
|
|
Index: qsv.c
|
|
IDEA additional info:
|
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
|
<+>UTF-8
|
|
===================================================================
|
|
diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c
|
|
--- a/libavcodec/qsv.c
|
|
+++ b/libavcodec/qsv.c
|
|
@@ -383,7 +383,11 @@
|
|
int ff_qsv_init_internal_session(AVCodecContext *avctx, QSVSession *qs,
|
|
const char *load_plugins, int gpu_copy)
|
|
{
|
|
+#if CONFIG_D3D11VA
|
|
+ mfxIMPL impl = MFX_IMPL_AUTO_ANY | MFX_IMPL_VIA_D3D11;
|
|
+#else
|
|
mfxIMPL impl = MFX_IMPL_AUTO_ANY;
|
|
+#endif
|
|
mfxVersion ver = { { QSV_VERSION_MINOR, QSV_VERSION_MAJOR } };
|
|
mfxInitParam init_par = { MFX_IMPL_AUTO_ANY };
|
|
|