diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-09-05 22:18:50 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-09-05 22:18:50 +0000 |
commit | c0178b0e481332c8aa9ab2b1226d64426eeed9fd (patch) | |
tree | 62183313777b7b3b1b504dc7ca74ea99f7ed59c8 /src/dxr3/dxr3_decode_spu.c | |
parent | 08eb3436712ed19ac471cd0ddcc6d8ab1c30e4e7 (diff) | |
download | xine-lib-c0178b0e481332c8aa9ab2b1226d64426eeed9fd.tar.gz xine-lib-c0178b0e481332c8aa9ab2b1226d64426eeed9fd.tar.bz2 |
remove plugin's private priority and interface members
adapt some more decoders
CVS patchset: 2618
CVS date: 2002/09/05 22:18:50
Diffstat (limited to 'src/dxr3/dxr3_decode_spu.c')
-rw-r--r-- | src/dxr3/dxr3_decode_spu.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/dxr3/dxr3_decode_spu.c b/src/dxr3/dxr3_decode_spu.c index 6cfcf619c..01b445d0d 100644 --- a/src/dxr3/dxr3_decode_spu.c +++ b/src/dxr3/dxr3_decode_spu.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: dxr3_decode_spu.c,v 1.17 2002/09/05 12:52:24 mroi Exp $ + * $Id: dxr3_decode_spu.c,v 1.18 2002/09/05 22:18:54 mroi Exp $ */ /* dxr3 spu decoder plugin. @@ -66,14 +66,13 @@ static decoder_info_t dxr3_spudec_info = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_SPU_DECODER, 10, "dxr3-spudec", XINE_VERSION_CODE, &dxr3_spudec_info, &dxr3_spudec_init_plugin }, + { PLUGIN_SPU_DECODER, 9, "dxr3-spudec", XINE_VERSION_CODE, &dxr3_spudec_info, &dxr3_spudec_init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; /* functions required by xine api */ static char *dxr3_spudec_get_id(void); -static int dxr3_spudec_can_handle(spu_decoder_t *this_gen, int buf_type); static void dxr3_spudec_init(spu_decoder_t *this_gen, vo_instance_t *vo_out); static void dxr3_spudec_decode_data(spu_decoder_t *this_gen, buf_element_t *buf); static void dxr3_spudec_reset(spu_decoder_t *this_gen); @@ -145,13 +144,11 @@ static void *dxr3_spudec_init_plugin(xine_t *xine, void* data) } this->spu_decoder.get_identifier = dxr3_spudec_get_id; - this->spu_decoder.can_handle = dxr3_spudec_can_handle; this->spu_decoder.init = dxr3_spudec_init; this->spu_decoder.decode_data = dxr3_spudec_decode_data; this->spu_decoder.reset = dxr3_spudec_reset; this->spu_decoder.close = dxr3_spudec_close; this->spu_decoder.dispose = dxr3_spudec_dispose; - this->spu_decoder.priority = 10; this->xine = xine; /* We need to talk to dxr3 video out to coordinate spus and overlays */ @@ -175,13 +172,6 @@ static char *dxr3_spudec_get_id(void) return "dxr3-spudec"; } -static int dxr3_spudec_can_handle(spu_decoder_t *this_gen, int buf_type) -{ - int type = buf_type & 0xFFFF0000; - return (type == BUF_SPU_PACKAGE || type == BUF_SPU_CLUT || - type == BUF_SPU_NAV || type == BUF_SPU_SUBP_CONTROL); -} - static void dxr3_spudec_init(spu_decoder_t *this_gen, vo_instance_t *vo_out) { dxr3_spudec_t *this = (dxr3_spudec_t *)this_gen; |