platform/upstream/gst-plugins-base.git
10 years agovideo-chroma: don't crash on NULL resamplers
Wim Taymans [Thu, 23 Jan 2014 09:45:00 +0000 (10:45 +0100)]
video-chroma: don't crash on NULL resamplers

Make dummy resamplers for all cases and only execute the horizontal
resampler instead of crashing.

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

10 years agoaudiobasesink: make _get_time more threadsafe
Wim Taymans [Tue, 21 Jan 2014 10:21:56 +0000 (11:21 +0100)]
audiobasesink: make _get_time more threadsafe

We call the _get_time function from the provided clock and we don't lock
the sink object for performance reasons. Make sure we only read and
check variables once so that they don't change while we are executing
the code.

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

10 years agoaudioresample: It's HAVE_EMMINTRIN_H, not HAVE_XMMINTRIN_H for SSE2
Sebastian Dröge [Mon, 20 Jan 2014 15:11:04 +0000 (16:11 +0100)]
audioresample: It's HAVE_EMMINTRIN_H, not HAVE_XMMINTRIN_H for SSE2

10 years agoaudioresample: Fix build on x86 if emmintrin.h is available but can't be used
Antoine Jacoutot [Mon, 20 Jan 2014 14:44:09 +0000 (15:44 +0100)]
audioresample: Fix build on x86 if emmintrin.h is available but can't be used

On i386, EMMINTRIN is defined but not usable without SSE so check for
__SSE__ and __SSE2__ as well.

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

10 years agoconfigure: Initialize Qt variables
Sebastian Dröge [Mon, 20 Jan 2014 09:30:36 +0000 (10:30 +0100)]
configure: Initialize Qt variables

10 years agoexamples: Port Qt examples to Qt5
Sebastian Dröge [Mon, 20 Jan 2014 08:46:15 +0000 (09:46 +0100)]
examples: Port Qt examples to Qt5

10 years agoriff: Fix G726 caps creation
Nicola Murino [Sat, 18 Jan 2014 18:22:12 +0000 (19:22 +0100)]
riff: Fix G726 caps creation

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

10 years agodiscoverer: minor docs fix
Tim-Philipp Müller [Sat, 18 Jan 2014 00:18:51 +0000 (00:18 +0000)]
discoverer: minor docs fix

Can use a custom main context as well if needed.

10 years agovideodecoder: Add API to get the currently pending frame size for parsing
Sebastian Dröge [Sat, 18 Jan 2014 12:54:22 +0000 (13:54 +0100)]
videodecoder: Add API to get the currently pending frame size for parsing

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

10 years agoplaybin: Remove unnecessary assignment
Wonchul Lee [Sat, 18 Jan 2014 12:20:51 +0000 (21:20 +0900)]
playbin: Remove unnecessary assignment

Remove duplicated assignment

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

10 years agoplaybin: Insert decoders without GstAVElement information between the other decoders
Sebastian Dröge [Sat, 18 Jan 2014 12:31:06 +0000 (13:31 +0100)]
playbin: Insert decoders without GstAVElement information between the other decoders

Otherwise they would be preferred over all decoders independent
of their ranks.

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

10 years agoplaybin: Only put parsers and sinks first, not all non-decoders
Sebastian Dröge [Sat, 18 Jan 2014 12:12:16 +0000 (13:12 +0100)]
playbin: Only put parsers and sinks first, not all non-decoders

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

10 years agotests: videodecoder: plug a few leaks
Thiago Santos [Fri, 17 Jan 2014 14:08:32 +0000 (11:08 -0300)]
tests: videodecoder: plug a few leaks

Remove leaks of caps and events references

10 years agovideodecoder: plug leak when frames are released on subclass stop
Thiago Santos [Fri, 17 Jan 2014 13:17:29 +0000 (10:17 -0300)]
videodecoder: plug leak when frames are released on subclass stop

They end up stored in the 'pending_events' list and should be
freed after calling stop

