mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
a52dec: Only add the MM_ACCEL_DJBFFT flag if it's defined
It's not defined for older liba52 versions.
This commit is contained in:
parent
ebfe6c0746
commit
f5f10797ff
1 changed files with 4 additions and 0 deletions
|
@ -194,7 +194,11 @@ gst_a52dec_class_init (GstA52DecClass * klass)
|
|||
|
||||
/* If no CPU instruction based acceleration is available, end up using the
|
||||
* generic software djbfft based one when available in the used liba52 */
|
||||
#ifdef MM_ACCEL_DJBFFT
|
||||
klass->a52_cpuflags = MM_ACCEL_DJBFFT;
|
||||
#else
|
||||
klass->a52_cpuflags = 0;
|
||||
#endif
|
||||
cpuflags = oil_cpu_get_flags ();
|
||||
if (cpuflags & OIL_IMPL_FLAG_MMX)
|
||||
klass->a52_cpuflags |= MM_ACCEL_X86_MMX;
|
||||
|
|
Loading…
Reference in a new issue