diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-01-05 22:06:44 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-01-05 22:06:44 +0000 |
commit | 9412aebd29d5cd1b02a5727ee770b89e94600ceb (patch) | |
tree | ad25d438187bec8dbb99dfa4d8128285809345ff /src | |
parent | 40c98c1a67fe438d1f38ac3df091daca5aca5d9e (diff) | |
download | xine-lib-9412aebd29d5cd1b02a5727ee770b89e94600ceb.tar.gz xine-lib-9412aebd29d5cd1b02a5727ee770b89e94600ceb.tar.bz2 |
api update
CVS patchset: 1347
CVS date: 2002/01/05 22:06:44
Diffstat (limited to 'src')
-rw-r--r-- | src/dxr3/dxr3_decoder.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/dxr3/dxr3_decoder.c b/src/dxr3/dxr3_decoder.c index a28a476b9..db6e6a341 100644 --- a/src/dxr3/dxr3_decoder.c +++ b/src/dxr3/dxr3_decoder.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_decoder.c,v 1.53 2001/12/24 19:31:13 hrm Exp $ + * $Id: dxr3_decoder.c,v 1.54 2002/01/05 22:06:44 miguelfreitas Exp $ * * dxr3 video and spu decoder plugin. Accepts the video and spu data * from XINE and sends it directly to the corresponding dxr3 devices. @@ -708,18 +708,20 @@ static void dxr3_flush_decoder(void *this_gen, cfg_entry_t *entry) } video_decoder_t *init_video_decoder_plugin (int iface_version, - config_values_t *cfg) + xine_t *xine) { dxr3_decoder_t *this ; + config_values_t *cfg; - if (iface_version != 4) { + if (iface_version != 5) { printf( "dxr3: plugin doesn't support plugin API version %d.\n" "dxr3: this means there's a version mismatch between xine and this\n" "dxr3: decoder plugin. Installing current plugins should help.\n", iface_version); return NULL; } - + + cfg = xine->config; devname = cfg->register_string (cfg, LOOKUP_DEV, DEFAULT_DEV, "Dxr3: Device Name",NULL,NULL,NULL); dxr3_presence_test (); |