platform/upstream/gstreamer.git
7 years agoappsink: add support for buffer lists
Patricia Muscalu [Mon, 4 Jul 2016 07:32:28 +0000 (09:32 +0200)]
appsink: add support for buffer lists

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

7 years agoplaybin3: remove dead code
Wonchul Lee [Tue, 15 Nov 2016 06:23:20 +0000 (15:23 +0900)]
playbin3: remove dead code

It never reach into this code path, custom_combiner always not null
here.

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

7 years agovideodecoder: Don't answer BYTES queries
Jan Schmidt [Tue, 15 Nov 2016 12:36:41 +0000 (23:36 +1100)]
videodecoder: Don't answer BYTES queries

Refuse to answer BYTES queries ourselves. The only
time they make sense is on raw elementary streams,
in which case upstream would already have answered.

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

7 years agoaudio: Don't answer BYTES queries
Jan Schmidt [Tue, 15 Nov 2016 12:27:17 +0000 (23:27 +1100)]
audio: Don't answer BYTES queries

Refuse to answer BYTES queries ourselves. The only
time they make sense is on raw elementary streams,
in which case upstream would already have answered.

They especially don't make sense for encoders to answer
based on upstream values - although perhaps later
we could make it do TIME->BYTES conversion on the source
pad based on bitrate.

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

7 years agosdp: cast away const in call to g_free
Scott D Phillips [Tue, 15 Nov 2016 00:55:36 +0000 (16:55 -0800)]
sdp: cast away const in call to g_free

MSVC warns about the const here. It's safe to cast away.

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

7 years agoCast away const from GstMetaInfo in *_get_meta_info() functions
Scott D Phillips [Tue, 15 Nov 2016 00:48:16 +0000 (16:48 -0800)]
Cast away const from GstMetaInfo in *_get_meta_info() functions

MSVC warns about the const in the implicit argument conversion in the
calls to g_once_init_{enter,leave}. It's OK so explicitly cast it.

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

7 years agodecodebin3: Clear saw_eos flag of DecodebinInputStream by FLUSH event
Seungha Yang [Sun, 13 Nov 2016 04:15:38 +0000 (13:15 +0900)]
decodebin3: Clear saw_eos flag of DecodebinInputStream by FLUSH event

Likewise how GstPad is doing, saw_eos flag of DecodebinInputStream
must be cleared by FLUSH event.

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

7 years agoplaybin3: Fix deadlock when adding multiple parsebin
Wonchul Lee [Mon, 17 Oct 2016 06:38:37 +0000 (15:38 +0900)]
playbin3: Fix deadlock when adding multiple parsebin

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

7 years agomeson: vorbis: Add -DTREMOR to flags for gstivorbisdec
Scott D Phillips [Mon, 14 Nov 2016 19:39:33 +0000 (11:39 -0800)]
meson: vorbis: Add -DTREMOR to flags for gstivorbisdec

Matching the flags set by Makefile.am

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

7 years agomeson: Fix build when orc is disabled
Thibault Saunier [Mon, 14 Nov 2016 19:28:42 +0000 (16:28 -0300)]
meson: Fix build when orc is disabled

Making sure not to use the orc_dep variable in case
orc has been explicitely disabled.

7 years agoUse intermediate guint when handling GstVideoMultiviewFlags
Scott D Phillips [Fri, 11 Nov 2016 18:38:58 +0000 (10:38 -0800)]
Use intermediate guint when handling GstVideoMultiviewFlags

The underlying integer type of the enum GstVideoMultiviewFlags is
implementation defined and may not have the same size as guint.

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

7 years agoRemove 'return' from `void` functions
Scott D Phillips [Fri, 11 Nov 2016 18:35:00 +0000 (10:35 -0800)]
Remove 'return' from `void` functions

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

7 years agomeson: don't add_global_arguments when being built as a subproject
Scott D Phillips [Thu, 27 Oct 2016 05:37:19 +0000 (22:37 -0700)]
meson: don't add_global_arguments when being built as a subproject

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

