[vlc-commits] Direct3D: remove wall-paper playlist hack
Rémi Denis-Courmont
git at videolan.org
Sun Jan 5 11:19:00 CET 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan 5 12:17:16 2014 +0200| [cf049f9d7525723dc8353e38392b11ed8b4911b0] | committer: Rémi Denis-Courmont
Direct3D: remove wall-paper playlist hack
This is now managed by the playlist and video output core.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cf049f9d7525723dc8353e38392b11ed8b4911b0
---
modules/video_output/msw/direct3d.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/modules/video_output/msw/direct3d.c b/modules/video_output/msw/direct3d.c
index 0f37825..415242c 100644
--- a/modules/video_output/msw/direct3d.c
+++ b/modules/video_output/msw/direct3d.c
@@ -39,7 +39,6 @@
#include <vlc_common.h>
#include <vlc_plugin.h>
-#include <vlc_playlist.h>
#include <vlc_vout_display.h>
#include <windows.h>
@@ -1452,14 +1451,5 @@ static int DesktopCallback(vlc_object_t *object, char const *psz_cmd,
sys->ch_desktop |= ch_desktop;
sys->desktop_requested = newval.b_bool;
vlc_mutex_unlock(&sys->lock);
-
- /* FIXME we should have a way to export variable to be saved */
- if (ch_desktop) {
- 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