Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 120383 Details for
Bug 179899
media-libs/xine-lib does not tell a52dec to use djbfft
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add --enable-djbfft to xine-lib configure script
xine-lib-1.1.4-external-a52dec-with-djbfft.patch (text/plain), 1.55 KB, created by
Daniel Burr
on 2007-05-26 15:48:11 UTC
(
hide
)
Description:
Add --enable-djbfft to xine-lib configure script
Filename:
MIME Type:
Creator:
Daniel Burr
Created:
2007-05-26 15:48:11 UTC
Size:
1.55 KB
patch
obsolete
>diff -ruN xine-lib-1.1.4.orig/configure.ac xine-lib-1.1.4/configure.ac >--- xine-lib-1.1.4.orig/configure.ac 2007-01-29 03:17:56.000000000 +1000 >+++ xine-lib-1.1.4/configure.ac 2007-05-27 00:06:37.514946481 +1000 >@@ -1275,6 +1275,13 @@ > > if test "x$have_a52" = "xno"; then > AC_MSG_RESULT([*** no usable version of a52dec found, using internal copy ***]) >+ else >+ dnl check for djbttf >+ AC_ARG_ENABLE([djbfft], >+ [ --enable-djbfft make a version using djbfft]) >+ if test x"$enable_djbfft" = x"yes"; then >+ AC_DEFINE([HAVE_DJBFFT],,[liba52 djbfft support]) >+ fi > fi > else > AC_MSG_RESULT([Use included a52dec support]) >diff -ruN xine-lib-1.1.4.orig/src/xine-utils/cpu_accel.c xine-lib-1.1.4/src/xine-utils/cpu_accel.c >--- xine-lib-1.1.4.orig/src/xine-utils/cpu_accel.c 2006-05-23 02:35:15.000000000 +1000 >+++ xine-lib-1.1.4/src/xine-utils/cpu_accel.c 2007-05-27 00:07:06.850984585 +1000 >@@ -324,6 +324,16 @@ > #else > accel |= MM_ACCEL_MLIB; > #endif >+#elif defined(HAVE_DJBFFT) >+ /* >+ * HAVE_DJBFFT will be defined only if we are using an external >+ * liba52 and --enable-djbfft was passed to configure. External >+ * versions of liba52 use MM_ACCEL_DJBFFT in place of MM_ACCEL_MLIB >+ * although they are both #defined to be 0x00000001. What we are >+ * actually saying here is: >+ * accel |= MM_ACCEL_DJBFFT >+ */ >+ accel |= MM_ACCEL_MLIB; > #endif > > #if defined(ARCH_X86) || defined(ARCH_X86_64) || (defined(ARCH_PPC) && defined(ENABLE_ALTIVEC)) || (defined(ARCH_SPARC) && defined(ENABLE_VIS))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 179899
: 120383 |
120384