platform/upstream/gst-libav.git
6 years agoavcfg: use g_object_get_property, not g_object_getv
Mathieu Duponchelle [Fri, 13 Jul 2018 15:21:25 +0000 (17:21 +0200)]
avcfg: use g_object_get_property, not g_object_getv

I simply confused those two, we didn't need g_object_getv
here anyway.

6 years agoavcfg: ignore some generic properties
Mathieu Duponchelle [Thu, 12 Jul 2018 20:05:27 +0000 (22:05 +0200)]
avcfg: ignore some generic properties

We expose profile, level and colorimetry / colorspaces through
caps.

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

6 years agoavcfg: add skip support to overrides system
Mathieu Duponchelle [Thu, 12 Jul 2018 19:57:57 +0000 (21:57 +0200)]
avcfg: add skip support to overrides system

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

6 years agomeson: add FFmpeg meson as a fallback
Mathieu Duponchelle [Tue, 3 Jul 2018 22:21:45 +0000 (00:21 +0200)]
meson: add FFmpeg meson as a fallback

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

6 years agoauddec: fix luck-based sinkpad access
Mathieu Duponchelle [Tue, 3 Jul 2018 22:18:44 +0000 (00:18 +0200)]
auddec: fix luck-based sinkpad access

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

6 years agoUpdate ffmpeg version requirements
Mathieu Duponchelle [Mon, 2 Jul 2018 15:55:00 +0000 (17:55 +0200)]
Update ffmpeg version requirements

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

6 years agoRemove obsolete scale and resample sources
Mathieu Duponchelle [Mon, 2 Jul 2018 15:39:30 +0000 (17:39 +0200)]
Remove obsolete scale and resample sources

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

6 years agoconfigure: update libav configure args
Mathieu Duponchelle [Mon, 2 Jul 2018 15:38:13 +0000 (17:38 +0200)]
configure: update libav configure args

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

6 years agolibav: Update to n4.0.1 release
Mathieu Duponchelle [Mon, 2 Jul 2018 15:31:08 +0000 (17:31 +0200)]
libav: Update to n4.0.1 release

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

6 years agomeson: stop ignoring deprecation warnings!
Mathieu Duponchelle [Mon, 2 Jul 2018 02:14:09 +0000 (04:14 +0200)]
meson: stop ignoring deprecation warnings!

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

6 years agoavvidenc: port to send_frame / receive_packet
Mathieu Duponchelle [Mon, 2 Jul 2018 02:12:36 +0000 (04:12 +0200)]
avvidenc: port to send_frame / receive_packet

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

6 years agoavviddec: fix invalid alignment calculations.
Mathieu Duponchelle [Mon, 2 Jul 2018 02:05:19 +0000 (04:05 +0200)]
avviddec: fix invalid alignment calculations.

avcodec_align_dimensions2 uses context->pix_fmt to make its
calculations, we thus need to make sure it is adequately set
when calling it.

Fixes:

gst-launch-1.0 videotestsrc ! video/x-raw, width=1920, height=1080 \
! avenc_mpeg4 ! avdec_mpeg4 ! xvimagesink

This showed invalid writes under valgrind, then segfault.

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

6 years agoavaudenc: port to send_frame / receive_packet
Mathieu Duponchelle [Sun, 1 Jul 2018 15:09:05 +0000 (17:09 +0200)]
avaudenc: port to send_frame / receive_packet

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

6 years agoavmux: fix remaining warnings
Mathieu Duponchelle [Sun, 1 Jul 2018 00:34:41 +0000 (02:34 +0200)]
avmux: fix remaining warnings

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

6 years agoavauddec: fix remaining warnings
Mathieu Duponchelle [Sun, 1 Jul 2018 00:23:06 +0000 (02:23 +0200)]
avauddec: fix remaining warnings

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

6 years agoavauddec: port to new decoding API
Mathieu Duponchelle [Sun, 1 Jul 2018 00:21:46 +0000 (02:21 +0200)]
avauddec: port to new decoding API

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

