diff options
author | wm4 <nfxjfg@googlemail.com> | 2017-06-22 14:52:57 +0200 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2017-06-27 18:05:02 +0200 |
commit | 289d387330d8a0a07ff98c9e09215627a70ace2d (patch) | |
tree | c4ef0d4911f680142cafe6a33e4bfc738116139c /libavutil/hwcontext_d3d11va.h | |
parent | 8d7fdba7b8670db9dd5023dde6fe3a06674933c4 (diff) | |
download | ffmpeg-289d387330d8a0a07ff98c9e09215627a70ace2d.tar.gz |
hwcontext_d3d11va: add option to enable debug mode
Basically copied from VLC (LGPL):
http://git.videolan.org/?p=vlc.git;a=blob;f=modules/video_output/win32/direct3d11.c;h=e9fcb83dcabfe778f26e63d19f218caf06a7c3ae;hb=HEAD#l1482
http://git.videolan.org/?p=vlc.git;a=blob;f=modules/codec/avcodec/d3d11va.c;h=85e7d25caebc059a9770da2ef4bb8fe90816d76d;hb=HEAD#l599
Merges Libav commit cfc9e7c94eafa33e7f109099664ec4fb57ac5ca3.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavutil/hwcontext_d3d11va.h')
-rw-r--r-- | libavutil/hwcontext_d3d11va.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/hwcontext_d3d11va.h b/libavutil/hwcontext_d3d11va.h index d41451580e..0ed3033452 100644 --- a/libavutil/hwcontext_d3d11va.h +++ b/libavutil/hwcontext_d3d11va.h @@ -30,6 +30,10 @@ * Using sw_format==AV_PIX_FMT_YUV420P has special semantics, and maps to * DXGI_FORMAT_420_OPAQUE. av_hwframe_transfer_data() is not supported for * this format. Refer to MSDN for details. + * + * av_hwdevice_ctx_create() for this device type supports a key named "debug" + * for the AVDictionary entry. If this is set to any value, the device creation + * code will try to load various supported D3D debugging layers. */ #include <d3d11.h> |