10 years agogst-play: Handle CLOCK_LOST message
Sebastian Dröge [Fri, 17 Jan 2014 14:10:42 +0000 (15:10 +0100)]
gst-play: Handle CLOCK_LOST message

It is necessary for playbin gapless playback when switching
between audio-only and video-only files for example.

10 years agostreamsplitter: handle ACCEPT_CAPS query correctly
Wim Taymans [Thu, 16 Jan 2014 15:32:34 +0000 (16:32 +0100)]
streamsplitter: handle ACCEPT_CAPS query correctly

We can accept a caps when one of the downstream peers can accept the
caps. This is not the same as checking a subset of the getcaps
result because parsers might accept broader caps than what their getcaps
function returns (See https://bugzilla.gnome.org/show_bug.cgi?id=677401).

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

10 years agotests: audiodecoder: add another test for negotiation with gap event
Thiago Santos [Tue, 14 Jan 2014 16:02:28 +0000 (13:02 -0300)]
tests: audiodecoder: add another test for negotiation with gap event

Check that even if the subclass doesn't call set_output_format, the base
class should use upstream provided caps to fill the output caps that is
pushed before the gap event is forwarded, otherwise it ends again fixating
the rate and channels to 1.

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

10 years agoaudiodecoder: copy rate and channels from input before fixating output caps
Thiago Santos [Tue, 14 Jan 2014 16:05:54 +0000 (13:05 -0300)]
audiodecoder: copy rate and channels from input before fixating output caps

For default caps generation when handling gap events that are sent
before any buffer, try to use caps that are closer to what upstream
provided to avoid fixating rate or channels to 1 as default.

So there are the steps:
1) Try to set rate, channels and channel-mask from upstream if provided
2) Fixate the rate and channels to the default rate and channels from
   audio lib
3) Fixate the caps just to be sure everything is fixed
4) If no channel-mask was provided and channels > 2, use a default
   channel-mask (taken from audioconvert code)

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

10 years agoxvimagesink: don't recreate xvcontext
Holger Kaelberer [Tue, 14 Jan 2014 22:07:34 +0000 (23:07 +0100)]
xvimagesink: don't recreate xvcontext

A xvcontext can be created early in gst_xvimagesink_set_window_handle().
In this case don't recreate, i.e. overwrite it in gst_xvimagesink_open().
Otherwise XEvents won't be handled in the xevent listener thread.

Fixes a regression when setting the window handle on the sink in
the very beginning before changing its state.

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

10 years agooggdemux: fix broken seeking reading the whole file
Vincent Penquerc'h [Tue, 14 Jan 2014 12:05:46 +0000 (12:05 +0000)]
oggdemux: fix broken seeking reading the whole file

A change in gst_ogg_demux_do_seek caused oggdemux to wait for
a page for each of the streams, including a skeleton stream if
one was present. Since Skeleton only has header pages, that
was never going to end well.

Also, the code was skipping CMML streams when looking for pages,
so would also have broken on CMML streams.

Thus, we change the code to disregard Skeleton streams, as well
as discontinuous streams (such as CMML and Kate). While it may
be desirable to consider Kate streams too (in order to avoid
losing a subtitle starting near the seek point), this may be
a performance drag when seeking where no subtitles are. Maybe
one could add a "give up" threshold for such discontinuous
streams, so we'd get any page if there is one, but do not end
up reading preposterous amounts of data otherwise.

In any case, it is important that the code that determines
the amount of streams to look pages for remains consistent with
the "early out" conditions of the code that actually parses
the incoming pages, lest we never decrease the pending counter
to zero.

This fixes seeking on a file with a skeleton track reading all
the file on each seek.

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

10 years agooggdemux: use an adaptive chunksize for performance reasons
Vincent Penquerc'h [Mon, 13 Jan 2014 15:14:14 +0000 (15:14 +0000)]
oggdemux: use an adaptive chunksize for performance reasons

