platform/upstream/gst-plugins-good.git
8 years agogoom: remove compiler trick
Luis de Bethencourt [Wed, 21 Oct 2015 16:43:31 +0000 (17:43 +0100)]
goom: remove compiler trick

After commit 2cb6cfed22166b262ae50cb58f3ff11dd8ba91f9 there is no need to
trick the compiler anymore about the usage of variable cpuFlavour.

8 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 21 Oct 2015 13:35:02 +0000 (14:35 +0100)]
Automatic update of common submodule

From b99800a to b319909

8 years agoaudiofx: remove unused variable
Ravi Kiran K N [Wed, 21 Oct 2015 12:11:38 +0000 (17:41 +0530)]
audiofx: remove unused variable

Remove unsued variable have_coeffs in audiofxbaseiirfilter

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

8 years agoUse new GST_ENABLE_EXTRA_CHECKS #define
Sebastian Dröge [Tue, 20 Oct 2015 14:29:42 +0000 (17:29 +0300)]
Use new GST_ENABLE_EXTRA_CHECKS #define

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

8 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 21 Oct 2015 11:25:55 +0000 (14:25 +0300)]
Automatic update of common submodule

From 9aed1d7 to b99800a

8 years agoflvdemux: relax creation time parsing
Tim-Philipp Müller [Wed, 21 Oct 2015 10:53:09 +0000 (11:53 +0100)]
flvdemux: relax creation time parsing

Parse wrong timestamps like we used to write as well,
e.g. 10:9:42, and the hour might be without a leading
zero in any case.

8 years agoflvdemux: fix indentation
Tim-Philipp Müller [Wed, 21 Oct 2015 10:45:35 +0000 (11:45 +0100)]
flvdemux: fix indentation

8 years agoflvdemux: extract both creation date and time
Tim-Philipp Müller [Wed, 21 Oct 2015 10:44:50 +0000 (11:44 +0100)]
flvdemux: extract both creation date and time

Before we only extracted the date part.

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 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 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 agoqtmux: unify raw audio caps into a single caps structure
Tim-Philipp Müller [Mon, 19 Oct 2015 08:14:19 +0000 (09:14 +0100)]
qtmux: unify raw audio caps into a single caps structure

8 years agoqtdemux: add support for FFV1 coded streams in mov
Reynaldo H. Verdejo Pinochet [Wed, 14 Oct 2015 22:42:50 +0000 (15:42 -0700)]
qtdemux: add support for FFV1 coded streams in mov

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

8 years agosouphttpsrc: EOS immediately if we have an empty seek segment
Sebastian Dröge [Wed, 14 Oct 2015 12:53:26 +0000 (15:53 +0300)]
souphttpsrc: EOS immediately if we have an empty seek segment

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

8 years agosouphttpsrc: Make non-inclusive segment boundaries inclusive
Stavros Vagionitis [Wed, 14 Oct 2015 07:43:19 +0000 (10:43 +0300)]
souphttpsrc: Make non-inclusive segment boundaries inclusive

The problem is that the filesrc and souphttpsrc are behaving
differently regarding the calculation of the segment boundaries. The
filesrc is using a non-inclusive boundaries, while the souphttpsrc
uses inclusive. Currently the hlsdemux calculates the boundaries as
inclusive, so for this reason there is no problem with the souphttpsrc,
but there is an issue in the filesrc.

The GstSegment is non-inclusive, so the proposed solution is to use
non-inclusive boundaries in the hlsdemux in order to be consistent.
Make the change in the hlsdemux, will break the souphttpsrc, which
will expect inclusive boundaries, but the hlsdemux will offer
non-inclusive. This change makes sure that the non-inclusive
boundaries are converted to inclusive.

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

8 years agosouphttpclientsink: Add the retry and retry-delay properties
Graham Leggett [Sun, 11 Oct 2015 22:07:54 +0000 (22:07 +0000)]
souphttpclientsink: Add the retry and retry-delay properties

These allow a failed request to be retried after the given number of seconds
instead of failing the pipeline. Take account of the Retry-After header if
present. Add retries parameter that controls the number of times an HTTP
request will be retried before failing.

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

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: 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: add GST_PLUGINS_BASE_LIBS for flvdemux check
Tim-Philipp Müller [Mon, 12 Oct 2015 17:56:32 +0000 (18:56 +0100)]
tests: add GST_PLUGINS_BASE_LIBS for flvdemux check

So it pulls in the right libgsttag-1.0.

