platform/upstream/gst-plugins-good.git
9 years agortpbin/rtpjitterbuffer/rtspsrc: Add property to set maximum ms between RTCP SR RTP...
Sebastian Dröge [Mon, 21 Sep 2015 11:47:21 +0000 (13:47 +0200)]
rtpbin/rtpjitterbuffer/rtspsrc: Add property to set maximum ms between RTCP SR RTP time and last observed RTP time

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

9 years agortpbin/session: Allow RTCP sync to happen based on capture time or send time
Sebastian Dröge [Wed, 16 Sep 2015 17:28:11 +0000 (19:28 +0200)]
rtpbin/session: Allow RTCP sync to happen based on capture time or send time

Send time is the previous behaviour and the default, but there are use cases
where you want to synchronize based on the capture time.

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

9 years agoBack to development
Sebastian Dröge [Fri, 25 Sep 2015 21:51:09 +0000 (23:51 +0200)]
Back to development

9 years agoRelease 1.6.0 1.6.0
Sebastian Dröge [Fri, 25 Sep 2015 21:15:55 +0000 (23:15 +0200)]
Release 1.6.0

9 years agoUpdate .po files
Sebastian Dröge [Fri, 25 Sep 2015 20:57:34 +0000 (22:57 +0200)]
Update .po files

9 years agosmptealpha: Do not set width/height before comparing with old values
Thibault Saunier [Fri, 25 Sep 2015 12:08:09 +0000 (14:08 +0200)]
smptealpha: Do not set width/height before comparing with old values

Otherwise we end up considering the values did not change and we wrongly
work with the old video format (which will lead to wrong
behaviour/segfaults).

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

9 years agoqtdemux: Accumulate segments for edit lists before activating the next segment
Sebastian Dröge [Wed, 23 Sep 2015 18:59:00 +0000 (20:59 +0200)]
qtdemux: Accumulate segments for edit lists before activating the next segment

eceb2ccc739092d964d78945e19c2ecedbd214e2 broke segment seeks by always
accumulating segments manually when activating a segment. This is only
needed when handling edit lists, not when activating a segment because of a
seek. Do the accumulation when switching edit list segments instead.

This fixes segment seeks again, while keeping edit lists playback working.

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

9 years agospectrum: send phase values in the GstMessage for Phase info
Vikram Fugro [Wed, 23 Sep 2015 12:13:51 +0000 (17:43 +0530)]
spectrum: send phase values in the GstMessage for Phase info

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

9 years agomatroska-mux: Don't output a warning on MONO multiview mode.
Jan Schmidt [Mon, 21 Sep 2015 14:46:01 +0000 (00:46 +1000)]
matroska-mux: Don't output a warning on MONO multiview mode.

9 years agortptheoradepay: Fix memory leaks
Sebastian Rasmussen [Sat, 19 Sep 2015 15:02:18 +0000 (17:02 +0200)]
rtptheoradepay: Fix memory leaks

The same memory leaks were fixed in identical fashion for
vorbisdepay in 06efeff5d979576a252e5dae57f46d6445b1df12 in 2009.

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

9 years agortp{vorbis,theora}{pay,depay}: Cosmetic cleanup
Sebastian Rasmussen [Sat, 19 Sep 2015 15:04:07 +0000 (17:04 +0200)]
rtp{vorbis,theora}{pay,depay}: Cosmetic cleanup

* use g_list_free_full(), don't iterate elements maually when freeing
* call gst_rtp_*_pay_clear_packet(), don't duplicate its code
* use gst_buffer_unref() to clarify that it is buffers being released,
  instead of refering directly to gst_mini_object_unref()

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

9 years agortp{vorbis,theora}pay: Store headers in the packet buffers lists, not a NULL buffer
Sebastian Dröge [Sat, 19 Sep 2015 16:44:22 +0000 (18:44 +0200)]
rtp{vorbis,theora}pay: Store headers in the packet buffers lists, not a NULL buffer

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

9 years agoRelease 1.5.91
Sebastian Dröge [Fri, 18 Sep 2015 17:33:13 +0000 (19:33 +0200)]
Release 1.5.91

