GNOME Bugzilla – Bug 737892
openh264: update to latest openh264 release and use pkg-config
Last modified: 2015-01-14 11:13:21 UTC
I installed openh264 in gst-uninstalled prefix, running configure on -bad, does not detect the library, if I link the library from uninstalled prefix in /usr/include and /usr/lib openh264 plugin are built correctly
That's because the uninstalled prefix is not placed into CPPFLAGS/CFLAGS/LDFLAGS/CXXFLAGS by gst-uninstalled.
Thanks for the suggestion I tryed to set include path and lib path as you suggested with no success, for now I'll use the symlink, however any other library in the uninstalled prefix is used with no issue (glib,pango ecc..)
even if -bad configure does not find openh264 if I add this line: OPENH264_LIBS = -lopenh264 to ext/openh264/Makefile the plugin is builded and it works, can this be a bug if the configure?
It should work once we use newer openh264 releases which provide a pkg-config file. Zaheer was working on that.
I'm working on it. If you want a stop gap, use this commit: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=15394aa70543f55c54fa8a474805224f4138f76c
it works fine with git master and openh264 1.3.1
For some reason, bumping to openh264 1.3.1 makes the ios builds fail (openh264 builds fine, but it's no longer detected by -bad's configure): https://ci.gstreamer.net/job/cerbero-ios-universal-7.1/1582/console
Should be fixed now: http://cgit.freedesktop.org/gstreamer/cerbero/commit/?id=90b419b632cd9493e352e15327ab683d73966c40