6 years agoavaudenc: further cleanup
Mathieu Duponchelle [Sat, 30 Jun 2018 21:28:31 +0000 (23:28 +0200)]
avaudenc: further cleanup

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

6 years agoavaudenc: install options generically
Mathieu Duponchelle [Sat, 30 Jun 2018 21:27:06 +0000 (23:27 +0200)]
avaudenc: install options generically

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

6 years agoavviddec: fix signed/unsigned comparisons
Mathieu Duponchelle [Sat, 30 Jun 2018 00:18:43 +0000 (02:18 +0200)]
avviddec: fix signed/unsigned comparisons

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

6 years agoavvidec: port to new decoding API
Mathieu Duponchelle [Sat, 30 Jun 2018 00:14:33 +0000 (02:14 +0200)]
avvidec: port to new decoding API

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

6 years agogstav: stop calling deprecated registration methods
Mathieu Duponchelle [Fri, 29 Jun 2018 19:54:11 +0000 (21:54 +0200)]
gstav: stop calling deprecated registration methods

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

6 years agoauddec: stop using deprecated getters
Mathieu Duponchelle [Fri, 29 Jun 2018 19:46:00 +0000 (21:46 +0200)]
auddec: stop using deprecated getters

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

6 years agoav_oformat_next (deprecated) -> av_muxer_iterate
Mathieu Duponchelle [Fri, 29 Jun 2018 19:38:50 +0000 (21:38 +0200)]
av_oformat_next (deprecated) -> av_muxer_iterate

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

6 years agoav_iformat_next (deprecated) -> av_demuxer_iterate
Mathieu Duponchelle [Fri, 29 Jun 2018 19:37:06 +0000 (21:37 +0200)]
av_iformat_next (deprecated) -> av_demuxer_iterate

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

6 years agoavauddec: remove obsolete version check
Mathieu Duponchelle [Fri, 29 Jun 2018 19:21:30 +0000 (21:21 +0200)]
avauddec: remove obsolete version check

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

6 years agoav_codec_next (deprecated) -> av_codec_iterate
Mathieu Duponchelle [Fri, 29 Jun 2018 19:20:36 +0000 (21:20 +0200)]
av_codec_next (deprecated) -> av_codec_iterate

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

6 years agoavdemux: port to AVCodecParameters
Mathieu Duponchelle [Fri, 29 Jun 2018 18:59:46 +0000 (20:59 +0200)]
avdemux: port to AVCodecParameters

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

6 years agoavmux: port to AVCodecParameters
Mathieu Duponchelle [Fri, 29 Jun 2018 18:37:14 +0000 (20:37 +0200)]
avmux: port to AVCodecParameters

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

6 years agoRemove all uses of AVPicture
Mathieu Duponchelle [Fri, 29 Jun 2018 02:52:02 +0000 (04:52 +0200)]
Remove all uses of AVPicture

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

6 years agoavaudenc: remove obsolete setting of rc_strategy
Mathieu Duponchelle [Mon, 2 Jul 2018 15:10:03 +0000 (17:10 +0200)]
avaudenc: remove obsolete setting of rc_strategy

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

6 years agoRefactor avcfg / avvidenc
Mathieu Duponchelle [Wed, 27 Jun 2018 18:41:37 +0000 (20:41 +0200)]
Refactor avcfg / avvidenc

We were previously installing hardcoded properties for all
video encoders, refactor to instead use FFmpeg's AVOption API.

avvidenc still exposes a few properties related to the pass
mechanism: while the AVOption API allows specifying both passes
as flags at the same time, this is not practical in GStreamer's
context, where passes need to be run separately using a stats file.

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

6 years agoavviddec: Stop using deperated EDGE API
Nicolas Dufresne [Mon, 30 Apr 2018 20:02:21 +0000 (16:02 -0400)]
avviddec: Stop using deperated EDGE API

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

6 years agoUse AV_ namespace for all CODEC_ macro
Nicolas Dufresne [Mon, 30 Apr 2018 19:54:44 +0000 (15:54 -0400)]
Use AV_ namespace for all CODEC_ macro