9 years agoUpdate .po files
Sebastian Dröge [Fri, 18 Sep 2015 17:23:57 +0000 (19:23 +0200)]
Update .po files

9 years agopo: Update translations
Sebastian Dröge [Fri, 18 Sep 2015 09:50:31 +0000 (11:50 +0200)]
po: Update translations

9 years agoavidemux: Fix taglist leak
Eunhae Choi [Thu, 17 Sep 2015 01:50:01 +0000 (10:50 +0900)]
avidemux: Fix taglist leak

gst_tag_list_insert() does not take ownership of the inserted taglist.

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

9 years agoaacparse: Skip LOAS AAC until a valid config is seen.
Jan Schmidt [Tue, 15 Sep 2015 21:05:36 +0000 (07:05 +1000)]
aacparse: Skip LOAS AAC until a valid config is seen.

It's normal when dropping into the middle of a stream to
not always have the config available immediately, so skip LOAS
until a valid config is seen without either setting invalid
caps or erroring out.

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

9 years agortpjitterbuffer: reset just a bit more upon flush_stop
Mark Nauwelaerts [Sun, 13 Sep 2015 13:41:38 +0000 (15:41 +0200)]
rtpjitterbuffer: reset just a bit more upon flush_stop

9 years agortpjitterbuffer: remove dead struct member
Mark Nauwelaerts [Sun, 13 Sep 2015 13:40:09 +0000 (15:40 +0200)]
rtpjitterbuffer: remove dead struct member

9 years agomultiudpsink: fix GError memory leak when hostname resolution fails
Vineeth TM [Fri, 11 Sep 2015 08:09:28 +0000 (17:09 +0900)]
multiudpsink: fix GError memory leak when hostname resolution fails

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

9 years agomatroskamux: drop HEADER flag from output buffers
Thiago Santos [Thu, 10 Sep 2015 18:26:54 +0000 (15:26 -0300)]
matroskamux: drop HEADER flag from output buffers

Drop HEADER flag from output buffers if they are not indeed
headers.

Fixes resending of headers in tcp connection handling

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

9 years agomatroskamux: fix matroskamux ! matroskademux
Tim-Philipp Müller [Thu, 10 Sep 2015 15:00:50 +0000 (16:00 +0100)]
matroskamux: fix matroskamux ! matroskademux

Don't carry over DISCONT flags from the input buffers to the
output buffer, or the demuxer might reset its state when it
receives the first data buffer just after parsing the simple
block header, and then expect sane data to follow.
Fixes matroskamux ! demux erroring out.

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

9 years agortsp: fix small README typo
Martin Kelly [Wed, 9 Sep 2015 19:51:40 +0000 (12:51 -0700)]
rtsp: fix small README typo

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

9 years agowavpackparse: set both pts and dts so baseparse doesn't make up wrong dts after seeks
Tim-Philipp Müller [Fri, 4 Sep 2015 18:45:37 +0000 (19:45 +0100)]
wavpackparse: set both pts and dts so baseparse doesn't make up wrong dts after seeks

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

9 years agoflacparse: set both pts and dts so baseparse doesn't make up wrong dts after a seek
Tim-Philipp Müller [Fri, 4 Sep 2015 18:34:41 +0000 (19:34 +0100)]
flacparse: set both pts and dts so baseparse doesn't make up wrong dts after a seek

flac contains the sample offset in the frame header, so after a seek
without index flacparse will know the exact position we landed on and
timestamp buffers accordingly. It only set the pts though, which means
the baseparse-set dts which was set to the seek position prevails, and
since the seek was based on an estimate, there's likely a discrepancy
between where we wanted to land and where we did land, so from here on
that dts/pts difference will be maintained, with dts possibly multiple
seconds ahead of pts, which is just wrong. The easiest way to fix this
is to just set both pts and dts based on the sample offset, but perhaps
parsed audio should just not have dts set at all.

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

9 years agodocs: remove properties and signals that no longer exist
Tim-Philipp Müller [Sun, 6 Sep 2015 15:33:02 +0000 (16:33 +0100)]
docs: remove properties and signals that no longer exist

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

