[Bug 648816] New: [compile] with-ffmpeg-extra-configure passes incorrect cflags

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Apr 27 15:18:40 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=648816
  GStreamer | gst-ffmpeg | 0.10.11

           Summary: [compile] with-ffmpeg-extra-configure passes incorrect
                    cflags
    Classification: Platform
           Product: GStreamer
           Version: 0.10.11
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-ffmpeg
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: pprakash at ti.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=186784)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=186784)
config error file attached for reference

I am trying to compile gst-ffmpeg for armv7 with arm optimization. I have
validated vfp and neon optimization configuration on FFmpeg. However, when I
pass these exact config elements through gst-ffmpeg, FFmpeg configure fails.
config.err shows extra quotes added to cflags which is obviously not recognized
by the compiler. 

Validated on FFmpeg alone (ffmpeg/configure):
--extra-cflags='-march=armv7-a -mfpu=neon -mfloat-abi=softfp' 

gst-ffmpeg extra configuration (gst-ffmpeg-0.10.11/configure):
--with-ffmpeg-extra-configure="--disable-gpl --disable-postproc
--extra-cflags='-mfpu=neon -mfloat-abi=softfp'"
--->
Resultant config parameters on FFmpeg
(gst-ffmpeg-0.10.11/gst-libs/ext/ffmpeg/config.err- attached):
 --extra-cflags=''\''-mfpu=neon' -mfloat-abi='softfp'\'''

I shall look into this in more detail, but any inputs are highly appreciated.

Also, I think passing in --enable-gpl and --enable-postproc should be an
optional extra configure rather than a default config option. Thoughts?

Thank you.

Regards,
Punya

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list