Commit graph

356 commits

Author SHA1 Message Date
Tim-Philipp Müller
240cb809a9 Release 1.15.1 2019-01-17 02:21:50 +00:00
Tim-Philipp Müller
6aa62114c5 Remove swscale plugin code
This has been disabled for 5.5 years, time to remove it.
2018-07-17 00:57:34 +01:00
Mathieu Duponchelle
f42ce26ae9 Update ffmpeg version requirements
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:28 +02:00
Mathieu Duponchelle
aedcf438d0 configure: update libav configure args
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:28 +02:00
Jan Schmidt
03dcb1dc03 configure: Always use full path for gas-preprocessor PATH entry
Don't pass a relative path to gas-preprocessor, always use an
absolute path to make sure it's found
2018-05-01 14:42:17 +10:00
Jan Schmidt
7f11e32e8b configure: fix handling of the input AS var passed to ffmpeg
Store the original AS environment variable passed to configure
correctly, and export it so it's actually available to the sub-process
when configuring the embedded ffmpeg
2018-05-01 14:42:10 +10:00
Tim-Philipp Müller
800b26174f Back to development 2018-03-20 09:41:11 +00:00
Tim-Philipp Müller
1830c75cd2 Release 1.14.0 2018-03-19 20:25:40 +00:00
Tim-Philipp Müller
5328250745 Release 1.13.91 2018-03-13 19:26:53 +00:00
Nicolas Dufresne
2e23201c84 configure.ac: enable largefile support if possible
https://bugzilla.gnome.org/show_bug.cgi?id=793103
2018-03-08 11:22:57 -05:00
Tim-Philipp Müller
af8cc8ab89 Release 1.13.90 2018-03-03 22:44:21 +00:00
Matthew Waters
a8b01a4559 explicitly disable v4l2_m2m codecs
They fail with android NDK r16
2018-02-20 18:19:22 +11:00
Tim-Philipp Müller
4db38efef5 Back to development 2018-02-15 19:44:26 +00:00
Tim-Philipp Müller
2eabdb63c8 Release 1.13.1 2018-02-15 19:00:19 +00:00
Tim-Philipp Müller
1e1ff4ece5 autotools: use -fno-strict-aliasing where supported
https://bugzilla.gnome.org/show_bug.cgi?id=769183
2018-02-05 08:47:18 +01:00
Ting-Wei Lan
27d8c8c456 configure: Replace -Bsymbolic-functions with -Bsymbolic
The documentation of libav says -Bsymbolic may be needed when building a
shared library which links statically to libav.

Fixes linking error on FreeBSD:

