aboutsummaryrefslogtreecommitdiff
path: root/layer_video.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-26 21:18:28 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-26 21:18:28 +0200
commitae1e2d5bf8a59095d1a978be51b7eec793d19da2 (patch)
tree4ffc69b63065c851af000ac77a469a23d9f46b64 /layer_video.h
parent7110cea433b6aa4ce973b5c89c9ff9721e64ef55 (diff)
downloadosc-graphics-ae1e2d5bf8a59095d1a978be51b7eec793d19da2.tar.gz
make vlcinst a static class member since it's required only once for all LayerVideo instances
Diffstat (limited to 'layer_video.h')
-rw-r--r--layer_video.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/layer_video.h b/layer_video.h
index 9b864d2..c3a4806 100644
--- a/layer_video.h
+++ b/layer_video.h
@@ -12,7 +12,7 @@
#include "layer.h"
class LayerVideo : public Layer {
- libvlc_instance_t *vlcinst;
+ static libvlc_instance_t *vlcinst;
libvlc_media_player_t *mp;
SDL_Surface *surf;