7 years agortsp: Include GstSdp-1.0.gir when generating the gir
Thibault Saunier [Thu, 10 Nov 2016 20:05:19 +0000 (17:05 -0300)]
rtsp: Include GstSdp-1.0.gir when generating the gir

It is actually needed as we need some symbols. We do not link
to libgstsdp as the user of the lib should do it (same with
autotools build).

This reverts previous commit

7 years agolibs:rtsp: Remove wrong dependency on Sdp for the gir file
Thibault Saunier [Thu, 10 Nov 2016 19:36:49 +0000 (16:36 -0300)]
libs:rtsp: Remove wrong dependency on Sdp for the gir file

7 years agolibs:rtsp: Remove wrong dependency on Sdp for the gir file
Thibault Saunier [Thu, 10 Nov 2016 19:36:49 +0000 (16:36 -0300)]
libs:rtsp: Remove wrong dependency on Sdp for the gir file

7 years agomeson: Generate girs
Thibault Saunier [Thu, 20 Oct 2016 20:17:27 +0000 (17:17 -0300)]
meson: Generate girs

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

7 years agoaudio-channels: map buffer read-write only if channels differ
Petr Kulhavy [Mon, 7 Nov 2016 11:01:16 +0000 (12:01 +0100)]
audio-channels: map buffer read-write only if channels differ

gst_audio_buffer_reorder_channels() was always mapping the buffer read-write
regardless whether any reordering was needed.  If the from and to channel order
is identical return immediately without remapping the buffer.

Add a small helper function gst_audio_channel_positions_equal() which is used
in both gst_audio_reorder_channels() and gst_audio_buffer_reorder_channels().

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

7 years agovideorate: Add fixed rate property
Joris Valette [Tue, 17 Sep 2013 15:42:05 +0000 (17:42 +0200)]
videorate: Add fixed rate property

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

7 years agoopusdec: fix 120 ms buffers being wrongly emitted
Vincent Penquerc'h [Fri, 4 Nov 2016 16:41:05 +0000 (16:41 +0000)]
opusdec: fix 120 ms buffers being wrongly emitted

Using the max 120 ms buffer size to ensure we have enough space
for decoded data meant that Opus could actually return 120 ms'
worth of data.

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

7 years agowin32: Update exports for new API
Sebastian Dröge [Fri, 4 Nov 2016 16:55:44 +0000 (18:55 +0200)]
win32: Update exports for new API

7 years agovideo: add gst_video_decoder_allocate_output_frame_with_params
Julien Isorce [Fri, 14 Oct 2016 14:14:14 +0000 (15:14 +0100)]
video: add gst_video_decoder_allocate_output_frame_with_params

It adds a third argument to pass GstBufferPoolAcquireParams
to gst_buffer_pool_acquire_buffer.

If a user subclasses GstBufferPoolAcquireParams, this allows to
pass an updated param to the underlying buffer pool at each
gst_video_decoder_allocate_output_frame_with_params call.

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

7 years agovideo-info: Fix the docs to say interlace-mode, not interlaced-mode
Sebastian Dröge [Fri, 4 Nov 2016 14:25:55 +0000 (16:25 +0200)]
video-info: Fix the docs to say interlace-mode, not interlaced-mode

7 years agowin32: add new API to .def file
Tim-Philipp Müller [Thu, 3 Nov 2016 21:34:45 +0000 (21:34 +0000)]
win32: add new API to .def file

Fixes make check and make distcheck

7 years agoallocators: define GST_CAPS_FEATURE_MEMORY_DMABUF
Julien Isorce [Fri, 11 Dec 2015 17:05:14 +0000 (17:05 +0000)]
allocators: define GST_CAPS_FEATURE_MEMORY_DMABUF

Adds "memory:DMABuf" caps feature. Since 1.11 tag.
Useful when the the dma-buf buffer cannot be mapped to CPU for r/w requests.
Example: protected content or platform constraints.

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