gst-libav/gst-libs/ext/.libs/libavcodec.a(simple_idct10.o):
 relocation R_X86_64_PC32 against `ff_pw_1023' can not be used when making a
 shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value

https://bugzilla.gnome.org/show_bug.cgi?id=791783
2018-01-22 12:02:30 +00:00
U. Artie Eoff
7a951369c7 libav: use LIBAV_CPPFLAGS for -I include paths
Autotools automatically appends user CPPFLAGS after target
CPPFLAGS.  Also, it puts all CPPFLAGS before CFLAGS in final
generated gcc compile command.  The internal ffmpeg include
paths need to come before any other external include paths
to ensure we don't accidentally pickup external ffmpeg
headers first (i.e. from user CPPFLAGS include paths).  Thus,
move the internal LIBAV include paths to LIBAV_CPPFLAGS so
that they come before any user defined CPPFLAGS.

This allows ffmpeg and gst-ffmpeg to coexist on users system.

https://bugzilla.gnome.org/show_bug.cgi?id=789379
2018-01-13 12:18:54 +00:00
Nicolas Dufresne
7b0a5ad309 plugin: Explicitly link to BZ2, LZMA and LZ
While all this information is in the .la files, libtool seems to get
confused with ordering in presence of static system libraries. This could
cause missing symbol error at link time. Adding these depenencies explicitly
workaround the issue.
2017-05-20 15:27:52 +02:00
Jan Schmidt
ac9fc8031e Pass $CC as AS, unless $AS is provided. Add gas-preprocessor
Add gas-preprocessor.pl as a git submodule, and put it in the
path so that it is available if libav wants it.

Switch back to providing $CC as $AS by default, but
respect an external $AS setting so that it can be
overridden in cerbero

https://bugzilla.gnome.org/show_bug.cgi?id=694416
2017-05-20 20:08:09 +10:00
Nicolas Dufresne
a65562fe9c Remove plugin specific static build option
Static and dynamic plugins now have the same interface. The standard
--enable-static/--enable-shared toggle are sufficient.
2017-05-16 14:43:11 -04:00
Nicolas Dufresne
1038ae2327 Generate .la for internal libav libraries
This should help libtool in getting the internal linking right.
Effectively, libtool can sometime get the link order wrong when
presented with a mix of .la and -l arguments. These .la file are
also required by the android build system and were previously
created by cerbero.
2017-05-12 12:34:09 -04:00
Nicolas Dufresne
0b48f0e3fd Use a portable method to link against internal FFMPEG
In the last iteration, we kept the original method to link the shared
plugin and edited the .a and .la files so satisfy what cerbero needed.
Unfortunately, that required adding .a file into the archive which is
not allowed with iOS ar command for universal builds.

This patch uses standard method to link a static library. One of the
benefit is that it removes some libtool warning about portability.
For the static case, we implement an install hook that installs
FFMPEG internal .a files in the plugin directory (so it does not get
confused with a possible system FFMPEG. This makes the static plugin
usable without depending on cerbero recipe.
2017-05-11 10:08:14 -04:00
Sebastian Dröge
57c7a1fae2 Back to development 2017-05-04 18:59:14 +03:00
Sebastian Dröge
011dc043c8 Release 1.12.0 2017-05-04 15:39:47 +03:00
Sebastian Dröge
4b1c9ef6ac Release 1.11.91 2017-04-27 17:35:41 +03:00
Jan Schmidt
02fc07cfa9 Revert "configure: Set the assembler used for libav to $CC"
This reverts commit 1a265f029a.

It also makes it impossible to pass something other than $CC
as the assembler. People should adjust the passed AS variable
if they need something different.
2017-04-21 20:54:20 +10:00
Edward Hervey
b32076dc34 configure: Remove usage of memalign_hack in ffmpeg
It was removed in the last release
2017-04-14 14:55:52 +02:00
Sebastian Dröge
aff7ab6fdf Release 1.11.90 2017-04-07 16:34:46 +03:00
Sebastian Dröge
eef810318a Back to development 2017-02-24 15:37:46 +02:00
Sebastian Dröge
d3cb08dded Release 1.11.2 2017-02-24 15:07:59 +02:00
Sebastian Dröge
7944485aee configure: Require building against at least ffmpeg 3.0
See also https://bugzilla.gnome.org/show_bug.cgi?id=778283
2017-02-08 16:10:52 +02:00
Sebastian Dröge
fca6cd0460 Back to development 2017-01-12 16:32:56 +02:00
Sebastian Dröge
c39e08dfb5 Release 1.11.1 2017-01-12 16:11:31 +02:00
Tim-Philipp Müller
beb11a99ba Really remove generated .spec file 2016-12-16 17:33:44 +00:00
Michael Olbrich
83ff353ff9 configure: fix target_os when cross-compiling for arm
For arm 'host_os' is '*-gnueabi' or '*-gnueabihf' so sed needs to cut of
more. Otherwise configuring ffmpeg will fail with "Unknown OS 'linuxeabi'."
or something like that.

https://bugzilla.gnome.org/show_bug.cgi?id=774215
2016-11-10 17:30:16 +02:00
Sebastian Dröge
d634d9fac3 Back to development 2016-11-01 18:53:15 +02:00
Sebastian Dröge
50ffd5a805 Release 1.10.0 2016-11-01 18:10:45 +02:00
Sebastian Dröge
e64c140d1c configure: Fix shell syntax error
Assignments must not have spaces around the '='
2016-10-24 10:30:05 +03:00
Sebastian Dröge
4a9a7d61e5 Release 1.9.90 2016-09-30 13:03:42 +03:00
Sebastian Dröge
036da8b33c configure: Depend on gstreamer 1.9.2.1 2016-09-14 11:31:07 +02:00
Thibault Saunier
f6c31d1cb6 build: Do not link plugin against lzma and bz2 if using system install
And bump version to 1.9.2
2016-09-05 12:44:37 -03:00
Sebastian Dröge
b6c5ea582a Back to development 2016-09-01 12:31:21 +03:00
Sebastian Dröge
fca6c1bdb0 Release 1.9.2 2016-09-01 12:31:10 +03:00
Josep Torra
410b0e3842 build: silence error about pthread for 'make check' in osx
Fixes "clang: error: argument unused during compilation: '-pthread'"
2016-08-26 21:47:04 +02:00
Sebastian Dröge
490e98913d configure: Explicitly disable CrystalHD decoder
Otherwise it will pick it up when the system has the relevant headers,
and then linking produces an unusable plugin later as we don't ensure
that the plugin also links against the crystalhd library.

https://bugzilla.gnome.org/show_bug.cgi?id=769809
2016-08-16 21:11:35 +03:00
Sebastian Dröge
c098043a40 Back to development 2016-07-06 13:51:12 +03:00
Sebastian Dröge
351f65cc35 Release 1.9.1 2016-07-06 13:26:10 +03:00
Sebastian Dröge
ee5e2bcd6b libav: Disable various other hardware related codecs 2016-07-01 09:29:03 +02:00
Edward Hervey
840de21f05 configure: Disable VAAPI support
We have native plugins (gst-vaapi) for that
2016-07-01 09:25:14 +02:00
Edward Hervey
c8a6a30d43 configure: Disable {audio|video}toolbox support (osx/ios)
We already have native plugins for those
2016-07-01 09:16:41 +02:00