[vlc-devel] [PATCH] direct3d9: use a different vout for HDR content if possible
Jean-Baptiste Kempf
jb at videolan.org
Mon Feb 5 18:20:23 CET 2018
OK.
On Mon, 5 Feb 2018, at 18:14, Steve Lhomme wrote:
> Similar to what we do with 360 videos.
>
> It should fallback to OpenGL on Win7.
> ---
> modules/video_output/win32/direct3d9.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/modules/video_output/win32/direct3d9.c b/modules/
> video_output/win32/direct3d9.c
> index 71b517a59d..d60e92e7ed 100644
> --- a/modules/video_output/win32/direct3d9.c
> +++ b/modules/video_output/win32/direct3d9.c
> @@ -248,6 +248,9 @@ static int Open(vlc_object_t *object)
> if ( !vd->obj.force && vd->source.projection_mode !=
> PROJECTION_MODE_RECTANGULAR)
> return VLC_EGENERIC; /* let a module who can handle it do it */
>
> + if ( !vd->obj.force && vd->source.mastering.max_luminance != 0)
> + return VLC_EGENERIC; /* let a module who can handle it do it */
> +
> OSVERSIONINFO winVer;
> winVer.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
> if(GetVersionEx(&winVer) && winVer.dwMajorVersion < 6 && !object-
> >obj.force)
> --
> 2.14.2
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
--
Jean-Baptiste Kempf - President
+33 672 704 734
More information about the vlc-devel
mailing list