7 years agodmabuf: Make the allocator sub-classable
Nicolas Dufresne [Mon, 24 Oct 2016 15:00:07 +0000 (11:00 -0400)]
dmabuf: Make the allocator sub-classable

This should allos for cleaner code when implement such allocator.

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

7 years agoaudiosrc: Leave read loop if no longer running
Nicolas Dufresne [Thu, 27 Nov 2014 18:52:52 +0000 (13:52 -0500)]
audiosrc: Leave read loop if no longer running

In the case a src stops providing data (read calls returns 0). The audio
src thread will never leave. Instead, check the condition and leave the
loop.

7 years agocheck: Fix corrupted xml check files
Edward Hervey [Thu, 3 Nov 2016 16:18:05 +0000 (17:18 +0100)]
check: Fix corrupted xml check files

By making sure each different videoscale check instance gets logged
into different output file

7 years agovideo: Update orc generated files
Sebastian Dröge [Wed, 2 Nov 2016 09:04:32 +0000 (11:04 +0200)]
video: Update orc generated files

7 years agomeson: Add pbtypes plugin
Sebastian Dröge [Wed, 2 Nov 2016 09:03:42 +0000 (11:03 +0200)]
meson: Add pbtypes plugin

7 years agopbtypes: Add a stub plugin that owns the plugins-base dynamic types
Jan Schmidt [Thu, 28 May 2015 12:50:05 +0000 (22:50 +1000)]
pbtypes: Add a stub plugin that owns the plugins-base dynamic types

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

7 years agourisourcebin: Fix adaptive demuxer's property checking and buffering setting
Changbok Chea [Fri, 7 Oct 2016 07:20:24 +0000 (16:20 +0900)]
urisourcebin: Fix adaptive demuxer's property checking and buffering setting

- Add adaptive demuxer's 'connection-speed' property checking
- Set adaptive demuxer q2 buffering property via urisrc use_buffering value

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

7 years agoRevert "video-color: Allow converting incomplete colorimetry to a string"
Sebastian Dröge [Tue, 1 Nov 2016 21:51:47 +0000 (23:51 +0200)]
Revert "video-color: Allow converting incomplete colorimetry to a string"

This reverts commit 158eae7e7e3da3545712dd7d6121492c53085fd9.

It already *always* allowed to convert incomplete colorimetry to a
string.

7 years agortpbasedepayload: Reject non-TIME segments
Sebastian Dröge [Mon, 2 May 2016 06:48:09 +0000 (09:48 +0300)]
rtpbasedepayload: Reject non-TIME segments

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

7 years agoRevert "basertpdepayload: create valid segment when given non-time segment"
Sebastian Dröge [Tue, 1 Nov 2016 19:09:04 +0000 (21:09 +0200)]
Revert "basertpdepayload: create valid segment when given non-time segment"

This reverts commit 0f609bc6c67fea294f4556627228fed72a74d0fb.

7 years agovideo-color: Allow converting incomplete colorimetry to a string
Sebastian Dröge [Fri, 30 Sep 2016 12:03:52 +0000 (15:03 +0300)]
video-color: Allow converting incomplete colorimetry to a string

This is only a good idea for non-raw caps.

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

7 years agovideoencoder: Proxy colorimetry and chroma-site from input to output caps
Sebastian Dröge [Thu, 29 Sep 2016 11:57:02 +0000 (14:57 +0300)]
videoencoder: Proxy colorimetry and chroma-site from input to output caps

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

7 years agovideodecoder: Proxy field order to the output caps
Sebastian Dröge [Thu, 29 Sep 2016 11:48:29 +0000 (14:48 +0300)]
videodecoder: Proxy field order to the output caps

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

7 years agovideoencoder: Proxy interlace-mode and field-order fields from the input to the outpu...
Sebastian Dröge [Thu, 29 Sep 2016 11:48:00 +0000 (14:48 +0300)]
videoencoder: Proxy interlace-mode and field-order fields from the input to the output caps

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

