[MPlayer-cvslog] r25662 - in trunk: m_config.c m_config.h

ben subversion at mplayerhq.hu
Thu Jan 10 19:41:22 CET 2008


Author: ben
Date: Thu Jan 10 19:41:21 2008
New Revision: 25662

Log:
export m_config_set_profile()



Modified:
   trunk/m_config.c
   trunk/m_config.h

Modified: trunk/m_config.c
==============================================================================
--- trunk/m_config.c	(original)
+++ trunk/m_config.c	Thu Jan 10 19:41:21 2008
@@ -477,7 +477,7 @@ m_config_set_profile_option(m_config_t* 
   return 1;
 }
 
-static void
+void
 m_config_set_profile(m_config_t* config, m_profile_t* p) {
   int i;
   if(config->profile_depth > MAX_PROFILE_DEPTH) {

Modified: trunk/m_config.h
==============================================================================
--- trunk/m_config.h	(original)
+++ trunk/m_config.h	Thu Jan 10 19:41:21 2008
@@ -193,6 +193,15 @@ int
 m_config_set_profile_option(m_config_t* config, m_profile_t* p,
 			    char* name, char* val);
 
+/// Enables profile usage
+/** Used by the config file parser when loading a profile.
+ * 
+ *  \param config The config object.
+ *  \param p The profile object.
+ */
+void
+m_config_set_profile(m_config_t* config, m_profile_t* p);
+
 ///@}
 
 ///@}



More information about the MPlayer-cvslog mailing list