9 years agoflvmux: Make the element count in arrays not include end
George Chriss [Fri, 11 Oct 2013 15:13:00 +0000 (15:13 +0000)]
flvmux: Make the element count in arrays not include end

One-line removal of tags_written++

This should fix rtmp output to crtmpserver, and hopefully
noone is expecting that the element count includes the end
element, as different bits of documentation say different
things about whether it should or not.

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

9 years agoflvmux: Store incoming bitrate tags and send in the metadata
Jan Schmidt [Wed, 29 Jul 2015 14:59:15 +0000 (00:59 +1000)]
flvmux: Store incoming bitrate tags and send in the metadata

Apparently the Microsoft Azure RTMP server requires that the
videodatarate and audiodatarate metadata be provided, so
set those, even if it's to 0. Use the actual input bitrate
tags if available.

9 years agortspsrc: Don't parse key data more than needed.
Jan Schmidt [Thu, 3 Sep 2015 14:06:29 +0000 (00:06 +1000)]
rtspsrc: Don't parse key data more than needed.

When an auxilliary streams are present in the SDP media,
there's no need to re-parse the SDP attributes multiple
times.

9 years agortspsrc: Fix SRTP + RTX, auth access, a leak, and an invalid memory access.
Jan Schmidt [Thu, 3 Sep 2015 10:56:55 +0000 (20:56 +1000)]
rtspsrc: Fix SRTP + RTX, auth access, a leak, and an invalid memory access.

In parse_keymgmt(), don't mutate the input string that's been passed
as const, especially since we might need the original value again if
the same key info applies to multiple streams (RTX, for example).

When a resource is 404, and we have auth info - retry with the auth
info the same as if we had receive unauthorised, in case the resource
isn't even visible until credentials are supplied.

Fix a memory leak handling Mikey data.

When generating a random keystring, don't overrun the 30 byte
buffer by generating 32 bytes into it.

9 years agoudpsrc: Fix build with GLib < 2.44
Sebastian Dröge [Fri, 4 Sep 2015 12:18:05 +0000 (15:18 +0300)]
udpsrc: Fix build with GLib < 2.44

G_IO_ERROR_CONNECTION_CLOSED was added in 2.44.

9 years agoudpsrc: Ignore G_IO_ERROR_CONNECTION_CLOSED when receiving data
Sebastian Dröge [Fri, 4 Sep 2015 09:01:52 +0000 (12:01 +0300)]
udpsrc: Ignore G_IO_ERROR_CONNECTION_CLOSED when receiving data

This happens on Windows if we use the same socket for sending packets,
and the remote sends ICMP port/host unreachable messages.

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

9 years agortpvorbis/theoradepay: Fix handling of fragmented packets
Sebastian Dröge [Wed, 2 Sep 2015 18:12:41 +0000 (21:12 +0300)]
rtpvorbis/theoradepay: Fix handling of fragmented packets

This was broken in b1089fb520 by not considering the full packet length of a
fragmented packet but only the length of the first one.

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

9 years agodtmfsrc: Reply to latency query
Olivier Crête [Tue, 1 Sep 2015 19:39:22 +0000 (15:39 -0400)]
dtmfsrc: Reply to latency query

9 years agotests: Fix rtpsession test failure
Olivier Crête [Mon, 31 Aug 2015 20:42:30 +0000 (16:42 -0400)]
tests: Fix rtpsession test failure

The time of the first RTCP packet is semi-random, so
sometimes it was produced before enough packets from
the second SSRC were received. First drop queued RTCP
packets, then advance the clock enough to ensure
that at least one new RTCP packet is produced.

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

9 years agolevel: improve the test for multi-channel mode
Stefan Sauer [Mon, 31 Aug 2015 11:56:04 +0000 (13:56 +0200)]
level: improve the test for multi-channel mode

Change the test to verify the read-index for multiple messages per buffer.
See https://bugzilla.gnome.org/show_bug.cgi?id=754144

