From 4342442ad0ce25f88453d053271630f8257cf143 Mon Sep 17 00:00:00 2001 From: Thibaut Mattern Date: Sun, 16 May 2004 18:01:26 +0000 Subject: Priority support. 0 for "raw" demuxers 10 for "normal" demuxers CVS patchset: 6553 CVS date: 2004/05/16 18:01:26 --- src/demuxers/demux_image.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/demuxers/demux_image.c') diff --git a/src/demuxers/demux_image.c b/src/demuxers/demux_image.c index fbaa22572..b684417c7 100644 --- a/src/demuxers/demux_image.c +++ b/src/demuxers/demux_image.c @@ -19,7 +19,7 @@ */ /* - * $Id: demux_image.c,v 1.13 2004/01/12 17:35:14 miguelfreitas Exp $ + * $Id: demux_image.c,v 1.14 2004/05/16 18:01:43 tmattern Exp $ * * image dummy demultiplexer */ @@ -229,9 +229,12 @@ static void *init_class (xine_t *xine, void *data) { /* * exported plugin catalog entry */ +demuxer_info_t demux_info_image = { + 10 /* priority */ +}; plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_DEMUX, 24, "image", XINE_VERSION_CODE, NULL, init_class }, + { PLUGIN_DEMUX, 24, "image", XINE_VERSION_CODE, &demux_info_image, init_class }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; -- cgit v1.2.3