7 years agovideo-info: Add optional field-order caps field for interlaced-mode=interleaved
Sebastian Dröge [Thu, 29 Sep 2016 11:36:42 +0000 (14:36 +0300)]
video-info: Add optional field-order caps field for interlaced-mode=interleaved

Usually this information is static for the whole stream, and various
container formats store this information inside the headers for the
whole stream.

Having it inside the caps for these cases simplifies code and makes it
possible to express these requirements more explicitly with the caps.

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

7 years agomeson: update version
Tim-Philipp Müller [Tue, 1 Nov 2016 18:08:45 +0000 (18:08 +0000)]
meson: update version

7 years agourisourcebin: Remove trailing whitespace
Seungha Yang [Sat, 22 Oct 2016 02:08:18 +0000 (11:08 +0900)]
urisourcebin: Remove trailing whitespace

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

7 years agovideotestsrc: Make snow deterministic
Stian Selnes [Fri, 14 Oct 2016 13:18:28 +0000 (15:18 +0200)]
videotestsrc: Make snow deterministic

Deterministic generation of snow and smpte is important for tests so
that it's not affected by other videotestsrc elements in current or
possibly previous tests.

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

7 years agoaudioconvert: optimize mask calculation
Petr Kulhavy [Fri, 14 Oct 2016 20:31:41 +0000 (22:31 +0200)]
audioconvert: optimize mask calculation

find_suitable_mask() had complexity O(n^2) on the number of bits.
For common case like 2-channel audio the mask was calculated in about 4k loop
cycles.

Optimize both n_bits_set() and find_suitable_mask() to O(n) where n is the
number of bits set in the mask.

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

7 years agoparsebin: Rename variables include 'decode' to 'parse'
hoonhee.lee [Thu, 13 Oct 2016 01:12:10 +0000 (10:12 +0900)]
parsebin: Rename variables include 'decode' to 'parse'

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

7 years agourisourcebin: Fix GST_TYPE_URI_SOURCE_BIN macro typo
Wonchul Lee [Mon, 31 Oct 2016 07:33:41 +0000 (16:33 +0900)]
urisourcebin: Fix GST_TYPE_URI_SOURCE_BIN macro typo

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

7 years agourisourcebin: fix to log event pointer
Wonchul Lee [Mon, 3 Oct 2016 08:12:29 +0000 (17:12 +0900)]
urisourcebin: fix to log event pointer

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

7 years agourisourcebin: Make use of adaptive demuxer variable
Wonchul Lee [Wed, 28 Sep 2016 07:13:46 +0000 (16:13 +0900)]
urisourcebin: Make use of adaptive demuxer variable

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

7 years agoopusdec: interpret zero duration as unknown
Vincent Penquerc'h [Thu, 6 Oct 2016 10:44:11 +0000 (11:44 +0100)]
opusdec: interpret zero duration as unknown

This fixes missing audio when we get buffers with zero
duration, denoting unknown duration. When several such
buffers are received in a row, they're all at the same
timestamp, with zero duration.

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

7 years agoopusdec: fix "buffer too small" error
Vincent Penquerc'h [Mon, 26 Sep 2016 09:50:52 +0000 (10:50 +0100)]
opusdec: fix "buffer too small" error

Always supply a buffer with max size to the decoder, as we
can't really decide how many samples will be in the lost packet
based on the timestamps we get.

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

7 years agosdp: Add tests for rtcp-fb parsing
Tomasz Zajac [Fri, 28 Oct 2016 06:47:40 +0000 (08:47 +0200)]
sdp: Add tests for rtcp-fb parsing

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

7 years agosdp: Parse rtcp-fb media attributes
Tomasz Zajac [Fri, 28 Oct 2016 06:47:01 +0000 (08:47 +0200)]
sdp: Parse rtcp-fb media attributes

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

