From ae7b89f9542523d43d82eaacc9ff2cf0a927cef0 Mon Sep 17 00:00:00 2001 From: Harm van der Heijden Date: Sat, 27 Oct 2001 04:30:39 +0000 Subject: - 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 --- src/libdivx4/decore-if.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libdivx4/decore-if.h') 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 -- cgit v1.2.3