[vlc-commits] DirectDraw: remove wall-paper playlist hack

Rémi Denis-Courmont git at videolan.org
Sun Jan 5 11:22:17 CET 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan  5 12:17:54 2014 +0200| [5a49525777eb4e83d034a96e8ff89db68a373f43] | committer: Rémi Denis-Courmont

DirectDraw: remove wall-paper playlist hack

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

 modules/video_output/msw/directx.c |   10 ----------
 1 file changed, 10 deletions(-)

diff --git a/modules/video_output/msw/directx.c b/modules/video_output/msw/directx.c
index 8cbdad3..42906f4 100644
--- a/modules/video_output/msw/directx.c
+++ b/modules/video_output/msw/directx.c
@@ -44,7 +44,6 @@
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_vout_display.h>
-#include <vlc_playlist.h>   /* needed for wallpaper */
 #include <vlc_charset.h>    /* FromT */
 
 #include <windows.h>
@@ -1400,15 +1399,6 @@ static int WallpaperCallback(vlc_object_t *object, char const *cmd,
     sys->ch_wallpaper |= ch_wallpaper;
     sys->wallpaper_requested = newval.b_bool;
     vlc_mutex_unlock(&sys->lock);
-
-    /* FIXME we should have a way to export variable to be saved */
-    if (ch_wallpaper) {
-        playlist_t *p_playlist = pl_Get(vd);
-        /* Modify playlist as well because the vout might have to be
-         * restarted */
-        var_Create(p_playlist, "video-wallpaper", VLC_VAR_BOOL);
-        var_SetBool(p_playlist, "video-wallpaper", newval.b_bool);
-    }
     return VLC_SUCCESS;
 }
 



More information about the vlc-commits mailing list