7 years agosdp: Add rtcp-fb media attributes based on caps
Tomasz Zajac [Wed, 10 Aug 2016 09:38:58 +0000 (11:38 +0200)]
sdp: Add rtcp-fb media attributes based on caps

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

7 years agovideo: Add VYUY pixel format
Nicolas Dufresne [Wed, 7 Sep 2016 19:01:13 +0000 (15:01 -0400)]
video: Add VYUY pixel format

This format is sometimes the output of JPEG decoders. It is the same as
YUY2 and UYVY but with a different component order.

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

7 years agoaudioclock: use GstAudioClock* as first argument in GstAudioClock methods
Marcin Kolny [Thu, 15 Oct 2015 10:52:27 +0000 (12:52 +0200)]
audioclock: use GstAudioClock* as first argument in GstAudioClock methods

All the GstAudioClock method declarations required object of GstClock type
as a first argument, but in fact, required GstAudioClock object (runtime
check in function body). Instead of checking type in run-time, we can
change functions declaration, to accept only GstAudioClock methods. Then,
runtime check is not necessary anymore, since always GstAudioClock object
is passed to a function.

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

7 years agoBack to development
Sebastian Dröge [Tue, 1 Nov 2016 16:53:15 +0000 (18:53 +0200)]
Back to development

7 years agoRelease 1.10.0
Sebastian Dröge [Tue, 1 Nov 2016 15:53:24 +0000 (17:53 +0200)]
Release 1.10.0

7 years agoUpdate .po files
Sebastian Dröge [Tue, 1 Nov 2016 15:43:45 +0000 (17:43 +0200)]
Update .po files

7 years agomeson: Don't depend on gstreamer-check-1.0 on windows
Scott D Phillips [Tue, 25 Oct 2016 15:52:52 +0000 (08:52 -0700)]
meson: Don't depend on gstreamer-check-1.0 on windows

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

7 years agodecodebin3: Fix assertion failure when unreffing NULL stream caps
Graham Leggett [Mon, 24 Oct 2016 19:13:22 +0000 (19:13 +0000)]
decodebin3: Fix assertion failure when unreffing NULL stream caps

GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed

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

7 years agoRevert "meson: move gstreamer-check-1.0 dependency to tests/check"
Nirbheek Chauhan [Tue, 25 Oct 2016 06:16:38 +0000 (11:46 +0530)]
Revert "meson: move gstreamer-check-1.0 dependency to tests/check"

This reverts commit e3c7c17b9b0ff8efb81d23e135178a7be7eaeb1e.

Does not actually work. See:
https://bugzilla.gnome.org/show_bug.cgi?id=773114#c31

7 years agomeson: fix build outside of gst-all
Tim-Philipp Müller [Sun, 23 Oct 2016 23:28:27 +0000 (00:28 +0100)]
meson: fix build outside of gst-all

Unknown variable "apiversion".

7 years agomeson: move gstreamer-check-1.0 dependency to tests/check
Scott D Phillips [Fri, 21 Oct 2016 07:32:15 +0000 (00:32 -0700)]
meson: move gstreamer-check-1.0 dependency to tests/check

7 years agoRevert "meson: Use the new `pic` argument on static libs"
Thibault Saunier [Thu, 20 Oct 2016 20:17:54 +0000 (17:17 -0300)]
Revert "meson: Use the new `pic` argument on static libs"

This reverts commit e3c22605ae96ee1747020c4f367d49faf6916e14.

pic was added after 0.35 and will be present in 0.36 (meson documentation
was wrong).

7 years agomeson: Use the new `pic` argument on static libs
Thibault Saunier [Thu, 20 Oct 2016 18:48:34 +0000 (15:48 -0300)]
meson: Use the new `pic` argument on static libs

We depend on 0.35 already

7 years agoaudio: don't deref NULL
Stefan Sauer [Fri, 14 Oct 2016 12:23:38 +0000 (14:23 +0200)]
audio: don't deref NULL

gst_buffer_copy_region() can return NULL when the buffer meta-data is invalid.

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

