[Bug 789379] New: wrong ffmpeg headers used during compilation

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Oct 24 02:48:18 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=789379

            Bug ID: 789379
           Summary: wrong ffmpeg headers used during compilation
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-libav
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ullysses.a.eoff at intel.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

When user defines include path in CPPFLAGS and upstream ffmpeg is installed in
that path, then gst-ffmpeg includes wrong ffmpeg header files for ext/libav
plugin compilation when configured to use internal ffmpeg (i.e. it uses the
headers from CPPFLAGS path).  As of today, the upstream ffmpeg headers are not
compatible with gst-ffmpeg and this causes compilation failure.

The gcc command line that gets generated by autotools ends up like (assuming
CPPFLAGS=-I/opt/local/include):

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I
../../gst-libs/ext/libav -I ../../gst-libs/ext/libav
-Wno-deprecated-declarations ...

Instead, it should be something like:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I ../../gst-libs/ext/libav
-I ../../gst-libs/ext/libav -I/opt/local/include -Wno-deprecated-declarations

-- 
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