The remaining use of CODEC_ are codec flags that has been moved into the
new codec private properties or have been deperated. Will be fixed in
later patches.

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

6 years agoUse AV_ namespace for INPUT_BUFFER_PADDING_SIZE
Nicolas Dufresne [Mon, 30 Apr 2018 19:41:40 +0000 (15:41 -0400)]
Use AV_ namespace for INPUT_BUFFER_PADDING_SIZE

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

6 years agoDon't include deprecated avfiltergraph.h header
Nicolas Dufresne [Mon, 30 Apr 2018 19:37:50 +0000 (15:37 -0400)]
Don't include deprecated avfiltergraph.h header

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

6 years agoavdemux: fix memory leaks
Roland Jon [Thu, 31 May 2018 09:28:44 +0000 (17:28 +0800)]
avdemux: fix memory leaks

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

6 years agolibav: Switch to common include
Edward Hervey [Fri, 11 May 2018 12:24:03 +0000 (14:24 +0200)]
libav: Switch to common include

6 years agoavmux: Remove unneeded constant variable
Edward Hervey [Fri, 11 May 2018 12:19:42 +0000 (14:19 +0200)]
avmux: Remove unneeded constant variable

Since the removal of the gif hacks, the variable was always set to
its default value of FALSE. Just remove it.

CID #1433656

6 years agoavvidec: Expose Closed Caption as GstVideoCaptionMeta
Edward Hervey [Thu, 22 Feb 2018 14:57:24 +0000 (15:57 +0100)]
avvidec: Expose Closed Caption as GstVideoCaptionMeta

6 years agoExpose support for DSD
Mathieu Duponchelle [Sat, 5 May 2018 16:00:06 +0000 (18:00 +0200)]
Expose support for DSD

DSD is usually wrapped in DSF, for which we now also expose the
demuxer.

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

6 years agogstavdemux: adjust seeking offset according to start_time
Matej Knopp [Sat, 12 Jul 2014 13:26:36 +0000 (15:26 +0200)]
gstavdemux: adjust seeking offset according to start_time

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

6 years agomeson: Update option names to omit disable_ and with- prefixes
Nirbheek Chauhan [Sat, 5 May 2018 14:33:49 +0000 (20:03 +0530)]
meson: Update option names to omit disable_ and with- prefixes

Also yield common options to the outer project (gst-build in our case)
so that they don't have to be set manually.

6 years agoUpdate gas-preprocessor submodule
Jan Schmidt [Tue, 1 May 2018 04:57:43 +0000 (14:57 +1000)]
Update gas-preprocessor submodule

6 years agoconfigure: Always use full path for gas-preprocessor PATH entry
Jan Schmidt [Mon, 30 Apr 2018 19:19:28 +0000 (05:19 +1000)]
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

6 years agoconfigure: fix handling of the input AS var passed to ffmpeg
Jan Schmidt [Fri, 27 Apr 2018 14:14:45 +0000 (00:14 +1000)]
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

6 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 16 Apr 2018 09:53:36 +0000 (10:53 +0100)]
Automatic update of common submodule

From 3fa2c9e to ed78bee

6 years agoBack to development
Tim-Philipp Müller [Tue, 20 Mar 2018 09:41:11 +0000 (09:41 +0000)]
Back to development

6 years agoRelease 1.14.0
Tim-Philipp Müller [Mon, 19 Mar 2018 20:25:38 +0000 (20:25 +0000)]
Release 1.14.0

6 years agoUpdate docs
Tim-Philipp Müller [Mon, 19 Mar 2018 20:25:38 +0000 (20:25 +0000)]
Update docs

6 years agoRelease 1.13.91
Tim-Philipp Müller [Tue, 13 Mar 2018 19:26:51 +0000 (19:26 +0000)]
Release 1.13.91

6 years agoUpdate docs
Tim-Philipp Müller [Tue, 13 Mar 2018 19:26:51 +0000 (19:26 +0000)]
Update docs

