From 6150d7ac3256f0ce0fa2dcca67187c2654b12aa6 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 1 Feb 2006 15:11:42 +0000 Subject: Fix the sorting of plugin priorities, as per Thibaut's mail "The plugin_node_comparator function used by the plugin sorted arrays sorts the plugins by priority ASC instead of DESC." CVS patchset: 7860 CVS date: 2006/02/01 15:11:42 --- src/xine-engine/load_plugins.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 19df1b662..586ddf9b5 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -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: load_plugins.c,v 1.218 2006/01/27 07:46:15 tmattern Exp $ + * $Id: load_plugins.c,v 1.219 2006/02/01 15:11:42 hadess Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -436,7 +436,7 @@ static int _plugin_node_comparator(void *a, void *b) { plugin_node_t *node_a = (plugin_node_t *)a; plugin_node_t *node_b = (plugin_node_t *)b; - if (node_a->priority < node_b->priority) { + if (node_a->priority > node_b->priority) { return -1; } else if (node_a->priority == node_b->priority) { return 0; -- cgit v1.2.3