[DVDnav-discuss] [RFC] MPlayer integration hack

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Dec 30 16:36:27 CET 2008


Hello,
this hack:
Index: dvdnav.c
===================================================================
--- dvdnav.c    (revision 1160)
+++ dvdnav.c    (working copy)
@@ -21,9 +21,8 @@
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
+#include "version.h"
 
 /*
 #define LOG_DEBUG

is what I currently use to build libdvdnav directly from within MPlayer.
It is ugly for that use because it uses MPlayer's version string dvdnav ;-)
But on the other hand it seems the quickest way to get a working
solution.
Another possibility would be to add an
#else
#define VERSION ...
Which would also make sense, because a HAVE_CONFIG_H without which
nothing works at all does not make much sense either...

Greetings,
Reimar Döffinger



More information about the DVDnav-discuss mailing list