[vlc-devel] [vlc-commits] win32: do not delete nonexistent window

Steve Lhomme robux4 at ycbcr.xyz
Wed Jan 16 14:53:24 CET 2019


This commit broke the wallpaper feature of D3D9 (which I wanted to use 
to test invalid pictures). Unfortunately it doesn't seem easy to revert 
as the function has now disappeared.

On 20/05/2018 19:51, Rémi Denis-Courmont wrote:
> vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 16 23:26:35 2018 +0300| [112a8ed734ce87b7e73ff4af210b199cdbb25beb] | committer: Rémi Denis-Courmont
>
> win32: do not delete nonexistent window
>
> The window is not created (anymore) in wallpaper mode to begin with.
>
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=112a8ed734ce87b7e73ff4af210b199cdbb25beb
> ---
>
>   modules/video_output/win32/events.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/modules/video_output/win32/events.c b/modules/video_output/win32/events.c
> index 319c70d94b..a8beb9fc9e 100644
> --- a/modules/video_output/win32/events.c
> +++ b/modules/video_output/win32/events.c
> @@ -699,7 +699,6 @@ static int Win32VoutCreateWindow( event_thread_t *p_event )
>       #if defined(MODULE_NAME_IS_direct3d9) || defined(MODULE_NAME_IS_direct3d11)
>       else
>       {
> -        vout_display_DeleteWindow(vd, NULL);
>           p_event->parent_window = NULL;
>           p_event->hparent = GetDesktopHandle(vd);
>       }
>
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> https://mailman.videolan.org/listinfo/vlc-commits



More information about the vlc-devel mailing list