9 years agomatroskademux: Align raw video frames to 32 bytes
Jan Alexander Steffens (heftig) [Mon, 31 Aug 2015 10:46:52 +0000 (12:46 +0200)]
matroskademux: Align raw video frames to 32 bytes

Outputting unaligned video frames causes videoscale et al to
crash when attempting SIMD-accelerated conversion.

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

9 years agolevel: fix level calculations for mutliple channels
Stefan Sauer [Wed, 26 Aug 2015 21:16:46 +0000 (23:16 +0200)]
level: fix level calculations for mutliple channels

This was broken with 7b90bf32150897a141a29a12ecab555d8c5b7fab.

9 years agosmpte: Fix memory leak
Ravi Kiran K N [Thu, 27 Aug 2015 04:58:55 +0000 (10:28 +0530)]
smpte: Fix memory leak

In gst_smpte_collected(), check upfront if input formats are same
or not. This avoids allocation of in1 and in2 buffers and
subsequent memory leak when input formats do not match.

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

9 years agotests: souphttpsrc: don't try to connect to dead radio server
Tim-Philipp Müller [Fri, 21 Aug 2015 10:52:19 +0000 (11:52 +0100)]
tests: souphttpsrc: don't try to connect to dead radio server

9 years agortspsrc: Trivial fix to check correct condition
Vineeth TM [Fri, 21 Aug 2015 07:29:16 +0000 (16:29 +0900)]
rtspsrc: Trivial fix to check correct condition

When checking for describe method, because of missing parentheses, wrong
condition is being checked, which will result in wrong behavior.

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

9 years agomatroska: read: fix tag list memory leak
Vineeth TM [Fri, 21 Aug 2015 04:19:02 +0000 (13:19 +0900)]
matroska: read: fix tag list memory leak

gst_toc_entry_merge_tags makes a new ref of the taglist, so it should
be unref'ed as soon as the tags are merged to the tocentry

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

9 years agowavpackdec: fix taglist memory leak
Vineeth TM [Fri, 21 Aug 2015 03:20:59 +0000 (12:20 +0900)]
wavpackdec: fix taglist memory leak

When passing the taglist to gst_audio_decoder_merge_tags, the reference is increased
by audiodecoder and the caller should free the taglist being passed.

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

9 years agov4l2transform: fix pad closing
Jean-Michel Hautbois [Thu, 20 Aug 2015 12:45:33 +0000 (14:45 +0200)]
v4l2transform: fix pad closing

Signed-off-by: Jean-Michel Hautbois <jean-michel.hautbois@veo-labs.com>
https://bugzilla.gnome.org/show_bug.cgi?id=753875

9 years agoRelease 1.5.90
Sebastian Dröge [Wed, 19 Aug 2015 10:29:53 +0000 (13:29 +0300)]
Release 1.5.90

9 years agoUpdate .po files
Sebastian Dröge [Wed, 19 Aug 2015 09:47:42 +0000 (12:47 +0300)]
Update .po files

9 years agopo: Update translations
Sebastian Dröge [Wed, 19 Aug 2015 08:29:55 +0000 (11:29 +0300)]
po: Update translations

9 years agomultifilesrc: fix regression with starting from index set via index property
Tim-Philipp Müller [Thu, 13 Aug 2015 16:29:58 +0000 (17:29 +0100)]
multifilesrc: fix regression with starting from index set via index property

When we haven't started yet, set the start_index when we set the index property,
so that we start at the right index position after the initial seek. The index
property was never really meant to be for writing, but it used to work, so let's
support it for backwards compatibility.

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

9 years agoqtdemux: fix offset calculation when parsing CENC aux info
Alex Ashley [Tue, 18 Aug 2015 09:52:11 +0000 (10:52 +0100)]
qtdemux: fix offset calculation when parsing CENC aux info

Commit 7d7e54ce6863ff53e188d0276d2651b65082ffdb added support for
DASH common encryption, however commit
bb336840c0b0b02fa18dc4437ce0ded3d9142801 that went onto master
shortly before the CENC commit caused the calculation of the CENC
aux info offset to be incorrect.