6 years agoconfigure.ac: enable largefile support if possible
Nicolas Dufresne [Thu, 8 Mar 2018 16:22:29 +0000 (11:22 -0500)]
configure.ac: enable largefile support if possible

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

6 years agobuild: prefer using *.la references when creating our own libtool files
Matthew Waters [Tue, 6 Mar 2018 03:40:20 +0000 (14:40 +1100)]
build: prefer using *.la references when creating our own libtool files

Otherwise we will reference the dependant libraries with -lfoo rather than
/path/to/libfoo.la which breaks with the Android-based .la parser which
simply passes through all -l libraries.

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

6 years agoRelease 1.13.90
Tim-Philipp Müller [Sat, 3 Mar 2018 22:44:19 +0000 (22:44 +0000)]
Release 1.13.90

6 years agoUpdate docs
Tim-Philipp Müller [Sat, 3 Mar 2018 22:44:19 +0000 (22:44 +0000)]
Update docs

6 years agomeson: enable more warnings
Mathieu Duponchelle [Thu, 1 Mar 2018 18:01:58 +0000 (19:01 +0100)]
meson: enable more warnings

6 years agoexplicitly disable v4l2_m2m codecs
Matthew Waters [Wed, 14 Feb 2018 12:45:51 +0000 (23:45 +1100)]
explicitly disable v4l2_m2m codecs

They fail with android NDK r16

6 years agoBack to development
Tim-Philipp Müller [Thu, 15 Feb 2018 19:44:26 +0000 (19:44 +0000)]
Back to development

6 years agoRelease 1.13.1
Tim-Philipp Müller [Thu, 15 Feb 2018 17:15:15 +0000 (17:15 +0000)]
Release 1.13.1

6 years agodocs: update plugin docs
Tim-Philipp Müller [Thu, 15 Feb 2018 17:14:36 +0000 (17:14 +0000)]
docs: update plugin docs

6 years agoav*mux: Disable gif related "hacks"
Edward Hervey [Mon, 12 Feb 2018 07:32:01 +0000 (08:32 +0100)]
av*mux: Disable gif related "hacks"

This is properly handled by the previous commit now

6 years agoEnable gif format, and make it so avdemux_gif and avdec_gif can autoplug
Mathieu Duponchelle [Tue, 13 Jun 2017 16:50:50 +0000 (18:50 +0200)]
Enable gif format, and make it so avdemux_gif and avdec_gif can autoplug

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

6 years agolibav: Update to n3.4.2 release
Edward Hervey [Mon, 12 Feb 2018 06:38:13 +0000 (07:38 +0100)]
libav: Update to n3.4.2 release

6 years agoavvid*: Don't expose V4L2 mem-to-mem decoder and encoders
Edward Hervey [Sat, 10 Feb 2018 14:18:11 +0000 (15:18 +0100)]
avvid*: Don't expose V4L2 mem-to-mem decoder and encoders

It's not going to work without special handling. Mask for now.

6 years agogst-libs: Switch to ffmpeg n3.4.1
Edward Hervey [Sat, 10 Feb 2018 13:56:50 +0000 (14:56 +0100)]
gst-libs: Switch to ffmpeg n3.4.1

6 years agomeson: make version numbers ints and fix int/string comparison
Tim-Philipp Müller [Thu, 8 Feb 2018 19:18:21 +0000 (19:18 +0000)]
meson: make version numbers ints and fix int/string comparison

WARNING: Trying to compare values of different types (str, int).
The result of this is undefined and will become a hard error
in a future Meson release.

6 years agoautotools: use -fno-strict-aliasing where supported
Tim-Philipp Müller [Mon, 5 Feb 2018 07:47:18 +0000 (08:47 +0100)]
autotools: use -fno-strict-aliasing where supported

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

6 years agomeson: use -fno-strict-aliasing where supported
Tim-Philipp Müller [Tue, 30 Jan 2018 20:37:18 +0000 (20:37 +0000)]
meson: use -fno-strict-aliasing where supported

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

