Commit f90b88ab authored by Jean-Paul Saman's avatar Jean-Paul Saman

Cleanup and fix crash when plugin wasn't playing.

parent e9347d2d
......@@ -44,6 +44,7 @@ VlcPlugin::VlcPlugin( NPP instance, uint16 mode ) :
i_npmode(mode),
b_stream(0),
b_autoplay(1),
i_control_height(45),
psz_target(NULL),
libvlc_instance(NULL),
libvlc_log(NULL),
......
......@@ -105,6 +105,10 @@ public:
int b_autoplay;
char * psz_target;
#if XP_UNIX
/* toolbar */
int i_control_height;
#endif
private:
/* VLC reference */
libvlc_instance_t *libvlc_instance;
......@@ -123,6 +127,7 @@ private:
#if XP_UNIX
unsigned int i_width, i_height;
Window npvideo, npcontrol;
#endif
};
......
This diff is collapsed.
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