The base_offset was being added if present, but if the base_offset
is relative to the start of the moof, the offset was being added twice.
The correct approach is to calculate the offset from the start of the
moof and use that offset when parsing the CENC aux info.

9 years agoflacenc: actually return true for accept-caps query handling
Thiago Santos [Mon, 17 Aug 2015 17:28:24 +0000 (14:28 -0300)]
flacenc: actually return true for accept-caps query handling

9 years agortp: copy metadata in the (de)payloaders which is missed before
Hyunjun Ko [Mon, 17 Aug 2015 05:07:10 +0000 (14:07 +0900)]
rtp: copy metadata in the (de)payloaders which is missed before

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

9 years agodirectsoundsink: allow specifying audio playback device
Dustin Spicuzza [Sun, 16 Aug 2015 19:21:51 +0000 (15:21 -0400)]
directsoundsink: allow specifying audio playback device

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

9 years agoflacenc: remove single entry if from loop
Thiago Santos [Sun, 16 Aug 2015 16:51:47 +0000 (13:51 -0300)]
flacenc: remove single entry if from loop

Iterate from the 2nd channel on and create the 1 channel struct
outside to make loop structure simpler and only slightly faster.

9 years agoflacenc: implement proper accept-caps
Thiago Santos [Sun, 16 Aug 2015 16:21:41 +0000 (13:21 -0300)]
flacenc: implement proper accept-caps

Should just compare with what can be immediatelly accepted by
the element. flacenc can't renegotiate so if it has a caps already
it should only accept if it is that caps otherwise just use the
template caps

9 years agoflacenc: improve sink pad template caps
Thiago Santos [Sun, 16 Aug 2015 16:03:36 +0000 (13:03 -0300)]
flacenc: improve sink pad template caps

Removes the need for custom caps query handling and makes it more
correct from the beginning on the template. It is a bit uglier
to read because there is 1 entry per channel but makes code easier
to maintain.

9 years agoy4mencode: fix gst-launch version in documentation
Thiago Santos [Sun, 16 Aug 2015 15:41:56 +0000 (12:41 -0300)]
y4mencode: fix gst-launch version in documentation

9 years agoaudioencoders: use template subset check for accept-caps
Thiago Santos [Sun, 16 Aug 2015 01:32:21 +0000 (22:32 -0300)]
audioencoders: use template subset check for accept-caps

It is faster than doing a query that propagates downstream and
should be enough

Elements: speexenc, wavpackenc, mulawenc, alawenc

9 years agovideoencoders: use template subset check for accept-caps
Thiago Santos [Sun, 16 Aug 2015 01:29:41 +0000 (22:29 -0300)]
videoencoders: use template subset check for accept-caps

It is faster than doing a query that propagates downstream and
should be enough

Elements: jpegenc, pngenc, vp8enc, vp9enc, y4menc

9 years agompegaudioparse: use new baseparse API to fix tag handling
Tim-Philipp Müller [Sun, 16 Aug 2015 16:21:24 +0000 (17:21 +0100)]
mpegaudioparse: use new baseparse API to fix tag handling

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

9 years agoaudioparsers: use new base parse API to fix tag handling
Olivier Crête [Tue, 17 Mar 2015 21:50:37 +0000 (17:50 -0400)]
audioparsers: use new base parse API to fix tag handling

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

9 years agoflacparse: use new baseparse API and fix tag handling
Tim-Philipp Müller [Sun, 16 Aug 2015 13:37:53 +0000 (14:37 +0100)]
flacparse: use new baseparse API and fix tag handling

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

9 years agoqtdemux: Use signed integer type to be able to check for negative subtraction results
Sebastian Dröge [Sun, 16 Aug 2015 11:04:02 +0000 (13:04 +0200)]
qtdemux: Use signed integer type to be able to check for negative subtraction results

CID 1315829

9 years agortpvorbisdepay: remove dead code
Luis de Bethencourt [Sun, 16 Aug 2015 10:50:34 +0000 (11:50 +0100)]
rtpvorbisdepay: remove dead code