6 years agoconfigure: Replace -Bsymbolic-functions with -Bsymbolic
Ting-Wei Lan [Sat, 20 Jan 2018 07:45:45 +0000 (15:45 +0800)]
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

6 years agolibav: use LIBAV_CPPFLAGS for -I include paths
U. Artie Eoff [Tue, 24 Oct 2017 02:35:31 +0000 (19:35 -0700)]
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

6 years agoavprotocol: fix leak in error code paths
Ashish Kumar [Tue, 3 Oct 2017 08:27:24 +0000 (13:57 +0530)]
avprotocol: fix leak in error code paths

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

6 years agoAutomatic update of common submodule
Matthew Waters [Thu, 14 Dec 2017 03:53:10 +0000 (14:53 +1100)]
Automatic update of common submodule

From e8c7a71 to 3fa2c9e

6 years agoAutomatic update of common submodule
Matthew Waters [Mon, 27 Nov 2017 09:16:52 +0000 (20:16 +1100)]
Automatic update of common submodule

From 3f4aa96 to e8c7a71

7 years agolibav: Update to ffmpeg n3.3.5
Sebastian Dröge [Tue, 31 Oct 2017 06:54:29 +0000 (08:54 +0200)]
libav: Update to ffmpeg n3.3.5

7 years agoavdemux: Whitelist the demuxers required for GC/Wii/WiiU ADPCM streams
Jan Alexander Steffens (heftig) [Thu, 19 Oct 2017 14:15:26 +0000 (16:15 +0200)]
avdemux: Whitelist the demuxers required for GC/Wii/WiiU ADPCM streams

Required to play .brstm (GameCube/Wii) and .bfstm (Wii U) files. Needs
at least avdec_adpcm_thp too, but that one is already accessible.

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

7 years agoavdemux: reset to 0 negative pts
Nicola Murino [Sat, 23 Sep 2017 15:14:03 +0000 (17:14 +0200)]
avdemux: reset to 0 negative pts

for us pts are unsigned so reset to 0 negative pts returned from libav.
This is better than outputs completly wrong timestamps

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

7 years agolibav: Update to ffmpeg n3.3.4
Sebastian Dröge [Mon, 18 Sep 2017 12:45:32 +0000 (15:45 +0300)]
libav: Update to ffmpeg n3.3.4

7 years agogstavcodecmap: Do not require a channel-mask
Mathieu Duponchelle [Thu, 17 Aug 2017 12:28:22 +0000 (14:28 +0200)]
gstavcodecmap: Do not require a channel-mask

.. for mono or stereo input.

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

7 years agoAutomatic update of common submodule
Tim-Philipp Müller [Thu, 17 Aug 2017 11:25:58 +0000 (12:25 +0100)]
Automatic update of common submodule

From 48a5d85 to 3f4aa96

7 years agomeson: don't export symbols by default
Tim-Philipp Müller [Fri, 11 Aug 2017 19:26:06 +0000 (20:26 +0100)]
meson: don't export symbols by default

Only plugin entry points should be exported.

7 years agoRevert "avviddec: Remove usage of deprecated EDGE APIs"
Sebastian Dröge [Thu, 10 Aug 2017 15:55:29 +0000 (18:55 +0300)]
Revert "avviddec: Remove usage of deprecated EDGE APIs"

This reverts commit 4284d791bc2c3ae716e4f99cedd870de9f575aec.

It causes crashes on various h264 and DNXHD/VC3 streams, where the
decoders write to arbitrary memory far after what we've allocated.

7 years agolibav: Update to ffmpeg n3.3.3
Sebastian Dröge [Thu, 10 Aug 2017 14:22:46 +0000 (17:22 +0300)]
libav: Update to ffmpeg n3.3.3

7 years agolibswscale: Memory leak in gst_video_frame_map
Satya Prakash Gupta [Tue, 11 Jul 2017 08:15:35 +0000 (13:45 +0530)]
libswscale: Memory leak in gst_video_frame_map

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

7 years agoavdemux/mux: Memory leak and possible crash in avio_alloc_context
Satya Prakash Gupta [Tue, 11 Jul 2017 06:04:03 +0000 (11:34 +0530)]
avdemux/mux: Memory leak and possible crash in avio_alloc_context

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

