[vlc-devel] [PATCH 2/2] direct3d11: allow changing the aspect ratio/crop just before the picture display
Steve Lhomme
robux4 at ycbcr.xyz
Mon Aug 20 16:42:51 CEST 2018
---
modules/video_output/win32/direct3d11.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 04d0a50e65..65eb45cee8 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -303,6 +303,8 @@ static int Open(vlc_object_t *object)
vd->info.has_double_click = true;
vd->info.has_pictures_invalid = vd->info.is_slow;
+ vd->info.dynamic_src = (1 << VOUT_DISPLAY_CHANGE_SOURCE_ASPECT) |
+ (1 << VOUT_DISPLAY_CHANGE_SOURCE_CROP);
if (var_InheritBool(vd, "direct3d11-hw-blending") &&
vd->sys->regionQuad.textureFormat != NULL)
--
2.17.0
More information about the vlc-devel
mailing list