Ogg data is read chunk by chunk, and the chunk size used was
originally taken from libvorbisfile. However, this value leads
to poor performance when used on an Ogg file with large pages
(Ogg pages can be close to 64 KB).

We can't just use a larger chunk size, since this will decrease
performance on small page streams, so we use an adaptive scheme
where the chunk size is twice the largest page size we've seen
so far in the stream. For "typical" Ogg/Vorbis, this gives us
almost the same chunk size (a bit lower), and this lets us get
better performance on streams with large pages.

10 years agoaudiodecoder: avoid parsing caps event if it is not used
Thiago Santos [Mon, 13 Jan 2014 23:47:02 +0000 (20:47 -0300)]
audiodecoder: avoid parsing caps event if it is not used

Saves some cpu

10 years agoaudiodecoder: make sure caps is set before forwarding gap event
Thiago Santos [Mon, 13 Jan 2014 23:44:23 +0000 (20:44 -0300)]
audiodecoder: make sure caps is set before forwarding gap event

Before trying to generate a default fixated caps when handling a gap
event, make sure that the same strategy that is used when handling
a buffer has been attempted. Otherwise audiodecoder will ignore
upstream caps settings such as rate and channels and will likely
end with a caps with channels=1 and rate=1.

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

10 years agotests: audiodecoder: check that negotiation works buffers and gaps
Thiago Santos [Mon, 13 Jan 2014 22:40:49 +0000 (19:40 -0300)]
tests: audiodecoder: check that negotiation works buffers and gaps

Adds 2 tests to verify that output caps are the expected value, reusing
input structure values for both buffers and gaps

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

10 years agotests: audiodecoder: add basic playback test for audio decoder
Thiago Santos [Mon, 13 Jan 2014 19:33:11 +0000 (16:33 -0300)]
tests: audiodecoder: add basic playback test for audio decoder

Simple test that just check that audio decoding works as expected

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

10 years agovideoverlay: Don't mention gconf elements and add a sentence about playbin/playsink
Sebastian Dröge [Tue, 14 Jan 2014 12:17:26 +0000 (13:17 +0100)]
videoverlay: Don't mention gconf elements and add a sentence about playbin/playsink

playbin/playsink now implement the video overlay interface

10 years agowin32: add new API to .def file
Tim-Philipp Müller [Mon, 13 Jan 2014 16:28:23 +0000 (16:28 +0000)]
win32: add new API to .def file

10 years agovideodecoder: only copy chroma_site when known
Wim Taymans [Mon, 13 Jan 2014 15:29:00 +0000 (16:29 +0100)]
videodecoder: only copy chroma_site when known

Only overwrite the chroma-site if we have a valid value in the reference
format.

10 years agovideoconvert: don't interpolate chroma in I420 -> RGB
Wim Taymans [Mon, 13 Jan 2014 15:20:55 +0000 (16:20 +0100)]
videoconvert: don't interpolate chroma in I420 -> RGB

Don't try to interpolate the chroma samples, the used algorithm only
works for horizontal cositing. Let's switch to a faster and safer
version until we handle chroma siting correctly in the fastpaths.

10 years agovideoutils: add some debug
Wim Taymans [Mon, 13 Jan 2014 11:16:01 +0000 (12:16 +0100)]
videoutils: add some debug

10 years agodoc: Add new sections introduce for tile format
Nicolas Dufresne [Thu, 9 Jan 2014 00:43:01 +0000 (19:43 -0500)]
doc: Add new sections introduce for tile format

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

10 years agovideo: Generate types for tile enumeration
Nicolas Dufresne [Thu, 9 Jan 2014 00:42:35 +0000 (19:42 -0500)]
video: Generate types for tile enumeration

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

10 years agovideo: Don't use extra plane and componenent for tile format
Nicolas Dufresne [Thu, 9 Jan 2014 00:41:56 +0000 (19:41 -0500)]
video: Don't use extra plane and componenent for tile format

Instead of using extra plane, we encode the number of tiles in x and y in the stride of
each planes (i.e. y_tiles << 16 | x_tiles) and introduce tile_mode, tile_width and
tile_height into GstVideoFormatInfo structure.

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

10 years agovideo: rename NV12T -> NV12_64Z32
Wim Taymans [Fri, 3 Jan 2014 21:36:13 +0000 (22:36 +0100)]
video: rename NV12T -> NV12_64Z32

Is a bit more descriptive and allows us to add more tiled types
later.

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

10 years agovideo-frame: scale vertical tiles based on subsampling
Nicolas Dufresne [Fri, 3 Jan 2014 21:29:09 +0000 (22:29 +0100)]
video-frame: scale vertical tiles based on subsampling

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

10 years agovideo-frame: fix tiled pixel stride
Nicolas Dufresne [Fri, 3 Jan 2014 21:18:08 +0000 (22:18 +0100)]
video-frame: fix tiled pixel stride

Pixel stride is per component, not per plane. We get the tile mode from
the pixelstride of the TILE component.

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

10 years agoformat: improve docs
Wim Taymans [Thu, 26 Dec 2013 16:40:05 +0000 (17:40 +0100)]
format: improve docs

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

10 years agotests: fix videoscale test for NV12T
Wim Taymans [Wed, 25 Dec 2013 15:22:32 +0000 (16:22 +0100)]
tests: fix videoscale test for NV12T

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

10 years agovideo-format: fix off-by-one for tiled coordinates
Wim Taymans [Wed, 25 Dec 2013 15:06:43 +0000 (16:06 +0100)]
video-format: fix off-by-one for tiled coordinates

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

10 years agovideo-tile: improve docs
Wim Taymans [Wed, 25 Dec 2013 14:22:24 +0000 (15:22 +0100)]
video-tile: improve docs

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

10 years agovideo-format: use shifts when possible
Wim Taymans [Wed, 25 Dec 2013 13:57:30 +0000 (14:57 +0100)]
video-format: use shifts when possible

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

10 years agovideo-frame: fix copy of tiled formats
Wim Taymans [Wed, 25 Dec 2013 13:23:04 +0000 (14:23 +0100)]
video-frame: fix copy of tiled formats

Add code to copy tiled planes.

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

10 years agovideo-tile: add tile mode and helper functions
Wim Taymans [Wed, 25 Dec 2013 13:11:57 +0000 (14:11 +0100)]
video-tile: add tile mode and helper functions

Move the tile helper functions to their own file. Make it possible to
make other tiling modes later.

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

10 years agovideo: add NV12T support
Wim Taymans [Fri, 20 Dec 2013 20:27:46 +0000 (21:27 +0100)]
video: add NV12T support

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

10 years agoAdd tiled color format support
Wim Taymans [Thu, 19 Dec 2013 15:11:50 +0000 (16:11 +0100)]
Add tiled color format support

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

10 years agoencoding-profile: Fix typo in the docs
Sebastian Dröge [Mon, 13 Jan 2014 14:32:23 +0000 (15:32 +0100)]
encoding-profile: Fix typo in the docs

10 years agotests: videodecoder: check that segment events are not dropped
Thiago Santos [Sat, 11 Jan 2014 04:14:19 +0000 (01:14 -0300)]
tests: videodecoder: check that segment events are not dropped

Adds a test that simulates a scenario where the first buffers after
a segment can't be decoded and the decoder asks for those frames
to be released. The videodecoder base class should make sure that
the events attached to those first buffers are pushed even if the
buffers aren't going to be.

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

10 years agovideodecoder: do not lose events when dropping frames
Thiago Santos [Sat, 11 Jan 2014 04:24:44 +0000 (01:24 -0300)]
videodecoder: do not lose events when dropping frames

Events must be persisted after a frame is dropped to avoid
losing obligatory information for the stream.

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