payload_buffer must be NULL in ignore_reserved. Check will always be false.

Introduced by b1089fb5207697ba26edb4ff66ed0f465c6df3cf

CID #1316476

9 years agoalawenc: port to AudioEncoder base class
Thiago Santos [Sun, 16 Aug 2015 01:45:53 +0000 (22:45 -0300)]
alawenc: port to AudioEncoder base class

9 years agoaudiodecoders: use default pad accept-caps handling
Thiago Santos [Sat, 15 Aug 2015 12:16:23 +0000 (09:16 -0300)]
audiodecoders: use default pad accept-caps handling

Avoids useless check of downstream caps when handling an
accept-caps query

Elements: flacdec, speexdec, wavpackdec, mulawdec, alawdec

9 years agovideodecoders: use default pad accept-caps handling
Thiago Santos [Sat, 15 Aug 2015 11:49:57 +0000 (08:49 -0300)]
videodecoders: use default pad accept-caps handling

Avoids useless check of downstream caps when handling an
accept-caps query

Elements: jpegdec, pngdec, vp8dec, vp9dec

9 years agoalawdec: make error handling a bit nicer
Thiago Santos [Sat, 15 Aug 2015 14:31:04 +0000 (11:31 -0300)]
alawdec: make error handling a bit nicer

Print the element along with the debug to make it easier to trace
the failures

9 years agoalawdec: port to audiodecoder base class
Thiago Santos [Sat, 15 Aug 2015 14:04:16 +0000 (11:04 -0300)]
alawdec: port to audiodecoder base class

mulawdec was already ported, alawdec was left behind.

9 years agoqtdemux: only look for more samples in moofs in pull-mode
Thiago Santos [Sat, 15 Aug 2015 13:34:14 +0000 (10:34 -0300)]
qtdemux: only look for more samples in moofs in pull-mode

For playback of some fragmented formats with qtdemux it will
try to look for the next moof after finishing one but it is only
possible for pull-mode. For playback of streaming fragmented formats
such as DASH it should just not try to look for another moof but
instead wait for more data.

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

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

9 years agodcaparse: Don't look for a second syncword
Sebastian Dröge [Sat, 15 Aug 2015 10:58:50 +0000 (12:58 +0200)]
dcaparse: Don't look for a second syncword

There are streams out there that consistently contain garbage between
every frame so we never ever find a second consecutive syncword.

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

9 years agovp8enc, vp9enc: reset multipass file index when stopping encoder
Tim-Philipp Müller [Sat, 15 Aug 2015 10:12:05 +0000 (11:12 +0100)]
vp8enc, vp9enc: reset multipass file index when stopping encoder

Fixes multipass encoding when re-using the same element/pipeline
for subsequent encoding runs.

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

9 years agovp9enc: provide support for multiple pass cache files
Tim-Philipp Müller [Sat, 15 Aug 2015 10:09:42 +0000 (11:09 +0100)]
vp9enc: provide support for multiple pass cache files

Some files may provide different caps insight of one stream. Since
vp9enc support caps reinit, we should support cache reinit too.
If more then file cache file will be created, the naming will be:
cache cache.1 cache.2 ...

Based on patch by: Oleksij Rempel <linux@rempel-privat.de>

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

9 years agotests: aacparse: use caps query instead of accept-caps
Thiago Santos [Fri, 14 Aug 2015 14:41:42 +0000 (11:41 -0300)]
tests: aacparse: use caps query instead of accept-caps

The accept-caps query just does a shallow check at the current
element while at this test we want it to also look at downstream.
So use caps query there.

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

9 years agoaudioparsers: enable accept-template flag
Thiago Santos [Fri, 14 Aug 2015 14:40:22 +0000 (11:40 -0300)]
audioparsers: enable accept-template flag

Do a quick check with the pad template caps as it is enough. Users
should have figured the appropriate full caps on a previous caps query

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

9 years agortspsrc: send the User-Agent header
George Kiagiadakis [Fri, 14 Aug 2015 13:46:53 +0000 (15:46 +0200)]
rtspsrc: send the User-Agent header

