summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorHarm van der Heijden <hrm@users.sourceforge.net>2001-12-11 02:26:58 +0000
committerHarm van der Heijden <hrm@users.sourceforge.net>2001-12-11 02:26:58 +0000
commit1416e359d0bfcb59d2021d3904b50dc55bbfe466 (patch)
tree70b528bb6b17cfbbcdc1d05bfe3d00813dd9909b /m4
parent92e1c20178c3517c3edb47936f4b532a575331d4 (diff)
downloadxine-lib-1416e359d0bfcb59d2021d3904b50dc55bbfe466.tar.gz
xine-lib-1416e359d0bfcb59d2021d3904b50dc55bbfe466.tar.bz2
- major code cleanup in dxr3enc driver. Still one big c file, but now
easy to split into core + fame + rte - now official support for librte-0.4 (zapping.sf.net); updated configure scripts, checks for librte added. Possible to compile both librte and libfame support in at the same time, configuration via .xinerc. - fixed YUY2 decoding, both for libfame and librte. Note: unifying dxr3enc (non-mpeg) and dxr3 (mpeg) seems rather easy right now. I think I'll wait with it for a bit, because perhaps the dxr3-dvd fixes need major replumbing in the dxr3 vo driver (but I don't expect that; all mpeg stuff is done in the dxr3 decoder plugin) CVS patchset: 1220 CVS date: 2001/12/11 02:26:58
Diffstat (limited to 'm4')
-rw-r--r--m4/_xine.m424
1 files changed, 19 insertions, 5 deletions
diff --git a/m4/_xine.m4 b/m4/_xine.m4
index 411347e0f..8257a59f9 100644
--- a/m4/_xine.m4
+++ b/m4/_xine.m4
@@ -95,13 +95,27 @@ AC_DEFUN([AC_CHECK_DXR3],
[have_dxr3=no
AC_MSG_RESULT([*** DXR3 support disabled due to missing em8300.h ***])])
if test "$have_dxr3" = "yes"; then
- have_fame=yes
+ AC_MSG_RESULT([*** checking for a supported mpeg encoder])
+ have_encoder=no
+ have_libfame=yes
AC_CHECK_LIB(fame, fame_open,
- [AC_CHECK_HEADER(fame.h, true, have_fame=no)], have_fame=no)
- if test "$have_fame" = "yes"; then
- AC_MSG_RESULT([found libfame, will compile dxr3enc video out driver]);
+ [AC_CHECK_HEADER(fame.h, true, have_libfame=no)], have_libfame=no)
+ if test "$have_libfame" = "yes"; then
+ AC_DEFINE(HAVE_LIBFAME)
+ have_encoder=yes
+ fi
+ have_librte=yes
+ AC_CHECK_LIB(rte, rte_init,
+ [AC_CHECK_HEADER(rte.h, true, have_librte=no)], have_librte=no)
+ if test "$have_librte" = "yes"; then
+ AC_DEFINE(HAVE_LIBRTE)
+ AC_MSG_WARN([this will probably only work with rte version 0.4!])
+ have_encoder=yes
+ fi
+ if test "$have_encoder" = "yes"; then
+ AC_MSG_RESULT([*** found one or more mpeg encoders, will compile dxr3enc video out driver]);
else
- AC_MSG_RESULT([*** dxr3enc support disabled due to missing libfame ***]);
+ AC_MSG_RESULT([*** no mpeg encoder found, will skip dxr3enc video out driver]);
fi
fi
else