10 years agotests: videodecoder: add test for reverse playback
Thiago Santos [Wed, 8 Jan 2014 14:29:29 +0000 (11:29 -0300)]
tests: videodecoder: add test for reverse playback

Checks that buffers are pushed backwards in reverse playback

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

10 years agovideodecoder: use new segment earlier for reverse playback
Thiago Santos [Mon, 6 Jan 2014 23:53:15 +0000 (20:53 -0300)]
videodecoder: use new segment earlier for reverse playback

For reverse playback, the segment event will only be pushed when
the first buffer is actually pushed. But for decoding frames and storing
those into the list to be pushed the output_segment.rate value is used
to determine if it is forward or reverse playback.

In case a previous segment event (or none) is in use it will mistakenly
think it is doing forward playback and push the buffers immediatelly and
try to clip buffers based on an old segment (or an uninitialized one, leading
to an assertion)

This patch fixes this by copying the segment earlier if on reverse playback

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

10 years agovideotestsrc: fix unit test breaking on duration query
Vincent Penquerc'h [Fri, 10 Jan 2014 14:24:12 +0000 (14:24 +0000)]
videotestsrc: fix unit test breaking on duration query

The new switch caused breaks to not break of the main switch
anymore, causing fall through.

10 years agovideoconvert: Update disted orc files once again
Sebastian Dröge [Fri, 10 Jan 2014 14:06:23 +0000 (15:06 +0100)]
videoconvert: Update disted orc files once again

10 years agotools: gst-play: add dot file dumping for pipeline graph debugging
Tim-Philipp Müller [Fri, 10 Jan 2014 11:17:38 +0000 (11:17 +0000)]
tools: gst-play: add dot file dumping for pipeline graph debugging

10 years agotextoverlay: don't leak GAP events
Tim-Philipp Müller [Fri, 10 Jan 2014 11:17:04 +0000 (11:17 +0000)]
textoverlay: don't leak GAP events

10 years agovideotestsrc: do not set TIME duration when asked for another format
Vincent Penquerc'h [Fri, 10 Jan 2014 09:53:21 +0000 (09:53 +0000)]
videotestsrc: do not set TIME duration when asked for another format

This fixes asserts in pipelines such as:

gst-launch-1.0 videotestsrc num-buffers=1000 ! x264enc ! h264parse ! \
   matroskamux name=mux ! filesink location=test.mkv

10 years agovideoconvert: Update disted orc files
Sebastian Dröge [Fri, 10 Jan 2014 08:21:08 +0000 (09:21 +0100)]
videoconvert: Update disted orc files

10 years agovideoconvert: rework YUV->RGB fastpaths
Wim Taymans [Thu, 9 Jan 2014 17:12:00 +0000 (18:12 +0100)]
videoconvert: rework YUV->RGB fastpaths

Rework the orc code to be around 10% faster and support arbitrary matrices.
Pass the matrix parameters to the YUV->RGB functions to make them work
for all matrices. This enables more and faster fastpath conversions.

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

10 years agovideoconvert: fix I420 to BGRA fast-path some more
Wim Taymans [Thu, 9 Jan 2014 17:08:41 +0000 (18:08 +0100)]
videoconvert: fix I420 to BGRA fast-path some more

Calculate alpha value differently so that we can avoid running out
of registers.

10 years agovideoconvert: remove unused code
Wim Taymans [Wed, 8 Jan 2014 15:20:12 +0000 (16:20 +0100)]
videoconvert: remove unused code

10 years agoriff: Add G726 ADPCM support
Nicola Murino [Fri, 3 Jan 2014 14:24:29 +0000 (15:24 +0100)]
riff: Add G726 ADPCM support

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

10 years agotests: videodecoder: add check for serialization of events
Thiago Santos [Wed, 8 Jan 2014 01:04:20 +0000 (22:04 -0300)]
tests: videodecoder: add check for serialization of events

Tests that events are properly serialized with buffers, also checks
that the usual events are sent (stream start, caps, segment and eos).