Sometimes it is useful to know this information on the
server side. Other popular implementations (vlc, ffmpeg, ...)
also send this header on every message.

This includes a new "user-agent" property that the user
can set to use a custom User-Agent string. The default
is "GStreamer/<version>"

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

9 years agortspsrc: wrap gst_rtsp_message_init_request in a local function
George Kiagiadakis [Fri, 14 Aug 2015 13:42:42 +0000 (15:42 +0200)]
rtspsrc: wrap gst_rtsp_message_init_request in a local function

This will allow adding common request initialization, like the
user agent string, in just one place.

9 years agoaudioecho: make sure buffer gets reallocated if max_delay changes
Prashant Gotarne [Fri, 14 Aug 2015 04:06:09 +0000 (09:36 +0530)]
audioecho: make sure buffer gets reallocated if max_delay changes

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

9 years agovp8enc: provide support for multiple pass cache files
Oleksij Rempel [Thu, 9 Jul 2015 07:51:26 +0000 (09:51 +0200)]
vp8enc: provide support for multiple pass cache files

Some files may provide different caps insight of one stream. Since vp8enc
support caps reinit, we should support cache reinit too.
If more then file cache file will be created, the naming will be:
cache
cache.1
cache.2
...

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

9 years agortpmp4gdepay: fix timestamps for RTP packets with multiple AUs
Ramiro Polla [Wed, 15 Apr 2015 20:51:51 +0000 (22:51 +0200)]
rtpmp4gdepay: fix timestamps for RTP packets with multiple AUs

Use constantDuration to calculate the timestamp of non-first AU in the
RTP packet.

If constantDuration is not present in the MIME parameters, its value
must be calculated based on the timing information from two consecutive
RTP packets with AU-Index equal to 0.

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

9 years agosouphttpsrc: remove unnecessary if, g_free is null safe
Thiago Santos [Fri, 14 Aug 2015 09:43:13 +0000 (06:43 -0300)]
souphttpsrc: remove unnecessary if, g_free is null safe

9 years agosouphttpsrc: add property to set HTTP method
Alex Ashley [Fri, 14 Aug 2015 07:33:56 +0000 (08:33 +0100)]
souphttpsrc: add property to set HTTP method

To allow souphttpsrc to be use HTTP methods other than GET
(e.g. HEAD), add a "method" property that is a string. If this
property is not set, GET is used.

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

9 years agocheck: Rename states unit test
Edward Hervey [Fri, 14 Aug 2015 09:13:01 +0000 (11:13 +0200)]
check: Rename states unit test

Makes it easier to differentiate from other modules states unit test

9 years agogoom: Rename get_type() function of base class to prevent symbol conflicts
Sebastian Dröge [Fri, 14 Aug 2015 07:21:25 +0000 (09:21 +0200)]
goom: Rename get_type() function of base class to prevent symbol conflicts

This is a problem when statically linking.

9 years agortpjitterbuffer: Keep the DTS estimate if we got no DTS after a jitterbuffer reset
Sebastian Dröge [Thu, 13 Aug 2015 14:32:55 +0000 (16:32 +0200)]
rtpjitterbuffer: Keep the DTS estimate if we got no DTS after a jitterbuffer reset

Otherwise we will just output buffers without timestamps after a reset if no
timestamps are provided by upstream, e.g. when using RTSP over TCP.

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

9 years agomatroska: Remove unused variable
Ravi Kiran K N [Wed, 12 Aug 2015 11:46:01 +0000 (17:16 +0530)]
matroska: Remove unused variable

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

9 years agortp: Copy metadata in the (de)payloader, but only the relevant ones
Sebastian Dröge [Tue, 4 Aug 2015 17:59:17 +0000 (20:59 +0300)]
rtp: Copy metadata in the (de)payloader, but only the relevant ones

The payloader didn't copy anything so far, the depayloader copied every
possible meta. Let's make it consistent and just copy all metas without
tags or with only the video tag.

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

9 years agoqtdemux: fix small typo in comment
Thiago Santos [Mon, 10 Aug 2015 21:20:15 +0000 (18:20 -0300)]
qtdemux: fix small typo in comment

