vlc_object_t *p_interaction; ///< interface interaction object
- vlm_t *p_vlm; ///< vlm if created from libvlc-common.
- /// (this is clearly private and
- // shouldn't be used)
-
void *p_stats_computer; ///< Input thread computing stats (needs cleanup)
global_stats_t *p_stats; ///< Global statistics
p_libvlc->p_playlist = NULL;
p_libvlc->p_interaction = NULL;
- p_libvlc->p_vlm = NULL;
+ priv->p_vlm = NULL;
p_libvlc->psz_object_name = strdup( "libvlc" );
priv = libvlc_priv (p_libvlc);
psz_parser = config_GetPsz( p_libvlc, "vlm-conf" );
if( psz_parser && *psz_parser )
{
- p_libvlc->p_vlm = vlm_New( p_libvlc );
- if( !p_libvlc->p_vlm )
+ priv->p_vlm = vlm_New( p_libvlc );
+ if( !priv->p_vlm )
msg_Err( p_libvlc, "VLM initialization failed" );
}
free( psz_parser );
intf_thread_t * p_intf = NULL;
vout_thread_t * p_vout = NULL;
aout_instance_t * p_aout = NULL;
+ libvlc_priv_t *priv = libvlc_priv (p_libvlc);
/* Ask the interfaces to stop and destroy them */
msg_Dbg( p_libvlc, "removing all interfaces" );
}
/* Destroy VLM if created in libvlc_InternalInit */
- if( p_libvlc->p_vlm )
+ if( priv->p_vlm )
{
- vlm_Delete( p_libvlc->p_vlm );
+ vlm_Delete( priv->p_vlm );
}
#endif
bool b_stats; ///< Whether to collect stats
module_t *p_memcpy_module; ///< Fast memcpy plugin used
+ vlm_t *p_vlm; ///< VLM if created from libvlc-common.c
+
+ httpd_t *p_httpd; ///< HTTP daemon (src/network/httpd.c)
} libvlc_priv_t;
static inline libvlc_priv_t *libvlc_priv (libvlc_int_t *libvlc)