10 years agotests: videodecoder: add simple playback test
Thiago Santos [Tue, 7 Jan 2014 19:28:18 +0000 (16:28 -0300)]
tests: videodecoder: add simple playback test

Add a simple playback test that makes sure that video decoder pushes
buffers in the same order it receives and that it respects the
set timestamps and durations

10 years agodefs: update for new symbols
Wim Taymans [Tue, 7 Jan 2014 14:01:14 +0000 (15:01 +0100)]
defs: update for new symbols

10 years agortsptransport: calculate default lower transport
Wim Taymans [Tue, 7 Jan 2014 13:46:05 +0000 (14:46 +0100)]
rtsptransport: calculate default lower transport

Add an internal method to calculate the default lower transport whan it
is missing.

10 years agortsptransport: add method to get media-type from transport
Wim Taymans [Tue, 7 Jan 2014 13:31:09 +0000 (14:31 +0100)]
rtsptransport: add method to get media-type from transport

Add a method to make a media-type from the transport. Deprecate the old
method that only used the mode.

Based on patch from Aleix Conchillo Flaqué <aleix@oblong.com>

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

10 years agortsptransport: add GType for Profile
Wim Taymans [Tue, 7 Jan 2014 10:51:01 +0000 (11:51 +0100)]
rtsptransport: add GType for Profile

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

10 years agotypefind: add support of BWF RF64 a 64bit wav variant
Stefan Sauer [Sun, 5 Jan 2014 22:35:52 +0000 (23:35 +0100)]
typefind: add support of BWF RF64  a 64bit wav variant

Detect and describe the RF64 Broadcast Wave Format.
Fixes #519220

10 years agoriff: remove new parse_ncdt api again
Stefan Sauer [Sun, 5 Jan 2014 20:39:52 +0000 (21:39 +0100)]
riff: remove new parse_ncdt api again

This chunk is avi specific, no need to expose this as public api.

10 years agowin32: export new riff api
Stefan Sauer [Sat, 4 Jan 2014 21:30:17 +0000 (22:30 +0100)]
win32: export new riff api

10 years agoriff: fix indentation messup from previous commit
Stefan Sauer [Sat, 4 Jan 2014 20:54:10 +0000 (21:54 +0100)]
riff: fix indentation messup from previous commit

10 years agoriff: add support for nikon tags
Stefan Sauer [Sat, 4 Jan 2014 20:31:07 +0000 (21:31 +0100)]
riff: add support for nikon tags

Nikon cameras store metadata in a custom format. Add parsing of the chunk and
extract some initial data.
API: gst_riff_parse_ncdt()
Fixes #636143

10 years agoaudiobasesrc: Avoid unnecessary configuration
Jan Schmidt [Thu, 2 Jan 2014 15:18:20 +0000 (02:18 +1100)]
audiobasesrc: Avoid unnecessary configuration

Port a change from audiobasesink from def07410, to ignore setcaps
when the caps don't actually change, and avoid a reconfiguration
and reset of the ringbuffer in that case.

10 years agoconfigure: Prevent the NEON check in configure from passing under aarch64.
William Grant [Fri, 15 Nov 2013 14:17:03 +0000 (14:17 +0000)]
configure: Prevent the NEON check in configure from passing under aarch64.

The test verifies that the NEON C intrinsics work, but the rest of the
codebase uses lots of direct ARMv7 NEON assembly. The same intrinsics
work in A64, but the assembly is slightly different.

Prevent the check from passing so that we don't use this where it won't
work.

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

10 years agoriff: Add id3 tag
Stéphane Cerveau [Tue, 31 Dec 2013 09:17:55 +0000 (10:17 +0100)]
riff: Add id3 tag

Add id3 tag for wavparse

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

10 years agoRevert "test-effect-switch: Change one of the pad blocks to and idle probe"
Sebastian Dröge [Tue, 31 Dec 2013 08:37:36 +0000 (09:37 +0100)]
Revert "test-effect-switch: Change one of the pad blocks to and idle probe"

