summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEduard Hasenleithner <ehasenle@users.sourceforge.net>2001-07-31 15:31:52 +0000
committerEduard Hasenleithner <ehasenle@users.sourceforge.net>2001-07-31 15:31:52 +0000
commit9a451b04d9032a304ca1be979997aebd1aff3ddb (patch)
treedbf5e358c13c636d7d3f403724de40bd6be46f5b /src
parentef00f213831fbf03ad7036e67d587b691a62c8bc (diff)
downloadxine-lib-9a451b04d9032a304ca1be979997aebd1aff3ddb.tar.gz
xine-lib-9a451b04d9032a304ca1be979997aebd1aff3ddb.tar.bz2
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
Diffstat (limited to 'src')
-rw-r--r--src/dxr3/dxr3_decoder.c11
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));