[vlc-devel] [PATCH 11/39] d3d_fmt: add a comment on who owns the picture_sys_t data

Steve Lhomme robux4 at videolabs.io
Fri Jun 2 16:46:14 CEST 2017


---
 modules/video_chroma/d3d11_fmt.h | 2 +-
 modules/video_chroma/d3d9_fmt.h  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_chroma/d3d11_fmt.h b/modules/video_chroma/d3d11_fmt.h
index 3006593a03..a39b505bc9 100644
--- a/modules/video_chroma/d3d11_fmt.h
+++ b/modules/video_chroma/d3d11_fmt.h
@@ -29,7 +29,7 @@
 
 DEFINE_GUID(GUID_CONTEXT_MUTEX, 0x472e8835, 0x3f8e, 0x4f93, 0xa0, 0xcb, 0x25, 0x79, 0x77, 0x6c, 0xed, 0x86);
 
-/* VLC_CODEC_D3D11_OPAQUE */
+/* owned by the vout for VLC_CODEC_D3D11_OPAQUE */
 struct picture_sys_t
 {
     ID3D11VideoDecoderOutputView  *decoder; /* may be NULL for pictures from the pool */
diff --git a/modules/video_chroma/d3d9_fmt.h b/modules/video_chroma/d3d9_fmt.h
index 63b5f605a2..8b676d5c26 100644
--- a/modules/video_chroma/d3d9_fmt.h
+++ b/modules/video_chroma/d3d9_fmt.h
@@ -23,7 +23,7 @@
 #ifndef VLC_VIDEOCHROMA_D3D9_FMT_H_
 #define VLC_VIDEOCHROMA_D3D9_FMT_H_
 
-/* VLC_CODEC_D3D9_OPAQUE */
+/* owned by the vout for VLC_CODEC_D3D9_OPAQUE */
 struct picture_sys_t
 {
     LPDIRECT3DSURFACE9 surface;
-- 
2.12.1



More information about the vlc-devel mailing list