platform/upstream/gst-plugins-good.git
9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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

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

9 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

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

9 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

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

9 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

9 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

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

9 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

9 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

9 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

9 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

9 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()

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