8 years agogoom/goom2k1: remove obsolete left over files
Julien Isorce [Sun, 11 Oct 2015 21:27:47 +0000 (22:27 +0100)]
goom/goom2k1: remove obsolete left over files

They now use the new GstAudioVisualizer base class
from gst-plugins-base/gst-libs/gst/pbutils

Also fixed undefined reference to gst_audio_visualizer_get_type
Added GST_PLUGINS_BASE_LIBS to Makefile.am and re-order LIBADD.

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

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 agosouphttpclientsink: Check if soup message is created
Vineeth TM [Mon, 12 Oct 2015 02:18:51 +0000 (11:18 +0900)]
souphttpclientsink: Check if soup message is created

If soup message is not created then the same should not be passed
on, which is resulting in segfault. Hence throwing a warning message
and returning

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

8 years agosouphttpclientsink: Check if location being set is valid
Vineeth TM [Mon, 12 Oct 2015 02:15:15 +0000 (11:15 +0900)]
souphttpclientsink: Check if location being set is valid

Adding a check in set_property to find if the location uri is valid
and printing warning if not valid.

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

8 years agosouphttpclientsink: Fix memory leaks during failures
Vineeth TM [Mon, 12 Oct 2015 02:09:30 +0000 (11:09 +0900)]
souphttpclientsink: Fix memory leaks during failures

freeing streamheader_buffers and sent_buffers during failure cases.

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

8 years agosouphttpclientsink: Replace redundant free_buffer_list function
Vineeth TM [Mon, 12 Oct 2015 02:03:17 +0000 (11:03 +0900)]
souphttpclientsink: Replace redundant free_buffer_list function

Removing free_buffer_list and replacing it with already available function
g_list_free_full

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

8 years agocheck: Don't forget base CFLAGS for flvdemux check
Edward Hervey [Sun, 11 Oct 2015 14:40:01 +0000 (16:40 +0200)]
check: Don't forget base CFLAGS for flvdemux check

elements/flvdemux.c:25:25: fatal error: gst/tag/tag.h: No such file or directory

8 years agomatroskamux: Create a TIME segment when creating streamable output
Sebastian Dröge [Sun, 11 Oct 2015 10:37:51 +0000 (11:37 +0100)]
matroskamux: Create a TIME segment when creating streamable output

Related to https://bugzilla.gnome.org/show_bug.cgi?id=754435 which
does the same for flvmux.

8 years agoflvdemux: output speex vorbiscomment as a GstTagList
Havard Graff [Wed, 23 Sep 2015 11:50:52 +0000 (13:50 +0200)]
flvdemux: output speex vorbiscomment as a GstTagList

This is what speexdec expects.

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

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 agoflvdemux: speex is also always 16KHz
Havard Graff [Wed, 23 Sep 2015 11:14:03 +0000 (13:14 +0200)]
flvdemux: speex is also always 16KHz

This is just a cosmetic change for the logs, since the right caps
for Speex is being set elsewhere.

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

8 years agortpmanager: Add 'source-stats' to stats and notify
Stian Selnes [Tue, 14 Jul 2015 13:19:44 +0000 (15:19 +0200)]
rtpmanager: Add 'source-stats' to stats and notify

Add statitics from each rtp source to the rtp session property.
'source-stats' is a GValueArray where each element is a GstStructure of
stats for one rtp source.

The availability of new stats is signaled via g_object_notify.

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

8 years agortpsession: Implement sending of reduced size RTCP packets
Sebastian Dröge [Fri, 5 Jun 2015 15:20:33 +0000 (17:20 +0200)]
rtpsession: Implement sending of reduced size RTCP packets

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

8 years agoaudiofx: Remove unused variable
Ravi Kiran K N [Thu, 8 Oct 2015 09:31:13 +0000 (15:01 +0530)]
audiofx: Remove unused variable

Remove unused variable 'degree' in audiodynamic

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

8 years agoqtdemux: Fix memory leak for corrupted file
Vineeth TM [Thu, 8 Oct 2015 05:44:07 +0000 (14:44 +0900)]
qtdemux: Fix memory leak for corrupted file

Free brands before overriding them.

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

8 years agogdkpixbufdec: Fix pixbuf_loader leak during failures
Vineeth TM [Thu, 8 Oct 2015 02:44:04 +0000 (11:44 +0900)]
gdkpixbufdec: Fix pixbuf_loader leak during failures

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

8 years agortpbin: Add missing break
Sebastian Dröge [Wed, 7 Oct 2015 22:23:45 +0000 (23:23 +0100)]
rtpbin: Add missing break

