diff options
-rw-r--r-- | src/dxr3/dxr3_decoder.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/dxr3/dxr3_decoder.c b/src/dxr3/dxr3_decoder.c index 537da7eb9..d661de24b 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.4 2001/07/30 17:13:20 guenter Exp $ + * $Id: dxr3_decoder.c,v 1.5 2001/07/31 15:31:52 ehasenle Exp $ * * dxr3 video and spu decoder plugin. Accepts the video and spu data * from XINE and sends it directly to the corresponding dxr3 devices. @@ -176,8 +176,13 @@ video_decoder_t *init_video_decoder_plugin (int iface_version, { dxr3_decoder_t *this ; - if (iface_version != 1) - return NULL; + 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\n" + "dxr3: decoder plugin. Installing current plugins should help.\n", + iface_version); + return NULL; + } this = (dxr3_decoder_t *) malloc (sizeof (dxr3_decoder_t)); |