9 years agogoom2k1/doc: Fixup previous commit
Nicolas Dufresne [Mon, 10 Aug 2015 20:19:18 +0000 (16:19 -0400)]
goom2k1/doc: Fixup previous commit

9 years agogoom2k1/doc: Use GstGoom2k1 namespace
Nicolas Dufresne [Mon, 10 Aug 2015 19:55:19 +0000 (15:55 -0400)]
goom2k1/doc: Use GstGoom2k1 namespace

The doc generator isn't happy when we have class name clash. Simply
use it's own namespace.

9 years agoaudioecho: removed unused variable in set_property
Prashant Gotarne [Mon, 10 Aug 2015 11:40:42 +0000 (17:10 +0530)]
audioecho: removed unused variable in set_property

unused local variable 'delay' is removed.

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

9 years agoqtdemux: fix suboptimal queue iteration code
Tim-Philipp Müller [Mon, 10 Aug 2015 11:45:27 +0000 (12:45 +0100)]
qtdemux: fix suboptimal queue iteration code

9 years agoqtdemux: don't use glib 2.44-only API
Tim-Philipp Müller [Sun, 9 Aug 2015 16:25:45 +0000 (17:25 +0100)]
qtdemux: don't use glib 2.44-only API

9 years agoqtdemux: add support for ISOBMFF Common Encryption
Alex Ashley [Wed, 29 Jul 2015 13:14:50 +0000 (14:14 +0100)]
qtdemux: add support for ISOBMFF Common Encryption

This commit adds support for ISOBMFF Common Encryption (cenc), as
defined in ISO/IEC 23001-7. It uses a GstProtection event to
pass the contents of PSSH boxes to downstream decryptor elements
and attached GstProtectionMeta to each sample.

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

9 years agortph264depay: checking if depay has sps/pps nals before insertion
Hyunjun Ko [Mon, 10 Aug 2015 05:13:50 +0000 (14:13 +0900)]
rtph264depay: checking if depay has sps/pps nals before insertion

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

9 years agomatroskamux: fix outdated comment
Tim-Philipp Müller [Sat, 8 Aug 2015 15:44:49 +0000 (16:44 +0100)]
matroskamux: fix outdated comment

The default behaviour was changed in the 0.10 -> 1.x
transition, but the comment was not updated.

9 years agortptheorapay: If flushing a packet failed, go out of the loop immediately
Sebastian Dröge [Sat, 8 Aug 2015 15:42:22 +0000 (17:42 +0200)]
rtptheorapay: If flushing a packet failed, go out of the loop immediately

9 years agortpvorbispay: If flushing a packet failed, go out of the loop immediately
Sebastian Dröge [Sat, 8 Aug 2015 15:41:02 +0000 (17:41 +0200)]
rtpvorbispay: If flushing a packet failed, go out of the loop immediately

9 years agortptheorapay: Extract pixel format from the ident header to put it into the sampling...
Sebastian Dröge [Sat, 8 Aug 2015 15:34:50 +0000 (17:34 +0200)]
rtptheorapay: Extract pixel format from the ident header to put it into the sampling field of the caps

We always put 4:2:0 into the caps before, which obviously is wrong for 4:2:2
and 4:4:4 formats.

9 years agortpklv(de)pay: add "RTP" in the klass string
George Kiagiadakis [Thu, 6 Aug 2015 15:46:13 +0000 (17:46 +0200)]
rtpklv(de)pay: add "RTP" in the klass string

GstRTSPMedia uses this classification to detect the real payloader
inside a dynpay bin and asserts if it doesn't find it, therefore
it is required

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

9 years agotests: rtpaux: use a dynamic pt in the test
Thiago Santos [Wed, 5 Aug 2015 14:13:09 +0000 (11:13 -0300)]
tests: rtpaux: use a dynamic pt in the test

1) Tests that using dynamic PT instead of the default ones work
2) If we ever decide to change the codec here we don't need to
   worry about change the PT for the default one of the new codec
   in the test

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