(the new vout is refreshed)
#include "../parser/builder.hpp"
#include "../parser/skin_parser.hpp"
#include "../src/os_factory.hpp"
+#include "../src/vlcproc.hpp"
#include "../src/window_manager.hpp"
#ifdef HAVE_FCNTL_H
}
if( skin_last ) free( skin_last );
+ // The new theme cannot embed a video output yet
+ getIntf()->p_sys->p_vlcProc->setVoutUnused();
+
return true;
}
/// Indicate whether the embedded video output is currently used
bool isVoutUsed() const { return m_pVout; }
+ /// Forget that an embedded video output is used (typically used when
+ /// changing skins, since the video output cannot change parent)
+ void setVoutUnused() { m_pVout = NULL; }
+
protected:
// Protected because it is a singleton
VlcProc( intf_thread_t *pIntf );