This reverts commit 40fe5dcc84ff2cc7dbe0112d7830a33fd764d4e1.

Using an idle probe here is not ideal because we'll send an EOS event
from the application thread... which might block for quite some time.
Go back to a block probe.

10 years agovideotestsrc: Always set pixel-aspect-ratio and interlace-mode in the fixed caps
Sebastian Dröge [Mon, 30 Dec 2013 18:48:29 +0000 (19:48 +0100)]
videotestsrc: Always set pixel-aspect-ratio and interlace-mode in the fixed caps

Otherwise our caps will not be compatible with elements that require a
1/1 pixel-aspect-ratio or progressive video.

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

10 years agotest-effect-switch: Don't put two format fields into the first capsfilter
Sebastian Dröge [Mon, 30 Dec 2013 18:40:29 +0000 (19:40 +0100)]
test-effect-switch: Don't put two format fields into the first capsfilter

10 years agotest-effect-switch: Change one of the pad blocks to and idle probe
Sebastian Dröge [Mon, 30 Dec 2013 18:12:53 +0000 (19:12 +0100)]
test-effect-switch: Change one of the pad blocks to and idle probe

Just because we can.

10 years agoencoding-profile: Add missing break statement
Edward Hervey [Mon, 30 Dec 2013 16:30:15 +0000 (17:30 +0100)]
encoding-profile: Add missing break statement

And do a minor cleanup

COVERITY CID 1139753

10 years agoriff: add two chunk-ids for samples instruments
Stefan Sauer [Mon, 30 Dec 2013 13:30:23 +0000 (14:30 +0100)]
riff: add two chunk-ids for samples instruments

Wav files can have 'smpl' and 'inst' chunks.

10 years agoriff-media: Fix array read
Edward Hervey [Mon, 30 Dec 2013 12:46:34 +0000 (13:46 +0100)]
riff-media: Fix array read

nbchannels ranges from 1 to 8, therefore use '- 1' to get the proper
array value.

10 years agovideorate: Remove useless assignement
Edward Hervey [Mon, 30 Dec 2013 12:33:00 +0000 (13:33 +0100)]
videorate: Remove useless assignement

Was already set before

10 years agogstrtpbasepayload: use the session's suggested ssrc after a collision, if the session...
George Kiagiadakis [Thu, 26 Dec 2013 15:47:46 +0000 (17:47 +0200)]
gstrtpbasepayload: use the session's suggested ssrc after a collision, if the session provides one

Conflicts:
gst-libs/gst/rtp/gstrtpbasepayload.c

10 years agoplayback: add ANY caps features to default audio/video raw caps
Matthieu Bouron [Tue, 10 Dec 2013 15:19:14 +0000 (15:19 +0000)]
playback: add ANY caps features to default audio/video raw caps

Allows elements using audio/video caps features to be used by playbin.

10 years agoaudio/video-info: Properly initialize the info structures in set_format()
Sebastian Dröge [Mon, 30 Dec 2013 09:53:24 +0000 (10:53 +0100)]
audio/video-info: Properly initialize the info structures in set_format()

And don't assume in other code that set_format() preserves any fields at
all. These assumptions were already made here for fields that were changed
by set_format().

10 years agoaudio/video-info: Initialize the complete struct to 0 in the beginning
Sebastian Dröge [Mon, 30 Dec 2013 09:14:09 +0000 (10:14 +0100)]
audio/video-info: Initialize the complete struct to 0 in the beginning

Instead of only initializing some parts in some code paths. Also
makes it easier to use the reserved bits of the structs later.

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

10 years agoaudiobasesrc: Bunch of cosmetic/grammar fixes
Reynaldo H. Verdejo Pinochet [Fri, 20 Dec 2013 22:48:06 +0000 (19:48 -0300)]
audiobasesrc: Bunch of cosmetic/grammar fixes