7 years agoavviddec: Remove usage of deprecated EDGE APIs
Nicolas Dufresne [Tue, 11 Jul 2017 13:36:45 +0000 (09:36 -0400)]
avviddec: Remove usage of deprecated EDGE APIs

As a side effect, left/right green bars goes away when using
xvimagesink. I just think that xv cropping is broken, so this is
probably just hiding a bug.

7 years agoavmux: Blacklist scc muxer
Sebastian Dröge [Mon, 10 Jul 2017 07:33:03 +0000 (10:33 +0300)]
avmux: Blacklist scc muxer

We have no codec mappings for it and it's a subtitle/closed caption
"muxer" anyway.

7 years agomeson: find python3 via python3 module
Tim-Philipp Müller [Fri, 7 Jul 2017 10:59:41 +0000 (11:59 +0100)]
meson: find python3 via python3 module

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

7 years agomeson: fix with-package-name option
Tim-Philipp Müller [Mon, 26 Jun 2017 08:53:46 +0000 (09:53 +0100)]
meson: fix with-package-name option

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

7 years agolibav: Update to ffmpeg n3.3.2
Sebastian Dröge [Tue, 20 Jun 2017 07:50:38 +0000 (10:50 +0300)]
libav: Update to ffmpeg n3.3.2

7 years agomeson: add options to set package name and origin
Tim-Philipp Müller [Sat, 20 May 2017 14:16:04 +0000 (15:16 +0100)]
meson: add options to set package name and origin

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

7 years agoplugin: Explicitly link to BZ2, LZMA and LZ
Nicolas Dufresne [Sat, 20 May 2017 13:27:52 +0000 (15:27 +0200)]
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.

7 years agoDon't fail if running "make clean" twice
Nicolas Dufresne [Sat, 20 May 2017 11:05:23 +0000 (13:05 +0200)]
Don't fail if running "make clean" twice

7 years agoPass $CC as AS, unless $AS is provided. Add gas-preprocessor
Jan Schmidt [Sat, 20 May 2017 10:02:39 +0000 (20:02 +1000)]
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

7 years agolibav: Update to ffmpeg n3.3.1
Sebastian Dröge [Wed, 17 May 2017 07:41:57 +0000 (10:41 +0300)]
libav: Update to ffmpeg n3.3.1

7 years agoRemove plugin specific static build option
Nicolas Dufresne [Tue, 16 May 2017 18:43:11 +0000 (14:43 -0400)]
Remove plugin specific static build option

Static and dynamic plugins now have the same interface. The standard
--enable-static/--enable-shared toggle are sufficient.

7 years agoavviddec: Don't expose NVIDIA CUVID decoder
Sebastian Dröge [Tue, 16 May 2017 15:54:32 +0000 (18:54 +0300)]
avviddec: Don't expose NVIDIA CUVID decoder

It's not working without further changes on our side, like all hardware
decoders in ffmpeg.

7 years agoGenerate .la for internal libav libraries
Nicolas Dufresne [Fri, 12 May 2017 01:17:21 +0000 (21:17 -0400)]
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.

7 years agoUse automake to install dependency libraries
Nicolas Dufresne [Thu, 11 May 2017 17:31:50 +0000 (13:31 -0400)]
Use automake to install dependency libraries

The install line was using -t parameter which is not supported on OSX.
Instead, use automake DATA installation mechanism, this way we rely on
automake to generate portable scripts.

7 years agoUse a portable method to link against internal FFMPEG
Nicolas Dufresne [Thu, 11 May 2017 01:20:05 +0000 (21:20 -0400)]
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.

7 years agostatic: Update libgstlibav.lai too
Nicolas Dufresne [Wed, 10 May 2017 16:10:54 +0000 (12:10 -0400)]
static: Update libgstlibav.lai too

Libtool will produce libgstlibav.la and libgstlibav.lai (the installed
version). We need to edit at least the installed version for the final
linking of static application to work.