7 years agoaudioencoder: Error-handling for pushing headers
Havard Graff [Thu, 3 Dec 2015 13:47:38 +0000 (00:47 +1100)]
audioencoder: Error-handling for pushing headers

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

7 years agovideodecoder: Default caps sets format I420
Stian Selnes [Thu, 13 Oct 2016 10:41:29 +0000 (12:41 +0200)]
videodecoder: Default caps sets format I420

Also the format must be fixed on the default raw caps. If not
gst_video_info_from_caps() will fail and
gst_video_decoder_negotiate_default_caps() return FALSE.

The test simulates the use case where a gap event is received before
the first buffer causing the decoder to fall back to the default caps.

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

7 years agoaudioencoder: Plug buffer-leak
Havard Graff [Fri, 6 May 2016 14:30:57 +0000 (16:30 +0200)]
audioencoder: Plug buffer-leak

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

7 years agoaudio: fix doc string again.
Stefan Sauer [Mon, 17 Oct 2016 07:46:56 +0000 (09:46 +0200)]
audio: fix doc string again.

There was a second '*' at the start of the line. Reword + reformat to make it
obvious.

7 years agotests: add another check for buffer clipping and improve tests
Stefan Sauer [Sat, 15 Oct 2016 20:50:23 +0000 (22:50 +0200)]
tests: add another check for buffer clipping and improve tests

Add a test that check that we handle time ranges (a range of time that maps to
the same sample).
Also update the other tests to use our check api to compare int64 values to get
better output on failure.

7 years agotests: clipping in TIME does not use the offset
Stefan Sauer [Sat, 15 Oct 2016 19:54:40 +0000 (21:54 +0200)]
tests: clipping in TIME does not use the offset

Simplify the test and test only what need to be tested.

7 years agotests: cleanup libs/audio test
Stefan Sauer [Sat, 15 Oct 2016 19:30:22 +0000 (21:30 +0200)]
tests: cleanup libs/audio test

Split large tests into small tests and name them specifically. Use helpers to
avoid repetition. Make sure the order in the file is the same as we add the to
the suite.

7 years agomeson: Don't set c_std to gnu99
Nirbheek Chauhan [Sat, 15 Oct 2016 16:32:48 +0000 (22:02 +0530)]
meson: Don't set c_std to gnu99

Use the default for each compiler on every platform instead. This
improves our compatibility with compilers that don't have gnu99 as
a c_std.

7 years agomeson: Add missing audio-enumtypes.h dep in audio-resampler static libs
Nirbheek Chauhan [Sat, 15 Oct 2016 16:16:27 +0000 (21:46 +0530)]
meson: Add missing audio-enumtypes.h dep in audio-resampler static libs

Seen on the Jenkins CI:

FAILED: subprojects/gst-plugins-base/gst-libs/gst/audio/audio_resampler_sse41@sta/audio-resampler-x86-sse41.c.o
ccache cc  '-Isubprojects/gst-plugins-base/gst-libs/gst/audio/audio_resampler_sse41@sta' '-fdiagnostics-color=always' '-I../subprojects/gst-plugins-base/gst-libs/gst/audio' '-Isubprojects/gst-plugins-base/gst-libs/gst/audio' '-Isubprojects/gst-plugins-base/.' '-I../subprojects/gst-plugins-base/.' '-Isubprojects/gst-plugins-base/gst-libs' '-I../subprojects/gst-plugins-base/gst-libs' '-Isubprojects/gstreamer/libs' '-I../subprojects/gstreamer/libs' '-Isubprojects/gstreamer/.' '-I../subprojects/gstreamer/.' '-pipe' '-Wall' '-Winvalid-pch' '-DHAVE_CONFIG_H' '-msse4.1' '-fPIC' '-O0' '-g' '-fPIC' '-I/usr/include/glib-2.0' '-I/usr/lib/glib-2.0/include' '-pthread' '-Isubprojects/gstreamer/gst' '-MMD' '-MQ' 'subprojects/gst-plugins-base/gst-libs/gst/audio/audio_resampler_sse41@sta/audio-resampler-x86-sse41.c.o' '-MF' 'subprojects/gst-plugins-base/gst-libs/gst/audio/audio_resampler_sse41@sta/audio-resampler-x86-sse41.c.o.d' -o 'subprojects/gst-plugins-base/gst-libs/gst/audio/audio_resampler_sse41@sta/audio-resampler-x86-sse41.c.o' -c ../subprojects/gst-plugins-base/gst-libs/gst/audio/audio-resampler-x86-sse41.c
In file included from ../subprojects/gst-plugins-base/gst-libs/gst/audio/audio-resampler.h:24:0,
                 from ../subprojects/gst-plugins-base/gst-libs/gst/audio/audio-resampler-private.h:23,
                 from ../subprojects/gst-plugins-base/gst-libs/gst/audio/audio-resampler-macros.h:25,
                 from ../subprojects/gst-plugins-base/gst-libs/gst/audio/audio-resampler-x86-sse41.h:23,
                 from ../subprojects/gst-plugins-base/gst-libs/gst/audio/audio-resampler-x86-sse41.c:24:
