diff options
author | Bastien Nocera <hadess@users.sourceforge.net> | 2006-02-01 15:11:42 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@users.sourceforge.net> | 2006-02-01 15:11:42 +0000 |
commit | 6150d7ac3256f0ce0fa2dcca67187c2654b12aa6 (patch) | |
tree | cfdf2ac59284338085f6d4fc1c45009cf0c75320 | |
parent | 0d054cc3e8f5f55317626f681713fdb99b7e1f65 (diff) | |
download | xine-lib-6150d7ac3256f0ce0fa2dcca67187c2654b12aa6.tar.gz xine-lib-6150d7ac3256f0ce0fa2dcca67187c2654b12aa6.tar.bz2 |
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
-rw-r--r-- | src/xine-engine/load_plugins.c | 4 |
1 files 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; |