platform/upstream/gstreamer.git
8 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

8 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

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

8 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

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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

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

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

8 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

8 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

8 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

8 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".

8 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

8 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).

8 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

8 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

8 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

8 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

8 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

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

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

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

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

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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

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

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

8 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

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

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

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

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

8 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

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

8 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

8 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

8 years agoplaybin3: Remove fallback properties/signals
Edward Hervey [Mon, 26 Sep 2016 08:01:08 +0000 (10:01 +0200)]
playbin3: Remove fallback properties/signals

These can all be used via the GstStream API

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

8 years agotests: playbin-complex test needs oggdemux
Tim-Philipp Müller [Sun, 25 Sep 2016 21:02:22 +0000 (22:02 +0100)]
tests: playbin-complex test needs oggdemux

8 years agotests: videotimecode: fix floating point comparisons
Tim-Philipp Müller [Sat, 24 Sep 2016 20:11:32 +0000 (21:11 +0100)]
tests: videotimecode: fix floating point comparisons

Comparing floats for equality is not necessarily going to
work reliably, so use fail_unless_equals_float() for this.
Test would fail on x86 (Intel Atom x5-Z8300).

8 years agotests: adder: disable racy flush_start_flush_stop test
Tim-Philipp Müller [Sun, 25 Sep 2016 15:22:16 +0000 (16:22 +0100)]
tests: adder: disable racy flush_start_flush_stop test

It's been broken for years, and it's unlikely it will ever
be fixed for collectpads/adder now that there's audiomixer
which works fine. So let's disable it, since all it does
is that it creates noise that distracts from other failures.

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

8 years agovideo-scaler: take number of bits into account when copying
Wim Taymans [Thu, 22 Sep 2016 14:15:54 +0000 (16:15 +0200)]
video-scaler: take number of bits into account when copying

Copy twice the amount of pixels for 16 bits formats.

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

8 years agostreamsynchronizer: Correctly calculate group start times in reverse playback mode
Sebastian Dröge [Tue, 20 Sep 2016 19:12:22 +0000 (15:12 -0400)]
streamsynchronizer: Correctly calculate group start times in reverse playback mode

We have to calculate from the segment.stop, not the segment.start, as
playback goes from stop to start. This fix works around another race
condition in streamsynchronizer in my testcase.

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

8 years agoexamples: seek: fix build with MSVC
Tim-Philipp Müller [Tue, 20 Sep 2016 16:31:55 +0000 (17:31 +0100)]
examples: seek: fix build with MSVC

Use G_PI instead of M_PI. Could also have defined
_USE_MATH_DEFINES or included gst/math-compat.h but
this seems simplest.

8 years agodoc: Add missing map flag to gst_video_frame_map()
Nicolas Dufresne [Mon, 19 Sep 2016 15:27:10 +0000 (11:27 -0400)]
doc: Add missing map flag to gst_video_frame_map()

Add missing map flag, and also add unmap call.

8 years agoaudiotestsrc: Fix segment boundary checking for reverse playback
Sebastian Dröge [Sat, 17 Sep 2016 10:42:46 +0000 (12:42 +0200)]
audiotestsrc: Fix segment boundary checking for reverse playback

8 years agoaudiotestsrc: Don't adjust segment time in seek handler
Sebastian Dröge [Wed, 14 Sep 2016 14:51:30 +0000 (16:51 +0200)]
audiotestsrc: Don't adjust segment time in seek handler

basesrc already did that very well for us, adjusting it again on top of
that just breaks various non-standard seeks.

8 years agoconfigure: Depend on gstreamer 1.9.2.1
Sebastian Dröge [Wed, 14 Sep 2016 09:29:59 +0000 (11:29 +0200)]
configure: Depend on gstreamer 1.9.2.1

8 years agovideooverlaycomposition: document required map flags
Víctor Manuel Jáquez Leal [Wed, 14 Sep 2016 08:14:18 +0000 (10:14 +0200)]
videooverlaycomposition: document required map flags

Fix documentation for gst_video_overlay_composition_blend(). The video frame
needs to be mapped with GST_MAP_READWRITE flag.

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

8 years agoplayback: Use new gst_bin_set_suppressed_flags() API instead of worrying about the...
Sebastian Dröge [Mon, 12 Sep 2016 16:37:21 +0000 (18:37 +0200)]
playback: Use new gst_bin_set_suppressed_flags() API instead of worrying about the flags in multiple places

8 years agoAutomatic update of common submodule
Jan Schmidt [Sat, 10 Sep 2016 10:50:56 +0000 (20:50 +1000)]
Automatic update of common submodule

From b18d820 to f980fd9

8 years agotests: videoscale: split test into multiple ones
Tim-Philipp Müller [Sat, 10 Sep 2016 09:05:28 +0000 (10:05 +0100)]
tests: videoscale: split test into multiple ones

The videoscale test takes eternities to run, that's not
great. Split the test into multiple ones. That way they
can be run in parallel. Reduces time to run all tests in
-base from 29 secs to 12 secs when using meson/ninja.

8 years agoAutomatic update of common submodule
Jan Schmidt [Fri, 9 Sep 2016 23:53:49 +0000 (09:53 +1000)]
Automatic update of common submodule

From f49c55e to b18d820

8 years agomeson: Raise test timeout to 3 minutes
Thibault Saunier [Wed, 7 Sep 2016 20:02:23 +0000 (17:02 -0300)]
meson: Raise test timeout to 3 minutes

The videoscale testsuite (with 50 tests) last almost 2 minutes here

8 years agovideo/test: Coding style fix
Nicolas Dufresne [Wed, 7 Sep 2016 18:24:54 +0000 (14:24 -0400)]
video/test: Coding style fix

8 years agomeson: Workaround the qt5 module not letting us now the preprocessor is not avalaible
Thibault Saunier [Mon, 5 Sep 2016 22:55:58 +0000 (19:55 -0300)]
meson: Workaround the qt5 module not letting us now the preprocessor is not avalaible

If moc-qt5 is not avalaible, meson breaks:
https://github.com/mesonbuild/meson/issues/758

8 years agomeson: tests: Do not pull qt5 as a hard dependency
Thibault Saunier [Mon, 5 Sep 2016 21:40:19 +0000 (18:40 -0300)]
meson: tests: Do not pull qt5 as a hard dependency

8 years agomeson: Properly find where GStreamer plugins are when using subprojects
Thibault Saunier [Mon, 5 Sep 2016 20:43:13 +0000 (17:43 -0300)]
meson: Properly find where GStreamer plugins are when using subprojects

And fix building with meson 0.34

8 years agomeson: Bump version to 1.9.2
Thibault Saunier [Mon, 5 Sep 2016 15:22:36 +0000 (12:22 -0300)]
meson: Bump version to 1.9.2

8 years agooggdemux: safety for failing to determine time length in push mode
Vincent Penquerc'h [Fri, 26 Aug 2016 10:30:16 +0000 (11:30 +0100)]
oggdemux: safety for failing to determine time length in push mode

If we can't find a valid granule near the end of the file, we
disable seeking. This guards against the whole file being then
read and never going to PLAYING.

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

8 years agooggdemux: increase EOS granpos detection chunk size
Vincent Penquerc'h [Fri, 26 Aug 2016 10:27:17 +0000 (11:27 +0100)]
oggdemux: increase EOS granpos detection chunk size

This can be too small on some files to find a valid granule.

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

8 years agomeson: fix joystick header check for jseek example
Tim-Philipp Müller [Sun, 4 Sep 2016 20:41:04 +0000 (21:41 +0100)]
meson: fix joystick header check for jseek example

8 years agopbutils: store missing-plugin structure in current_info->misc again
Jonathan Matthew [Sat, 3 Sep 2016 01:57:22 +0000 (11:57 +1000)]
pbutils: store missing-plugin structure in current_info->misc again

This allows gst_discoverer_info_get_misc to work again, until it
finally gets removed.

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

8 years agotools: gst-play: cycle between video tracks without disabling video
Tim-Philipp Müller [Sun, 4 Sep 2016 15:04:00 +0000 (16:04 +0100)]
tools: gst-play: cycle between video tracks without disabling video

8 years agowin32: Update exports
Sebastian Dröge [Thu, 1 Sep 2016 14:56:24 +0000 (17:56 +0300)]
win32: Update exports

8 years agovideo-frame: Expand the range of caps for extended buffer flags
Jan Schmidt [Thu, 1 Sep 2016 12:48:40 +0000 (22:48 +1000)]
video-frame: Expand the range of caps for extended buffer flags

The video buffer flags can be applied to encoded video streams,
such as video/x-h264 marked up by a demuxer or parser.

8 years agoplayback: Mark internal functions as G_GNUC_INTERNAL
Sebastian Dröge [Thu, 1 Sep 2016 10:07:07 +0000 (13:07 +0300)]
playback: Mark internal functions as G_GNUC_INTERNAL