8 years agortpmanager: Take into account packet rate for max-dropout and max-misorder calculations
Miguel París Díaz [Wed, 7 Oct 2015 11:03:02 +0000 (13:03 +0200)]
rtpmanager: Take into account packet rate for max-dropout and max-misorder calculations

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

8 years agortpmanager: add "max-dropout-time" and "max-misorder-time" props
Miguel París Díaz [Wed, 7 Oct 2015 11:02:12 +0000 (13:02 +0200)]
rtpmanager: add "max-dropout-time" and "max-misorder-time" props

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

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 agortpmux: Use default upstream event handling
Olivier Crête [Tue, 1 Sep 2015 01:10:16 +0000 (21:10 -0400)]
rtpmux: Use default upstream event handling

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

8 years agortpmux: As 0xFFFFFFFF is a valid ssrc, check if it has been set
Olivier Crête [Tue, 1 Sep 2015 01:05:03 +0000 (21:05 -0400)]
rtpmux: As 0xFFFFFFFF is a valid ssrc, check if it has been set

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

8 years agogstrtpmux: allow the ssrc-property to decide ssrc on outgoing buffers
Havard Graff [Wed, 22 Jul 2015 07:47:22 +0000 (09:47 +0200)]
gstrtpmux: allow the ssrc-property to decide ssrc on outgoing buffers

By not doing this, the muxer is not effectively a rtpmuxer, rather a
funnel, since it should be a single stream that exists the muxer.

If not specified, take the first ssrc seen on a sinkpad, allowing upstream
to decide ssrc in "passthrough" with only one sinkpad.

Also, let downstream ssrc overrule internal configured one

We hence has the following order for determining the ssrc used by
rtpmux:

0. Suggestion from GstRTPCollision event
1. Downstream caps
2. ssrc-Property
3. (First) upstream caps containing ssrc
4. Randomly generated

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

8 years agoudpsrc: Fixup last commit
Sebastian Dröge [Fri, 2 Oct 2015 19:42:20 +0000 (22:42 +0300)]
udpsrc: Fixup last commit

8 years agoUpdate GLib dependency to 2.40.0
Sebastian Dröge [Fri, 2 Oct 2015 19:21:45 +0000 (22:21 +0300)]
Update GLib dependency to 2.40.0

8 years agortpstats: add utility for calculating RTP packet rate
Miguel París Díaz [Tue, 30 Jun 2015 14:56:19 +0000 (16:56 +0200)]
rtpstats: add utility for calculating RTP packet rate

8 years agoqtdemux: handle empty segments in seeking adjust
Thiago Santos [Mon, 10 Aug 2015 21:14:39 +0000 (18:14 -0300)]
qtdemux: handle empty segments in seeking adjust

If seeking targets an empty segment skip it as there is no media
offset to get from it. Instead look for the next one.

This doesn't make seeking in push-mode work if you seek to an
empty segment but at least won't get you to wrong offsets.

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

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 agoavidemux: Reverse playback does not consider segment.start
Vineeth T M [Wed, 16 Sep 2015 07:03:02 +0000 (16:03 +0900)]
avidemux: Reverse playback does not consider segment.start

During reverse playback, the media should stop playing at segment.start
This does not happen, and avidemux continues to process data even when
current timestamp is less that segment.start.

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

8 years agoqtdemux: Check multi trex to find track id in mp4 mpeg-dash stream
Manasa Athreya [Wed, 23 Sep 2015 03:39:35 +0000 (12:39 +0900)]
qtdemux: Check multi trex to find track id in mp4 mpeg-dash stream

If stream has more than one trex box which is not matched to actual
track id, it makes qtdemux crashed.

Author : Manasa Athreya (manasa.athreya@lge.com)

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

8 years agosmpte: get size, stride info using VideoInfo
Ravi Kiran K N [Fri, 4 Sep 2015 08:54:45 +0000 (14:24 +0530)]
smpte: get size, stride info using VideoInfo

Use VideoInfo data to get size stride and
offset, instead of hard coded macros.

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

8 years agosmpte: free mask
Ravi Kiran K N [Fri, 4 Sep 2015 08:48:50 +0000 (14:18 +0530)]
smpte: free mask

Free the memory allocated to 'mask' to avoid
memory leak.

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

8 years agogstreamer: good: tests: Fix memory leaks when context parse fails.
Vineeth TM [Thu, 20 Aug 2015 02:02:58 +0000 (11:02 +0900)]
gstreamer: good: tests: Fix memory leaks when context parse fails.

When g_option_context_parse fails, context and error variables are not getting free'd
which results in memory leaks. Free'ing the same.

And replacing g_error_free with g_clear_error, which checks if the error being passed

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

8 years agortpsource: doesn't handle probation and rtp gap in case of sender
Hyunjun Ko [Fri, 2 Oct 2015 07:18:15 +0000 (16:18 +0900)]
rtpsource: doesn't handle probation and rtp gap in case of sender

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

8 years agortpmanager: add new on-new-sender-ssrc, on-sender-ssrc-active signals
Hyunjun Ko [Fri, 2 Oct 2015 07:16:32 +0000 (16:16 +0900)]
rtpmanager: add new on-new-sender-ssrc, on-sender-ssrc-active signals

Allows for applications to get internal source's RTP statistics.
(eg. sender sources for a server/client)

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

8 years agoximagesrc: Gather and coalesce all damaged areas before retrieving.
Jan Schmidt [Fri, 2 Oct 2015 04:17:48 +0000 (14:17 +1000)]
ximagesrc: Gather and coalesce all damaged areas before retrieving.

These days the xserver seems to give us the same damage regions
over and over for entire windows, and we retrieve them multiple
times, which gives time for more damage to appear. Instead, just
quickly gather all damaged areas into a region list and copy
out once.

8 years agogoom2k1: use the new audiovisualizer base class
Luis de Bethencourt [Thu, 1 Oct 2015 15:24:32 +0000 (16:24 +0100)]
goom2k1: use the new audiovisualizer base class

Rebase to have goom using the GstAudioVisualizer base class in
gst-plugins-base/gst-libs/gst/pbutils

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

8 years agogoom: use the new audiovisualizer base class
Luis de Bethencourt [Thu, 1 Oct 2015 15:16:08 +0000 (16:16 +0100)]
goom: use the new audiovisualizer base class

Rebase to have goom using the GstAudioVisualizer base class in
gst-plugins-base/gst-libs/gst/pbutils

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

8 years agodeinterleave: implement accept-caps
Thiago Santos [Wed, 30 Sep 2015 20:35:33 +0000 (17:35 -0300)]
deinterleave: implement accept-caps

Avoid using default accept-caps handler that will query downstream
and is more expensive. Just check if the caps is compatible with
the template and check if the channels are the same.

8 years agotests: deinterleave: also check for caps query results
Thiago Santos [Wed, 30 Sep 2015 12:35:39 +0000 (09:35 -0300)]
tests: deinterleave: also check for caps query results

8 years agodeinterleave: use the caps query filter
Thiago Santos [Wed, 30 Sep 2015 15:30:59 +0000 (12:30 -0300)]
deinterleave: use the caps query filter

It was being ignored and would lead to wrong results if the
element doing the query would rely on the intersection being made.

8 years agodeinterleave: implement a caps query handler for the sinkpad
Thiago Santos [Wed, 30 Sep 2015 13:00:31 +0000 (10:00 -0300)]
deinterleave: implement a caps query handler for the sinkpad

It was missing and apparently code relied on having it there
for not allowing a change in the number of channels

8 years agodeinterleave: fix caps leak
Thiago Santos [Wed, 30 Sep 2015 12:05:03 +0000 (09:05 -0300)]
deinterleave: fix caps leak

Caps from the pad template are being leaked. In any case it is
from a static pad template and will 'leak' in the end, just doing
the cleanup for the good practice.

8 years agotests: gdkpixbufoverlay: add minimal unit test
Tim-Philipp Müller [Tue, 29 Sep 2015 10:15:01 +0000 (11:15 +0100)]
tests: gdkpixbufoverlay: add minimal unit test

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

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 agoFix some compiler warnings when building with G_DISABLE_ASSERT
Jan Schmidt [Thu, 17 Sep 2015 14:58:23 +0000 (00:58 +1000)]
Fix some compiler warnings when building with G_DISABLE_ASSERT

Touches rtpmanager and gdkpixbufsink

8 years agoqtdemux: support timed-text subtitle tracks.
Chris Bass [Tue, 18 Aug 2015 13:30:57 +0000 (14:30 +0100)]
qtdemux: support timed-text subtitle tracks.

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

8 years agogst: Don't use deprecated gst_segment_to_position()
Sebastian Dröge [Fri, 25 Sep 2015 22:12:46 +0000 (00:12 +0200)]
gst: Don't use deprecated gst_segment_to_position()

8 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

8 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

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

8 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

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