platform/upstream/gstreamer.git
8 years agoaacparse: Fixed aac(adts) seek speed slow issue
Gilbok Lee [Mon, 28 Dec 2015 08:38:17 +0000 (17:38 +0900)]
aacparse: Fixed aac(adts) seek speed slow issue
Sync with tizen 2.4 fixed code (http://165.213.149.170/gerrit/#/c/71933)

Change-Id: Ia42f4501928f01d30a02db9a280082511a333282
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agompegaudioparse: Fixed http seek slow issue in case of souphttpsrc
Gilbok Lee [Mon, 28 Dec 2015 07:07:31 +0000 (16:07 +0900)]
mpegaudioparse: Fixed http seek slow issue in case of souphttpsrc
Sync with tizen 2.4 fixed code (http://165.213.149.170/gerrit/#/c/60290)

Change-Id: Icc1e1bafe4262dce4e1dc506cff45a60b264fbe1
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agowavparse: Modify GST_RIFF_TAG_acid tag's byte-align bug for appsrc push mode(streaming)
Gilbok Lee [Mon, 28 Dec 2015 06:03:22 +0000 (15:03 +0900)]
wavparse: Modify GST_RIFF_TAG_acid tag's byte-align bug for appsrc push mode(streaming)
Sync with tizen 2.4 fixed code (http://165.213.149.170/gerrit/#/c/34063)

Change-Id: Ic982954d517586a7473fdd48b58c449b83ae1c1e
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agoremove gdk_pixbuf
Eunhae Choi [Tue, 22 Dec 2015 08:12:47 +0000 (17:12 +0900)]
remove gdk_pixbuf

Change-Id: I41b6532c87e1251b5919514340e52c4af7ab45d6

8 years agoRelease version 1.6.1-2
Jeongmo Yang [Wed, 16 Dec 2015 06:18:07 +0000 (15:18 +0900)]
Release version 1.6.1-2

1. [v4l2] Fix prevent issue - Dereference before NULL check

Change-Id: I5581cd284892c8445a497a8d6f776d63f925f6e1
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
8 years agomodify spec file about build require
Eunhae Choi [Mon, 14 Dec 2015 08:27:37 +0000 (17:27 +0900)]
modify spec file about build require

Change-Id: I2f7f4f7117de82f71f10c91b78b0e6b7cc359189

8 years agoenable x for wearable profile
Eunhae Choi [Tue, 1 Dec 2015 05:47:38 +0000 (14:47 +0900)]
enable x for wearable profile

Change-Id: Ib8c9c713814a90663119f04138be55ed3745cf65

8 years agomodify spec to build and merge prev modification
Eunhae Choi [Thu, 26 Nov 2015 04:29:33 +0000 (13:29 +0900)]
modify spec to build and merge prev modification

Change-Id: I8cdc43e6a576f0f795f00fcb9f1a358782079fab

8 years agoMerge remote-tracking branch 'remotes/origin/upstream/1.6' into tizen
Eunhae Choi [Thu, 26 Nov 2015 04:20:18 +0000 (13:20 +0900)]
Merge remote-tracking branch 'remotes/origin/upstream/1.6' into tizen

Change-Id: I9cc7b5a7496dde5fd0f5ae4183be6d3c0b5f02f5

8 years agoflvmux: fix writing of creation time
Tim-Philipp Müller [Wed, 21 Oct 2015 10:16:01 +0000 (11:16 +0100)]
flvmux: fix writing of creation time

Don't write time as e.g. 11:9:42

8 years agoflvmux: GST_BUFFER_OFFSETs should be GST_BUFFER_OFFSET_NONE
Havard Graff [Tue, 22 Sep 2015 20:59:16 +0000 (22:59 +0200)]
flvmux: GST_BUFFER_OFFSETs should be GST_BUFFER_OFFSET_NONE

Or else flvdemux don't understand it

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

8 years agoflvmux: use time segment and copy timestamps when streamable
Havard Graff [Wed, 2 Sep 2015 08:44:59 +0000 (10:44 +0200)]
flvmux: use time segment and copy timestamps when streamable

Add a basic test using speex data to verify timestamping.

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

8 years agoRelease 1.6.1
Sebastian Dröge [Fri, 30 Oct 2015 14:40:55 +0000 (16:40 +0200)]
Release 1.6.1

8 years agoUpdate .po files
Sebastian Dröge [Fri, 30 Oct 2015 14:27:32 +0000 (16:27 +0200)]
Update .po files

8 years agopo: Update translations
Sebastian Dröge [Fri, 30 Oct 2015 12:28:04 +0000 (14:28 +0200)]
po: Update translations

8 years agov4l2: fix double-unref in the v4l2 device provider
Nirbheek Chauhan [Wed, 28 Oct 2015 18:17:30 +0000 (23:47 +0530)]
v4l2: fix double-unref in the v4l2 device provider

8 years agomatroskamux: don't drop JPEG frames that only have PTS but no DTS set
Nicola Murino [Tue, 27 Oct 2015 09:48:00 +0000 (10:48 +0100)]
matroskamux: don't drop JPEG frames that only have PTS but no DTS set

For the MS/VfW codec ids, we want to write DTS timestamps instead
of PTS because that's what everyone else seems to do (and it's also
how it is in AVI). So for those input formats we use the buffer DTS
instead of the PTS. However, if there's no DTS set but only the PTS
then just take the PTS instead of dropping the input buffer. This
is useful especially for I-frame only codecs like JPEG and huffyuv,
but should also be fine as fallback in general.

Fixes regression with input JPEG frames that only have PTS set on them.

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

8 years agoqtmux: Allow negotiating to S8 as a raw format but stop making it best choice
Thibault Saunier [Sun, 11 Oct 2015 11:06:26 +0000 (12:06 +0100)]
qtmux: Allow negotiating to S8 as a raw format but stop making it best choice

Negotiation to audio/x-raw,format=S8 was not possible because S8 does
not have a bit order so we ended up doing `if (!entry.fourcc) goto refuse_caps;`

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

8 years agoqtmux: Add prores support
Thibault Saunier [Sun, 11 Oct 2015 08:18:40 +0000 (09:18 +0100)]
qtmux: Add prores support

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

8 years agotests/check/splitmux: test that the release_pad vfunc of splitmuxsink actually releas...
George Kiagiadakis [Sat, 24 Oct 2015 21:57:38 +0000 (23:57 +0200)]
tests/check/splitmux: test that the release_pad vfunc of splitmuxsink actually releases pads

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

8 years agosplitmuxsink: do not destroy the multiqueue & muxer when going to NULL
George Kiagiadakis [Sat, 24 Oct 2015 21:57:29 +0000 (23:57 +0200)]
splitmuxsink: do not destroy the multiqueue & muxer when going to NULL

Instead, delay it until all request pads have been released. This is
because the release_pad() vfunc requires the multiqueue and muxer to
be there in order to release their request pads as well. If those
elements are destroyed earlier, release_pad() does not work, no
pads are released and some resources are leaked.

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

8 years agoscaletempo: F64 support is only available in GIT master at this point
Sebastian Dröge [Tue, 27 Oct 2015 15:32:22 +0000 (17:32 +0200)]
scaletempo: F64 support is only available in GIT master at this point

8 years agoscaletempo: Fix handling of rate < 0
Sebastian Dröge [Sat, 24 Oct 2015 14:14:07 +0000 (17:14 +0300)]
scaletempo: Fix handling of rate < 0

We have to reverse all samples in a buffer before processing them to properly
have continuous data from one buffer to another. As a result we will have a
negative applied rate and a rate of 1.0.

Also make sure that input buffers are correctly clipped to the segment,
otherwise our calculations are going to go wrong.

Also copy over the segment event's sequence number to the output segment while
we're at it.

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

8 years agocheck: Dist splitvideo0[012].ogg test files.
Jan Schmidt [Sun, 25 Oct 2015 13:41:28 +0000 (00:41 +1100)]
check: Dist splitvideo0[012].ogg test files.

8 years agortpj2kpay: update fragment offset
Thiago Santos [Tue, 13 Oct 2015 15:42:56 +0000 (12:42 -0300)]
rtpj2kpay: update fragment offset

It was always being set to 0, making the resulting stream broken
for the receiver

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

8 years agoqtmux: Don't unconditionally use strnlen()
Ryan Hendrickson [Mon, 19 Oct 2015 12:36:37 +0000 (15:36 +0300)]
qtmux: Don't unconditionally use strnlen()

It's not available on older OSX and we can as well use memchr() here.

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

8 years agompegaudioparse: Fix buffer memory leak during failures
Vineeth TM [Mon, 12 Oct 2015 01:48:23 +0000 (10:48 +0900)]
mpegaudioparse: Fix buffer memory leak during failures

mapped buffer is not being unmapped during failures

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

8 years agoauparse: Fix event memory leak
Vineeth TM [Mon, 19 Oct 2015 08:38:32 +0000 (17:38 +0900)]
auparse: Fix event memory leak

Free the event after being handled to prevent memory leak.

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

8 years agoqtdemux: fix caps leak
Guillaume Desmottes [Wed, 14 Oct 2015 10:03:15 +0000 (12:03 +0200)]
qtdemux: fix caps leak

If the QtDemuxStream are re-used they may already have caps which used
to be leaked.

Reproduced using the
validate.dash.playback.seek_forward.dash_exMPD_BIP_TC1 validate
scenario.

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

8 years agoqtdemux: Fix taglist memory leak
Vineeth TM [Wed, 14 Oct 2015 00:29:50 +0000 (09:29 +0900)]
qtdemux: Fix taglist memory leak

Free the stream and its sub items instead of just the stream

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

8 years agoqtmux: Fix date memory leak
Vineeth TM [Wed, 7 Oct 2015 08:14:57 +0000 (17:14 +0900)]
qtmux: Fix date memory leak

When getting date from taglist, the memory should be freed after
using it.

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

8 years agoqtmux: Fix sample memory leak
Vineeth TM [Mon, 5 Oct 2015 02:03:38 +0000 (11:03 +0900)]
qtmux: Fix sample memory leak

When getting sample from taglist, the memory should be freed after
using it.

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

8 years agocutter: Fix buffer leak
Vineeth TM [Mon, 5 Oct 2015 04:10:56 +0000 (13:10 +0900)]
cutter: Fix buffer leak

Buffer is added to the internal cache, and pushed only when accumulated
buffer duration crosses 200 ms. So when the chain ends, the buffer accumulated
is not freed. Freeing the cache when the state changes from PAUSED to READY.

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

8 years agosplitmuxsink: post messages when fragments are being opened and closed
George Kiagiadakis [Fri, 17 Apr 2015 12:25:43 +0000 (14:25 +0200)]
splitmuxsink: post messages when fragments are being opened and closed

This can be useful for applications that need to track the created fragments
(to log them in a recording database, for example)

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

8 years agosplitmuxsink: allow non-video streams to serve as reference
Ramiro Polla [Wed, 29 Apr 2015 17:23:28 +0000 (18:23 +0100)]
splitmuxsink: allow non-video streams to serve as reference

In the absence of a video stream, the first stream will be used as
reference.

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

8 years agosplitmuxsink: initialize mux_start_time properly
George Kiagiadakis [Wed, 22 Jul 2015 15:45:12 +0000 (17:45 +0200)]
splitmuxsink: initialize mux_start_time properly

mux_start_time refers to the running_time of the buffer
that goes first in the output file. Normally this time is
0, so this variable is initialized to 0 during the state
change to PAUSED.

However, when dealing with dynamic pipelines and starting
a recording while the pipeline has already run for a while,
the running_time of the first buffer is > 0 and this causes
a problem with detecting the end of the first file(s) when
splitting by duration, because the code will later compare
the threshold_time with (last buffer running_time - mux_start_time)
and will get it wrong until mux_start_time advances enough
to make this difference < threshold_time, creating empty files
in the meantime.

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

8 years agogdkpixbufsink: don't leak old pixel buffer when setting a new overlay
Tim-Philipp Müller [Tue, 29 Sep 2015 10:12:48 +0000 (11:12 +0100)]
gdkpixbufsink: don't leak old pixel buffer when setting a new overlay

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

8 years agoflacenc: avoid potential string overflow
Tim-Philipp Müller [Mon, 28 Sep 2015 19:25:22 +0000 (20:25 +0100)]
flacenc: avoid potential string overflow

We don't necessarily have full control over the input tags, so
it's possible that the ISRC tag contains a longer string than
expected, in which case we'd write over the end of the static-size
13 byte buffer that is FLAC__StreamMetadata_CueSheet_Track::isrc.
Make sure to only copy the ISRC if it's not too long, and make
sure the buffer we write to is always NUL-terminated by using
g_strlcpy().

CID 1324931.

8 years agomatroskademux: Remove leftover assertion from 0.10
Sebastian Dröge [Mon, 28 Sep 2015 16:03:51 +0000 (18:03 +0200)]
matroskademux: Remove leftover assertion from 0.10

We now allocate memory via GstAllocator and as such can handle arbitrary
alignments, not only <= G_MEM_ALIGN.

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

8 years agoaacparse: fix uninitialized variables in LOAS config reading
Guillaume Marquebielle [Fri, 25 Sep 2015 08:01:37 +0000 (10:01 +0200)]
aacparse: fix uninitialized variables in LOAS config reading

On reading LOAS config, flag v=1 and vA=1 combination can occur, leading to warning
"Spec says "TBD"...". Returning TRUE on this case while parameters 'sample_rate' and
'channels' are pointing to uninitialized values can end on setting random values as
rate and channels on src caps.

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

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

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

8 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

8 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

8 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

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

8 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

8 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

8 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

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

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

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

8 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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

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

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

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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

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

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

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

8 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

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

8 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

8 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

8 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

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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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