Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
gstreamer-plugins-ugly
gstreamer-plugins-ugly-1.0.1-patched_liba52.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gstreamer-plugins-ugly-1.0.1-patched_liba52.patch of Package gstreamer-plugins-ugly
Index: configure =================================================================== --- configure.orig +++ configure @@ -24878,11 +24878,7 @@ int main () { a52_state_t *state; -#if defined(A52_ACCEL_DETECT) - state = a52_init (); -#else state = a52_init (0); -#endif a52_free (state); return 0; } Index: ext/a52dec/gsta52dec.c =================================================================== --- ext/a52dec/gsta52dec.c.orig +++ ext/a52dec/gsta52dec.c @@ -45,9 +45,7 @@ #include <gst/gst.h> #include <a52dec/a52.h> -#if !defined(A52_ACCEL_DETECT) -# include <a52dec/mm_accel.h> -#endif +#include <a52dec/mm_accel.h> #include "gsta52dec.h" #if HAVE_ORC @@ -201,13 +199,11 @@ gst_a52dec_class_init (GstA52DecClass * * generic software djbfft based one when available in the used liba52 */ #ifdef MM_ACCEL_DJBFFT klass->a52_cpuflags = MM_ACCEL_DJBFFT; -#elif defined(A52_ACCEL_DETECT) - klass->a52_cpuflags = A52_ACCEL_DETECT; #else klass->a52_cpuflags = 0; #endif -#if HAVE_ORC && !defined(A52_ACCEL_DETECT) +#if HAVE_ORC cpuflags = orc_target_get_default_flags (orc_target_get_by_name ("mmx")); if (cpuflags & ORC_TARGET_MMX_MMX) klass->a52_cpuflags |= MM_ACCEL_X86_MMX; @@ -246,13 +242,7 @@ gst_a52dec_start (GstAudioDecoder * dec) GST_DEBUG_OBJECT (dec, "start"); klass = GST_A52DEC_CLASS (G_OBJECT_GET_CLASS (a52dec)); -#if defined(A52_ACCEL_DETECT) - a52dec->state = a52_init (); - /* This line is just to avoid being accused of not using klass */ - a52_accel (klass->a52_cpuflags & A52_ACCEL_DETECT); -#else a52dec->state = a52_init (klass->a52_cpuflags); -#endif if (!a52dec->state) { GST_ELEMENT_ERROR (GST_ELEMENT (a52dec), LIBRARY, INIT, (NULL),
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor