From 9a451b04d9032a304ca1be979997aebd1aff3ddb Mon Sep 17 00:00:00 2001 From: Eduard Hasenleithner Date: Tue, 31 Jul 2001 15:31:52 +0000 Subject: The mpeg2 decoder (first part) of this plugin has not been updated for the iface_version=2 fix. CVS patchset: 373 CVS date: 2001/07/31 15:31:52 --- src/dxr3/dxr3_decoder.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src') 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)); -- cgit v1.2.3