diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-07-30 17:13:20 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-07-30 17:13:20 +0000 |
commit | f16cbec39f3f2455582feb65a0b0bcd089d4eeb5 (patch) | |
tree | fefa04ad6daf1e3684be6cdd2ac62c478a1ca7df /src/dxr3/dxr3_decoder.c | |
parent | d7d643a64c67075d7c8afed2b89d94db242b2f5c (diff) | |
download | xine-lib-f16cbec39f3f2455582feb65a0b0bcd089d4eeb5.tar.gz xine-lib-f16cbec39f3f2455582feb65a0b0bcd089d4eeb5.tar.bz2 |
fixed video/audio/spu decoder version handling
CVS patchset: 370
CVS date: 2001/07/30 17:13:20
Diffstat (limited to 'src/dxr3/dxr3_decoder.c')
-rw-r--r-- | src/dxr3/dxr3_decoder.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/dxr3/dxr3_decoder.c b/src/dxr3/dxr3_decoder.c index cbdfe65ad..537da7eb9 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.3 2001/07/25 15:03:15 ehasenle Exp $ + * $Id: dxr3_decoder.c,v 1.4 2001/07/30 17:13:20 guenter Exp $ * * dxr3 video and spu decoder plugin. Accepts the video and spu data * from XINE and sends it directly to the corresponding dxr3 devices. @@ -273,8 +273,13 @@ spu_decoder_t *init_spu_decoder_plugin (int iface_version, { spudec_decoder_t *this; - if (iface_version != 1) + if (iface_version != 2) { + printf( "dxr3: plugin doesn't support plugin API version %d.\n" + "dxr3: this means there's a version mismatch between xine and this " + "dxr3: decoder plugin.\nInstalling current plugins should help.\n", + iface_version); return NULL; + } this = (spudec_decoder_t *) malloc (sizeof (spudec_decoder_t)); |