[vlc-devel] [PATCH] vout_wrapper: fix crash in vout_SizeWindow() is the display module is closed

Steve Lhomme robux4 at ycbcr.xyz
Fri May 24 15:35:47 CEST 2019


Never mind, I haven't pushed the code related to this issue.

On 2019-05-24 14:05, Steve Lhomme wrote:
> After 3be7e7eebd52f98b784312f1fc9a81c086eae9bc
> ---
>   src/video_output/vout_wrapper.c | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/src/video_output/vout_wrapper.c b/src/video_output/vout_wrapper.c
> index 0662f4163c..fa51a05d95 100644
> --- a/src/video_output/vout_wrapper.c
> +++ b/src/video_output/vout_wrapper.c
> @@ -176,7 +176,10 @@ void vout_CloseWrapper(vout_thread_t *vout)
>   #endif
>       sys->decoder_pool = NULL; /* FIXME remove */
>   
> +    // Save in case the window is reused without a vout_Stop()
> +    sys->init_cfg = *sys->display->cfg;
>       vout_display_Delete(sys->display);
> +    sys->display = NULL;
>   }
>   
>   #ifdef _WIN32
> -- 
> 2.17.1
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 


More information about the vlc-devel mailing list