X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fvideo_output%2Fmsw%2Fdirectx.c;h=a6ee80b852008bf3970f465801003e1baa3a461e;hb=415ada5a217873f17211bb7b3d96ce45d6d67263;hp=1418a1b73428e68ae62d206f0322324313ea9142;hpb=c0538c2c67f6f3a28d20ff2f7a9618353302d5bb;p=vlc diff --git a/modules/video_output/msw/directx.c b/modules/video_output/msw/directx.c index 1418a1b734..a6ee80b852 100644 --- a/modules/video_output/msw/directx.c +++ b/modules/video_output/msw/directx.c @@ -2131,7 +2131,7 @@ static int WallpaperCallback( vlc_object_t *p_this, char const *psz_cmd, * restarted */ var_Create( p_playlist, "directx-wallpaper", VLC_VAR_BOOL ); var_Set( p_playlist, "directx-wallpaper", newval ); - pl_Release( p_playlist ); + pl_Release( p_vout ); } p_vout->p_sys->i_changes |= DX_WALLPAPER_CHANGE;