From ae1e2d5bf8a59095d1a978be51b7eec793d19da2 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 26 Sep 2012 21:18:28 +0200 Subject: make vlcinst a static class member since it's required only once for all LayerVideo instances --- layer_video.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layer_video.h') 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; -- cgit v1.2.3