summaryrefslogtreecommitdiff
path: root/src/xine-utils/xineutils.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-09-16 21:49:34 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-09-16 21:49:34 +0000
commitd2db0f3bbdc81aae2c316751daf1d53b42a3e6a0 (patch)
treee9f4a94547ada41ea13445185a20305378d6c0bd /src/xine-utils/xineutils.h
parentd35f836384d9fa164350612ead96362d9cd7b457 (diff)
downloadxine-lib-d2db0f3bbdc81aae2c316751daf1d53b42a3e6a0.tar.gz
xine-lib-d2db0f3bbdc81aae2c316751daf1d53b42a3e6a0.tar.bz2
- sync ffmpeg to cvs (sorry Mike it still doesn't decode your teststream --
something must be broken at ffmpeg, also happens with mplayer) - added priority sorted lists, now autoprobing should work again. - fixed infinite loop in plugin loader. obs: latest ffmpeg contains ppc optimizations, someone will have to enable these though. CVS patchset: 2676 CVS date: 2002/09/16 21:49:34
Diffstat (limited to 'src/xine-utils/xineutils.h')
-rw-r--r--src/xine-utils/xineutils.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h
index 9875da713..1da508c61 100644
--- a/src/xine-utils/xineutils.h
+++ b/src/xine-utils/xineutils.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: xineutils.h,v 1.22 2002/09/04 23:31:14 guenter Exp $
+ * $Id: xineutils.h,v 1.23 2002/09/16 21:49:35 miguelfreitas Exp $
*
*/
#ifndef XINEUTILS_H
@@ -786,13 +786,15 @@ extern int v_g_table[256];
extern int v_b_table[256];
-/******** double cained lists with builtin iterator *******/
+/******** double chained lists with builtin iterator *******/
typedef struct xine_node_s {
struct xine_node_s *next, *prev;
void *content;
+
+ int priority;
} xine_node_t;
@@ -841,6 +843,11 @@ void *xine_list_last_content (xine_list_t *l);
void *xine_list_prev_content (xine_list_t *l);
/**
+ * Append content to list, sorted by decreasing priority.
+ */
+void xine_list_append_priority_content (xine_list_t *l, void *content, int priority);
+
+/**
* Append content to list.
*/
void xine_list_append_content (xine_list_t *l, void *content);