]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/mosaic.h
For consistency, remove references to vlc from libvlc
[vlc] / modules / video_filter / mosaic.h
index 81af77c9154eae60a197f955bb427783169f4b20..49099a4d452699eefd77b3eee7ce142d01368717 100644 (file)
@@ -40,11 +40,11 @@ typedef struct bridge_t
 #define GetBridge(a) __GetBridge( VLC_OBJECT(a) )
 static bridge_t *__GetBridge( vlc_object_t *p_object )
 {
-    libvlc_t *p_libvlc = p_object->p_libvlc;
+    libvlc_global_data_t *p_libvlc_global = p_object->p_libvlc_global;
     bridge_t *p_bridge;
     vlc_value_t val;
 
-    if( var_Get( p_libvlc, "mosaic-struct", &val ) != VLC_SUCCESS )
+    if( var_Get( p_libvlc_global, "mosaic-struct", &val ) != VLC_SUCCESS )
     {
         p_bridge = NULL;
     }