summaryrefslogtreecommitdiff
path: root/src/xine-engine/plugin_catalog.h
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2004-06-19 19:48:42 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2004-06-19 19:48:42 +0000
commit0207ae8d246fb74bdab61b637e05baf01b437a57 (patch)
treebe906159f105a33f7c213dd503b3ce9d81442602 /src/xine-engine/plugin_catalog.h
parent3b9e4c039149b2c55294d13519cb42cb8ec12091 (diff)
downloadxine-lib-0207ae8d246fb74bdab61b637e05baf01b437a57.tar.gz
xine-lib-0207ae8d246fb74bdab61b637e05baf01b437a57.tar.bz2
readd the decoder's name to the description of the config entry, but do
it right this time: use a different pointer for every decoder by putting the descriptions into a dynamically growing chunk of heap memory the name of the decoder in the description is necessary, because frontends should not have to display the config entry key and this is currently the only string to contain the decoder's name CVS patchset: 6709 CVS date: 2004/06/19 19:48:42
Diffstat (limited to 'src/xine-engine/plugin_catalog.h')
-rw-r--r--src/xine-engine/plugin_catalog.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xine-engine/plugin_catalog.h b/src/xine-engine/plugin_catalog.h
index cc45828e8..4077bcda3 100644
--- a/src/xine-engine/plugin_catalog.h
+++ b/src/xine-engine/plugin_catalog.h
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: plugin_catalog.h,v 1.14 2003/12/09 00:02:36 f1rmb Exp $
+ * $Id: plugin_catalog.h,v 1.15 2004/06/19 19:48:42 mroi Exp $
*
* xine-internal header: Definitions for plugin lists
*
@@ -70,6 +70,11 @@ struct plugin_catalog_s {
plugin_node_t *spu_decoder_map[DECODER_MAX][PLUGINS_PER_TYPE];
const char *ids[PLUGIN_MAX];
+
+ /* memory block for the decoder priority config entry descriptions */
+ char *prio_desc_mem;
+ int prio_desc_next;
+ int prio_desc_size;
pthread_mutex_t lock;
};