[vlc-commits] vout: remove useless nonportable conversion

Rémi Denis-Courmont git at videolan.org
Tue Nov 20 21:34:05 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Nov 20 20:15:15 2018 +0200| [fd817b6e44b5d31cd759220427404337c38f7cc3] | committer: Rémi Denis-Courmont

vout: remove useless nonportable conversion

This value is not used.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fd817b6e44b5d31cd759220427404337c38f7cc3
---

 src/video_output/vout_intf.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index 8c7b4571d6..e059030f8a 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -249,8 +249,7 @@ void vout_IntfInit( vout_thread_t *p_vout )
 
     /* Add a variable to indicate if the window should be below all others */
     var_Create( p_vout, "video-wallpaper", VLC_VAR_BOOL | VLC_VAR_DOINHERIT );
-    var_AddCallback( p_vout, "video-wallpaper", WallPaperCallback,
-                     (void *)(uintptr_t)VOUT_WINDOW_STATE_BELOW );
+    var_AddCallback( p_vout, "video-wallpaper", WallPaperCallback, NULL );
 
     /* Add a variable to indicate whether we want window decoration or not */
     var_Create( p_vout, "video-deco", VLC_VAR_BOOL | VLC_VAR_DOINHERIT );



More information about the vlc-commits mailing list