diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-09-26 21:18:28 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-09-26 21:18:28 +0200 |
commit | ae1e2d5bf8a59095d1a978be51b7eec793d19da2 (patch) | |
tree | 4ffc69b63065c851af000ac77a469a23d9f46b64 /layer_video.h | |
parent | 7110cea433b6aa4ce973b5c89c9ff9721e64ef55 (diff) | |
download | osc-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.h | 2 |
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; |