../subprojects/gst-plugins-base/gst-libs/gst/audio/audio.h:26:39: fatal error: gst/audio/audio-enumtypes.h: No such file or directory
 #include <gst/audio/audio-enumtypes.h>
                                       ^
compilation terminated.

7 years agomeson: Make use of new environment object and set plugin path to builddir
Thibault Saunier [Tue, 4 Oct 2016 20:44:51 +0000 (17:44 -0300)]
meson: Make use of new environment object and set plugin path to builddir

Workaround source_root being the root directory of all projects
in the subproject case.
Remove now unneeded getpluginsdir and define c++ tests in the same loop.

Bump meson requirement to 0.35

7 years agoaudio: fix typo in doc string
Stefan Sauer [Fri, 14 Oct 2016 12:21:28 +0000 (14:21 +0200)]
audio: fix typo in doc string

7 years agodecodebin3: More SELECTION_LOCK when linking to slot
Seungha Yang [Thu, 13 Oct 2016 11:10:09 +0000 (20:10 +0900)]
decodebin3: More SELECTION_LOCK when linking to slot

Since there can be multiple parsebin in a decodebin3,
linking parsebin with MultiQueueSlot should be protected also.

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

7 years agoplayback: GstStreamType is a flag
Edward Hervey [Thu, 13 Oct 2016 09:42:28 +0000 (11:42 +0200)]
playback: GstStreamType is a flag

Therefor don't use equality

7 years agoplayback: decodebin3 and parsebin are streams-aware
Edward Hervey [Tue, 11 Oct 2016 10:36:00 +0000 (12:36 +0200)]
playback: decodebin3 and parsebin are streams-aware

Elements within can add/remove pads at anytime without complying
with the fallback system.

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

7 years agoparsebin: re-use existing compare_factories utils func
Wonchul Lee [Mon, 10 Oct 2016 08:08:11 +0000 (17:08 +0900)]
parsebin: re-use existing compare_factories utils func

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

7 years agovorbisenc: correct codebooks packet identifier from 3 to 5
Vincent Penquerc'h [Fri, 7 Oct 2016 11:49:18 +0000 (12:49 +0100)]
vorbisenc: correct codebooks packet identifier from 3 to 5

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

7 years agoopusdec: Fix memory leak in test code
Jimmy Ohn [Thu, 6 Oct 2016 07:16:30 +0000 (16:16 +0900)]
opusdec: Fix memory leak in test code

gst_caps_to_string function returned allocated memory.
So, It should be free using g_free function.

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

7 years agovideorate: Fix memory leakage in test code
Jimmy Ohn [Thu, 6 Oct 2016 07:24:05 +0000 (16:24 +0900)]
videorate: Fix memory leakage in test code

gst_caps_to_string function returned allocated memory.
So, It should be free using g_free function.

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

