summaryrefslogtreecommitdiff
path: root/src/libdivx4/decore-if.h
diff options
context:
space:
mode:
authorHarm van der Heijden <hrm@users.sourceforge.net>2001-10-27 04:30:39 +0000
committerHarm van der Heijden <hrm@users.sourceforge.net>2001-10-27 04:30:39 +0000
commitae7b89f9542523d43d82eaacc9ff2cf0a927cef0 (patch)
treeb23a30f45aa3c66e1cd89723516e700102f28d88 /src/libdivx4/decore-if.h
parente51d7306d9791c19316b780b8743e3c40ef2c8d7 (diff)
downloadxine-lib-ae7b89f9542523d43d82eaacc9ff2cf0a927cef0.tar.gz
xine-lib-ae7b89f9542523d43d82eaacc9ff2cf0a927cef0.tar.bz2
- latest decore versions finally have a method for getting the
version; added version checking in the plugin. This should filter out most rotten OpenDivx libs. Version checking can be overridden in the .xinerc for trying other decore libs. - removed divx4_format variable, since method 0 was plain wrong and 1 the only good one. Now everything is done with DEC_USER. - code cleanup, split off a few extra functions for readability CVS patchset: 891 CVS date: 2001/10/27 04:30:39
Diffstat (limited to 'src/libdivx4/decore-if.h')
-rw-r--r--src/libdivx4/decore-if.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libdivx4/decore-if.h b/src/libdivx4/decore-if.h
index 72e34521a..869057dad 100644
--- a/src/libdivx4/decore-if.h
+++ b/src/libdivx4/decore-if.h
@@ -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: decore-if.h,v 1.1 2001/10/14 00:43:06 guenter Exp $
+ * $Id: decore-if.h,v 1.2 2001/10/27 04:30:39 hrm Exp $
*
* This file documents the interface for the decore() function
* in libdivxdecore. In case of problems, it is recommended you compare
@@ -56,6 +56,7 @@ extern "C" {
#define DEC_OPT_FRAME 5
#define DEC_OPT_FRAME_311 6
#define DEC_OPT_SETPP2 7
+#define DEC_OPT_VERSION 8
/* decore() return values. */
#define DEC_OK 0