10 years agoaudiobasesrc: Retarget FIXME to 2.0
Reynaldo H. Verdejo Pinochet [Fri, 20 Dec 2013 21:58:43 +0000 (18:58 -0300)]
audiobasesrc: Retarget FIXME to 2.0

Properly fixing this one would break API.

10 years agoaudiobase*: Drop trailing withespaces
Reynaldo H. Verdejo Pinochet [Fri, 20 Dec 2013 21:54:39 +0000 (18:54 -0300)]
audiobase*: Drop trailing withespaces

10 years agoaudiobasesrc: Break some too long lines
Reynaldo H. Verdejo Pinochet [Fri, 20 Dec 2013 21:53:13 +0000 (18:53 -0300)]
audiobasesrc: Break some too long lines

10 years agoaudiobasesrc: Add FIXME for times in NSECONDS
Reynaldo H. Verdejo Pinochet [Fri, 20 Dec 2013 21:41:59 +0000 (18:41 -0300)]
audiobasesrc: Add FIXME for times in NSECONDS

Timebase is in nanoseconds pretty much everywhere else

10 years agoaudiodecoder: Choose a default initial caps before sending GAP
Jan Schmidt [Thu, 26 Dec 2013 12:21:45 +0000 (23:21 +1100)]
audiodecoder: Choose a default initial caps before sending GAP

If there are no caps from the audio decoder when handling a GAP
event - as when one is received right at the start on a DVD without
initial audio - then choose any default caps for downstream and
then send the GAP, so the audio sink has a configured format in
which to start the ringbuffer.

Also, make the audio sink reject a GAP without caps with a clearer
error message.

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

10 years agortsptransport: add more profiles
Wim Taymans [Thu, 26 Dec 2013 16:41:00 +0000 (17:41 +0100)]
rtsptransport: add more profiles

Add support for Feedback profiles

10 years agovideo-frame: fix plane copy for index plane
Wim Taymans [Wed, 25 Dec 2013 09:45:11 +0000 (10:45 +0100)]
video-frame: fix plane copy for index plane

Move the code to handle the index plane in the _copy_plane.

10 years agocolorbalance: add missing annotation for list_channels()
Lionel Landwerlin [Tue, 24 Dec 2013 01:20:25 +0000 (01:20 +0000)]
colorbalance: add missing annotation for list_channels()

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

10 years agovideoconvert: Fix I420 to BGRA fast-path alpha setting
Sebastian Dröge [Mon, 23 Dec 2013 13:54:02 +0000 (14:54 +0100)]
videoconvert: Fix I420 to BGRA fast-path alpha setting

This fast-path was adding 128 to every component including
alpha while it should only be done for all components except
alpha. This caused wrong alpha values to be generated.

Also remove the high-quality I420 to BGRA fast-path as it needs
the same fix, which causes an additional instruction, which causes
orc to emit more than 96 variables, which then just crashes.
This can only be fixed in orc by breaking ABI and allowing more
variables.

10 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sun, 22 Dec 2013 22:33:26 +0000 (22:33 +0000)]
Automatic update of common submodule

From dbedaa0 to d48bed3

10 years agopo: set gettext domain in Makevars so we don't have to patch the generated Makefile...
Tim-Philipp Müller [Sun, 22 Dec 2013 21:56:03 +0000 (21:56 +0000)]
po: set gettext domain in Makevars so we don't have to patch the generated Makefile.in.in

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

10 years agotests: make git ignore new test binary
Tim-Philipp Müller [Sun, 22 Dec 2013 22:07:43 +0000 (22:07 +0000)]
tests: make git ignore new test binary

10 years agogstaudiobasesink: Always reset last_align
Reynaldo H. Verdejo Pinochet [Fri, 20 Dec 2013 21:06:25 +0000 (18:06 -0300)]
gstaudiobasesink: Always reset last_align

Should be done for all the reset_sync() cases. Not
only for the READY to PAUSED one.