Commit d71f9f6d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Don't compile WindowlessBase if not needed

parent f25c3ce2
......@@ -534,6 +534,7 @@ bool VlcPluginBase::canUseEventListener()
return false;
}
#ifdef WINDOWLESS
VlcWindowlessBase::VlcWindowlessBase(NPP instance, NPuint16_t mode) :
VlcPluginBase(instance, mode)
{
......@@ -621,3 +622,4 @@ void VlcWindowlessBase::set_player_window() {
video_display_proxy,
this);
}
#endif
......@@ -215,7 +215,7 @@ private:
#endif
#ifdef WINDOWLESS
const char DEF_CHROMA[] = "RV32";
enum{
DEF_PIXEL_BYTES = 4
......@@ -280,5 +280,6 @@ protected:
unsigned int m_media_width;
unsigned int m_media_height;
};
#endif
#endif
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