7 years agoopusenc: remove segment stop modification on eos
Vincent Penquerc'h [Tue, 27 Sep 2016 08:24:08 +0000 (09:24 +0100)]
opusenc: remove segment stop modification on eos

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

7 years agooggmux: take audio clip meta into account for buffer duration
Vincent Penquerc'h [Mon, 26 Sep 2016 15:31:06 +0000 (16:31 +0100)]
oggmux: take audio clip meta into account for buffer duration

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

7 years agovorbisenc: strip after-eos samples from the end of the eos buffer
Vincent Penquerc'h [Mon, 26 Sep 2016 15:25:14 +0000 (16:25 +0100)]
vorbisenc: strip after-eos samples from the end of the eos buffer

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

7 years agovideo-color: Mark some function arguments as const
Sebastian Dröge [Fri, 30 Sep 2016 11:54:24 +0000 (14:54 +0300)]
video-color: Mark some function arguments as const

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

7 years agomeson: require orc 0.4.24 here too
Tim-Philipp Müller [Mon, 3 Oct 2016 07:56:55 +0000 (08:56 +0100)]
meson: require orc 0.4.24 here too

Needed for some video stuff. Same requirement as in
the autotools build.

7 years agomeson: Enable SSE intrinsics in audio-resampler
Arun Raghavan [Mon, 3 Oct 2016 05:29:37 +0000 (10:59 +0530)]
meson: Enable SSE intrinsics in audio-resampler

This files need to be built with the specific C flags for the
corresponding processor optimisations.

7 years agomeson: Enable Orc in build
Arun Raghavan [Mon, 3 Oct 2016 05:28:09 +0000 (10:58 +0530)]
meson: Enable Orc in build

Top-level meson.build code updated from gst-plugins-good.

7 years agomeson: Setup pre commit hook and fix getpluginsdir for standalone case
Thibault Saunier [Fri, 30 Sep 2016 14:35:37 +0000 (11:35 -0300)]
meson: Setup pre commit hook and fix getpluginsdir for standalone case

7 years agomeson: update version
Tim-Philipp Müller [Fri, 30 Sep 2016 10:41:10 +0000 (11:41 +0100)]
meson: update version

7 years agoRelease 1.9.90
Sebastian Dröge [Fri, 30 Sep 2016 10:01:53 +0000 (13:01 +0300)]
Release 1.9.90

7 years agoUpdate .po files
Sebastian Dröge [Fri, 30 Sep 2016 09:12:12 +0000 (12:12 +0300)]
Update .po files

7 years agopo: Update translations
Sebastian Dröge [Fri, 30 Sep 2016 08:42:21 +0000 (11:42 +0300)]
po: Update translations

7 years agoaudio-resampler: Add a missing header to noinst_HEADERS
Arun Raghavan [Thu, 29 Sep 2016 14:24:52 +0000 (19:54 +0530)]
audio-resampler: Add a missing header to noinst_HEADERS

7 years agoaudiorsample: Fix build on 32-bit x86
Arun Raghavan [Thu, 29 Sep 2016 14:15:16 +0000 (19:45 +0530)]
audiorsample: Fix build on 32-bit x86

Turns out _mm_cvtsi128_si64() isn't available on 32-bit, so only build
SSE 4.1 optimisations on x86-64 for now.

7 years agoaudioresample: Separate out CFLAGS used for SSE* code
Arun Raghavan [Wed, 28 Sep 2016 12:07:38 +0000 (17:37 +0530)]
audioresample: Separate out CFLAGS used for SSE* code

This makes sure that we only build files that need explicit SIMD support
with the relevant CFLAGS. This allows the rest of the code to be built
without, and specific SSE* code is only called after runtime checks for
CPU features.

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

7 years agoaudioresample: Fix some gobject introspection warnings
Arun Raghavan [Wed, 28 Sep 2016 13:38:52 +0000 (19:08 +0530)]
audioresample: Fix some gobject introspection warnings