Commit f94e05c6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Direct3D: remove wall-paper playlist hack

This is now managed by the playlist and video output core.
parent 871c93cb
......@@ -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;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment