platform/upstream/gst-plugins-good.git
8 years agoqtdemux: does not detect orientation
Gilbok Lee [Tue, 23 Jun 2015 11:15:13 +0000 (20:15 +0900)]
qtdemux: does not detect orientation

Most files don't contain the values for transposing the coordinates
back to the positive quadrant so qtdemux was ignoring the rotation
tag. To be able to properly handle those files qtdemux will also ignore
the transposing values to only detect the rotation using the values
abde from the transformation matrix:

[a b c]
[d e f]
[g h i]

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

8 years agoBack to development
Sebastian Dröge [Wed, 24 Jun 2015 22:04:16 +0000 (00:04 +0200)]
Back to development

8 years agoRelease 1.5.2
Sebastian Dröge [Wed, 24 Jun 2015 21:30:41 +0000 (23:30 +0200)]
Release 1.5.2

8 years agoUpdate .po files
Sebastian Dröge [Wed, 24 Jun 2015 20:56:12 +0000 (22:56 +0200)]
Update .po files

8 years agopo: Update translations
Sebastian Dröge [Wed, 24 Jun 2015 09:15:00 +0000 (11:15 +0200)]
po: Update translations

8 years agoqtmux: Correctly test each segments
Nicolas Dufresne [Tue, 23 Jun 2015 22:42:59 +0000 (18:42 -0400)]
qtmux: Correctly test each segments

In presence of gaps, qtdemux will emit multiple segments. The
second segment start should match the CTTS.

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

8 years agoqtmux: Correctly calculate the elst media start
Nicolas Dufresne [Tue, 23 Jun 2015 21:54:31 +0000 (17:54 -0400)]
qtmux: Correctly calculate the elst media start

The media start has nothing to do with the shift we have applied
but with the value of the first PTS. This is defined as:

  Dt(0) = 0
  Ct(0) = Dt(0) + CTTS(0)

So the media start is always the first CTTS.

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

8 years agoqtdemux: accumulate previous edts entries into segment.base
Thiago Santos [Tue, 23 Jun 2015 14:49:32 +0000 (11:49 -0300)]
qtdemux: accumulate previous edts entries into segment.base

Allows playing edts editted files with proper synchronization of
streams. This patch fixes the regression introduced by
bf95f93c0189aa04f18e264b86b6527e431c5d53 that was added to fix
segment seeks handling.

Having the accumulated_base separated from the main segment.base
allows handling both segment seeks and edts editted files.

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

8 years agoqtdemux: improve some debug messages
Thiago Santos [Tue, 23 Jun 2015 03:56:16 +0000 (00:56 -0300)]
qtdemux: improve some debug messages

Those messages are about the stream, use the pad as the
debug object to make it clear from the logs

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

8 years agoqtmux: store last_dts of the first buffer
Thiago Santos [Tue, 23 Jun 2015 01:22:09 +0000 (22:22 -0300)]
qtmux: store last_dts of the first buffer

Buffers need not to start at running-time 0 so the last_dts needs
to be the value of the first buffer's dts as it is used to compute
the duration of the buffers. If it was left at 0 the first buffer
would have a larger duration when it shouldn't

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

8 years agoflacparse: fix possible memory leak
Vineeth TM [Tue, 23 Jun 2015 08:11:57 +0000 (17:11 +0900)]
flacparse: fix possible memory leak

when buffer is stored to seektable, and stop gets called due to
corrupt flac file, then the seektable is not being released

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

8 years agoRevert "splitmuxsink: Mask async-start/done while switching files."
Jan Schmidt [Tue, 23 Jun 2015 06:28:40 +0000 (16:28 +1000)]
Revert "splitmuxsink: Mask async-start/done while switching files."

This reverts commit d61e5393f110ed482815d77807245d78b52eff46.

Causes failures muxing larger GOP sizes for some reason. Reverting
while I figure it out

8 years agosplitmuxsrc: Fix startup and shutdown races.
Jan Schmidt [Thu, 18 Jun 2015 13:22:06 +0000 (23:22 +1000)]
splitmuxsrc: Fix startup and shutdown races.

Fix 2 startup races when things happen too quickly, and 1
at shutdown by holding a ref to the pads in use until the
loop functions exit.

Handle errors activating file parts and publish them on
the bus.

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

8 years agosplitmuxsink: Mask async-start/done while switching files.
Jan Schmidt [Wed, 17 Jun 2015 23:26:13 +0000 (09:26 +1000)]
splitmuxsink: Mask async-start/done while switching files.

Sometimes, extra async-start/done from the internal sink
while the element is still starting up can cause splitmuxsink
to stall in PAUSED state when it has been set to PLAYING
by the app. Drop the child's async-start/done messages while
switching, so they don't cause state changes at the
splitmuxsink level.

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

8 years agomatroska-demux: Use gst_video_multiview_guess_half_aspect()
Jan Schmidt [Mon, 15 Jun 2015 06:12:10 +0000 (16:12 +1000)]
matroska-demux: Use gst_video_multiview_guess_half_aspect()

Use the gst_video_multiview_guess_half_aspect() utility function
to set the half-aspect flag (or not) on stereoscopic frame-packed
videos.

8 years agoqtdemux: Move multiview caps calculations, add half-aspect heuristics
Jan Schmidt [Mon, 15 Jun 2015 06:10:37 +0000 (16:10 +1000)]
qtdemux: Move multiview caps calculations, add half-aspect heuristics

Move the multiview caps calculations to the configure_stream()
function, so the rest of the video info is available, and
use the gst_video_multiview_guess_half_aspect() function to
determine if the half-aspect flag should be set on frame-packed
video.

8 years agoqtdemux: Add cslg support
Nicolas Dufresne [Thu, 18 Jun 2015 20:06:02 +0000 (16:06 -0400)]
qtdemux: Add cslg support

The cslg atom provide information about the DTS shift. This is
needed in recent version of ctts atom where the offset can be
negative. When cslg is missing, we parse the CTTS table as proposed
in the spec to calculate these values.

In this implementation, we only need to know the shift. As GStreamer
cannot transport negative timestamps, we shift the timestamps forward
using that value and adapt the segment to compensate. This patch also
removes bogus offset of ctts_soffset, this offset shall be included
in the edit list.

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

8 years agoqtmux: Test gaps at start of stream
Nicolas Dufresne [Fri, 19 Jun 2015 22:37:59 +0000 (18:37 -0400)]
qtmux: Test gaps at start of stream

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

8 years agoqtmux: Use PTS to figure-out presence of gaps
Nicolas Dufresne [Fri, 19 Jun 2015 22:40:43 +0000 (18:40 -0400)]
qtmux: Use PTS to figure-out presence of gaps

We need to look at the presentation timestamp in order to conclude if
there is a gap at the start of a stream.

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

8 years agoqtmux: Set edit list to compensate DTS shift
Nicolas Dufresne [Fri, 19 Jun 2015 20:45:02 +0000 (16:45 -0400)]
qtmux: Set edit list to compensate DTS shift

We shift DTS forward to avoid negative timestamps which cannot be
represented with version 0 of the CTTS table. To stick with that
version (backward compatibility), the spec recommend using an
edit list entry to move back the presentation time to where it
should be.

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

8 years agoflvmux: Insert AVC end of sequence
Nicolas Dufresne [Mon, 22 Jun 2015 18:35:52 +0000 (14:35 -0400)]
flvmux: Insert AVC end of sequence

This FLV specific mark is needed to prevent Flow Player (most likely
all Flash base player) from going into buffering state when near EOS.

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

8 years agomatroska: remove useless check
Vineeth TM [Mon, 22 Jun 2015 04:05:29 +0000 (13:05 +0900)]
matroska: remove useless check

No need to check for context availability while freeing. We are inside
inside a code block with a condition that dereferences context.
if (context->type == 0 ...

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

8 years agolzo: fix memory leak
Vineeth T M [Mon, 22 Jun 2015 10:35:57 +0000 (19:35 +0900)]
lzo: fix memory leak

the opened file is not being closed during test, which will result
in memory leak.

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

8 years agomikmod_reader: Possible null pointer dereference:
Vineeth T M [Mon, 22 Jun 2015 10:30:58 +0000 (19:30 +0900)]
mikmod_reader: Possible null pointer dereference:

gst_reader variable is being used before actually checking if it
allocated properly

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

8 years agortpjitterbuffer: Minor clean-up
Sangkyu Park [Mon, 22 Jun 2015 10:45:14 +0000 (19:45 +0900)]
rtpjitterbuffer: Minor clean-up

1. Fix the code which is wrong coding style.
2. Fix a typing error of comment.

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

8 years agortpsource: Do not try to push NULL buffers
Jose Antonio Santos Cadenas [Mon, 22 Jun 2015 09:28:13 +0000 (11:28 +0200)]
rtpsource: Do not try to push NULL buffers

If update_receiver_stats() fails, we can't really do anything with this buffer
anymore and have to drop it. This happens if there's a big seqnum
discontinuity for example.

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

8 years agoflvdemux: trivial cleanup
Vineeth TM [Mon, 22 Jun 2015 04:10:02 +0000 (13:10 +0900)]
flvdemux: trivial cleanup

trivial patch to add proper ( while checking for if(G_UNLIKELY())

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

8 years agodcaparse: initialize size variable
Vineeth TM [Mon, 22 Jun 2015 04:16:08 +0000 (13:16 +0900)]
dcaparse: initialize size variable

size can be used in cleanup without being initialized. Hence
setting it to 0 when declaring

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

8 years agompegaudioparse: initialze bpf variable
Vineeth TM [Mon, 22 Jun 2015 04:13:29 +0000 (13:13 +0900)]
mpegaudioparse: initialze bpf variable

bpf variable might be used in cleanup without being intialized.

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

8 years agortprtxqueue: reverse pending list before pushing buffers
Miguel París Díaz [Fri, 19 Jun 2015 12:50:59 +0000 (14:50 +0200)]
rtprtxqueue: reverse pending list before pushing buffers

With this we send the RTX buffers in the same order
that they were requested.

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

8 years agoflvmux: Fix DTS validity check
Nicolas Dufresne [Sun, 21 Jun 2015 23:22:10 +0000 (19:22 -0400)]
flvmux: Fix DTS validity check

This check was up-side-down, causing a bad timestamp at start
and then all timestamp being delayed.

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

9 years agocslg: Add Composition Shift Least Greatest Atom
Nicolas Dufresne [Wed, 17 Jun 2015 19:19:47 +0000 (15:19 -0400)]
cslg: Add Composition Shift Least Greatest Atom

This simply add fourcc and dump function for the cslg Atom.

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

9 years agoctts_dump: Fix signess issues
Nicolas Dufresne [Wed, 17 Jun 2015 19:18:38 +0000 (15:18 -0400)]
ctts_dump: Fix signess issues

It didn't bug, but use correct signess in traces. The number of
entries is unsigned while the offset can be signed according to
recent spec.

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

9 years agoAutomatic update of common submodule
Nicolas Dufresne [Tue, 16 Jun 2015 21:48:08 +0000 (17:48 -0400)]
Automatic update of common submodule

From 6015d26 to f74b2df

9 years agortpjitterbuffer: gst_rtp_buffer_ext_timestamp() modifies its first argument, keep...
Sebastian Dröge [Tue, 16 Jun 2015 09:43:39 +0000 (11:43 +0200)]
rtpjitterbuffer: gst_rtp_buffer_ext_timestamp() modifies its first argument, keep a copy around

9 years agortpjitterbuffer: Compare ext RTP times, not plain RTP time and ext RTP time when...
Sebastian Dröge [Tue, 16 Jun 2015 08:30:34 +0000 (10:30 +0200)]
rtpjitterbuffer: Compare ext RTP times, not plain RTP time and ext RTP time when calculating elapsed time

Otherwise all RTP times after a wraparound would be considered as going
backwards, they will always be smaller than the ext RTP time.

9 years agortpbin: The default rtp-profile should be AVP, not AVPF
Sebastian Dröge [Mon, 15 Jun 2015 17:25:12 +0000 (19:25 +0200)]
rtpbin: The default rtp-profile should be AVP, not AVPF

9 years agortpjitterbuffer: Minor cleanup
Sangkyu Park [Mon, 15 Jun 2015 05:32:21 +0000 (14:32 +0900)]
rtpjitterbuffer: Minor cleanup

1. Add Null check in 'free_item' function.
2. Fix a typing error of comment.

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

9 years agoflmux: Make sure best_time is initialized
Nicolas Dufresne [Fri, 12 Jun 2015 21:44:51 +0000 (17:44 -0400)]
flmux: Make sure best_time is initialized

9 years agortpbin/session: Add new ntp-time-source property and deprecate use-pipeline-clock...
Sebastian Dröge [Fri, 12 Jun 2015 21:29:19 +0000 (23:29 +0200)]
rtpbin/session: Add new ntp-time-source property and deprecate use-pipeline-clock property

The new property allows to select the time source that should be used for the
NTP time in RTCP packets. By default it will continue to calculate the NTP
timestamp (1900 epoch) based on the realtime clock. Alternatively it can use
the UNIX timestamp (1970 epoch), the pipeline's running time or the pipeline's
clock time. The latter is especially useful for synchronizing multiple
receivers if all of them share the same clock.

If use-pipeline-clock is set to TRUE, it will override the ntp-time-source
setting and continue to use the running time plus 70 years. This is only kept
for backwards compatibility.

9 years agotests: qtmux: test for muxing with DTS outside the segment
Thiago Santos [Tue, 7 Apr 2015 19:03:42 +0000 (16:03 -0300)]
tests: qtmux: test for muxing with DTS outside the segment

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

9 years agoqtdemux: Adjust segment according to ctts offset
Nicolas Dufresne [Thu, 11 Jun 2015 21:26:49 +0000 (17:26 -0400)]
qtdemux: Adjust segment according to ctts offset

In presence of a CTTS, the segment start/stop must be offset so
the segment start/stop include the PTS. This is needed since the
PTS cannot be negative in this format. This fixes issues where the
running time of the first buffer isn't at the start.

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

9 years agoqtmux: Handle DTS with negative running time
Nicolas Dufresne [Sat, 4 Apr 2015 00:34:42 +0000 (20:34 -0400)]
qtmux: Handle DTS with negative running time

As QT works with duration, simply bring back first DTS to 0 and shift
forward the PTS of the same amount.

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

9 years agoflvmux: Add negative runtime DTS support
Nicolas Dufresne [Wed, 10 Jun 2015 22:15:52 +0000 (18:15 -0400)]
flvmux: Add negative runtime DTS support

This is done by using new feature of the CollectPad clip function
which sets the DTS as a gint64 in the collected data. It also simplify
the code a bit.

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

9 years agortpbin: Rename some variables and debug output to make more sense
Sebastian Dröge [Fri, 12 Jun 2015 21:06:24 +0000 (23:06 +0200)]
rtpbin: Rename some variables and debug output to make more sense

Local and remote were mixed up in a few places, and the time we store here is
not UNIX time (1970 epoch), but NTP time (1900 epoch) in nanoseconds.

9 years agoosxaudio: fix latency property query on RemoteIO
Ilya Konstantinov [Fri, 12 Jun 2015 16:21:10 +0000 (19:21 +0300)]
osxaudio: fix latency property query on RemoteIO

AudioUnitGetProperty would fail with kParamErr (-50) every time,
simply because size wasn't initialized.

Now it returns zero latency, but at least it doesn't fail.

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

9 years agopulsesrc: Fix mapping of latency parameters to buffer attributes
Arun Raghavan [Tue, 7 Apr 2015 08:36:16 +0000 (14:06 +0530)]
pulsesrc: Fix mapping of latency parameters to buffer attributes

9 years agomatroska-demux: Actually set detected 3D info into output caps.
Jan Schmidt [Thu, 11 Jun 2015 15:56:37 +0000 (01:56 +1000)]
matroska-demux: Actually set detected 3D info into output caps.

Use the information read from the StereoMode info
to configure multiview-mode and multiview-flags in the
video caps.

9 years agosplitmuxsink: Take released-but-not-yet-output bytes into account
Jan Schmidt [Thu, 11 Jun 2015 03:36:54 +0000 (13:36 +1000)]
splitmuxsink: Take released-but-not-yet-output bytes into account

When deciding whether it's time to switch to a new file, take into
account data that's been released for pushing, but hasn't yet
been pushed - because downstream is slow or the threads haven't been
scheduled.

Fixes a race in the unit test and probably in practice - sometimes
failing to switch when it should for an extra GOP or two.

Also fix a problem in splitmuxsrc where playback sometimes
stalls at startup if types are found too quickly.

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

9 years agoatoms: remove custom gst_buffer_new function in favor of core version
Thiago Santos [Thu, 11 Jun 2015 04:04:51 +0000 (01:04 -0300)]
atoms: remove custom gst_buffer_new function in favor of core version

Remove a custom specialized version of gst_buffer_new_wrapped by
using gst_buffer_new_wrapped_full inside a macro to simplify
parameters and give it a more meaningful name.
It is only used to create temporary buffers to have its data copied.

9 years agoatoms: simplify free form data atoms creation
Thiago Santos [Thu, 11 Jun 2015 03:14:41 +0000 (00:14 -0300)]
atoms: simplify free form data atoms creation

Avoid creating an intermediary buffer or memory area just
to copy into an atom's data area.

9 years agoqtmux: add AC-3 muxing support
Thiago Santos [Thu, 11 Jun 2015 01:27:27 +0000 (22:27 -0300)]
qtmux: add AC-3 muxing support

Adds AC-3 muxing support. It is defined for mp4 and 3gp formats.

One extra feature that was added was the ability to add extension
atoms after set_caps as the AC-3 extension atom needs some data
that has to be extracted from the stream itself and is not
present on caps.

9 years agoqtmux: remove unused type MP4S
Thiago Santos [Thu, 11 Jun 2015 01:36:59 +0000 (22:36 -0300)]
qtmux: remove unused type MP4S

9 years agoqtmux: remove duplicate attribute value set
Thiago Santos [Thu, 11 Jun 2015 01:29:01 +0000 (22:29 -0300)]
qtmux: remove duplicate attribute value set

It is also set a few lines below

9 years agomatroska: Implement basic stereoscopic video support
Jan Schmidt [Wed, 10 Jun 2015 14:22:54 +0000 (00:22 +1000)]
matroska: Implement basic stereoscopic video support

Implement support for the packed video formats WebM
uses, not all the values that Matroska might use.

In practice, it's really hard to find any samples in the
wild of any.

Supported in both the muxer and demuxer.

9 years agoqtdemux: Add basic support for MPEG-A stereoscopic video
Jan Schmidt [Tue, 9 Jun 2015 15:26:15 +0000 (01:26 +1000)]
qtdemux: Add basic support for MPEG-A stereoscopic video

The MPEG-A format provides an extension to the ISO base media
file format to store stereoscopic content encoded with different
codecs like H.264 and MPEG-4:2. The stereo video media information(svmi)
atom declares the presence and storage method for the video.

Stereo video information for MPEG-A can also be supplied through
the 'stvi' atom (ref: ISO/IEC_14496-12, ISO/IEC_23000-11), which
is not implemented in this patch.

Also missing is support for stereo video encoded as separate video tracks
for now.

Based on a patch by Sreerenj Balachandran <sreerenj.balachandran@intel.com>

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

9 years agosouphttpsrc: Add tls-database property
Xavier Claessens [Tue, 2 Jun 2015 20:15:35 +0000 (16:15 -0400)]
souphttpsrc: Add tls-database property

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

9 years agortp: Use GST_BUFFER_PTS() instead of GST_BUFFER_TIMESTAMP()
Sebastian Dröge [Wed, 10 Jun 2015 12:33:50 +0000 (14:33 +0200)]
rtp: Use GST_BUFFER_PTS() instead of GST_BUFFER_TIMESTAMP()

The mix between all these in the RTP code is confusing, let's try to be
consistent.

9 years agortpmanager: clarify negative lost packets in stats
Ilya Konstantinov [Wed, 10 Jun 2015 11:49:50 +0000 (14:49 +0300)]
rtpmanager: clarify negative lost packets in stats

Also:
- Move notes on units before field documentation.
- Unify documentation style.

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

9 years agosouphttpsrc: fix getter of "ssl-use-system-ca-file"
Xavier Claessens [Wed, 10 Jun 2015 10:38:39 +0000 (06:38 -0400)]
souphttpsrc: fix getter of "ssl-use-system-ca-file"

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

9 years agoqtdemux: fix reverse playback
Vineeth TM [Wed, 10 Jun 2015 00:49:47 +0000 (09:49 +0900)]
qtdemux: fix reverse playback

When performing seek, segment->start is being updated with desired_offset,
but in case of reverse playback segment->start should be 0 and
segment->stop should be updated with desired offset.

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

9 years agogstv4l2bufferpool: handle -EPIPE from DQBUF to signal EOS
Philipp Zabel [Wed, 21 Jan 2015 17:09:03 +0000 (18:09 +0100)]
gstv4l2bufferpool: handle -EPIPE from DQBUF to signal EOS

The V4L2 decoder signals EOS by returning -EPIPE from DQBUF after the
last buffer.

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

9 years agortspsrc: Add a GTlsInteraction property
Xavier Claessens [Sun, 7 Jun 2015 01:09:19 +0000 (21:09 -0400)]
rtspsrc: Add a GTlsInteraction property

It can be used for TLS client authentication.

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

9 years agov4l2: Allow scaling in the v4l2*convert element
Enrico Jorns [Fri, 9 Jan 2015 10:36:11 +0000 (11:36 +0100)]
v4l2: Allow scaling in the v4l2*convert element

This is inspired of videoscale and videoconvert elements.

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

9 years agortpmanager: document units of stats and arguments
Ilya Konstantinov [Tue, 9 Jun 2015 16:02:55 +0000 (19:02 +0300)]
rtpmanager: document units of stats and arguments

Also, minor spelling and style corrections.

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

9 years agocruft: add the obsolete tmpl dir to cruft-dirs
Stefan Sauer [Tue, 9 Jun 2015 12:42:27 +0000 (14:42 +0200)]
cruft: add the obsolete tmpl dir to cruft-dirs

9 years agoAutomatic update of common submodule
Edward Hervey [Tue, 9 Jun 2015 09:30:22 +0000 (11:30 +0200)]
Automatic update of common submodule

From d9a3353 to 6015d26

9 years agoFix common version
Edward Hervey [Tue, 9 Jun 2015 05:04:07 +0000 (07:04 +0200)]
Fix common version

Was accidently downgraded by 87a4884acd8655a6591d735a1d944ecb5ea3de16

9 years agov4l2: Also set colorimetry on output devices
Nicolas Dufresne [Mon, 8 Jun 2015 23:11:41 +0000 (19:11 -0400)]
v4l2: Also set colorimetry on output devices

This completes the code that set the colorimetry on output
device.

9 years agov4l2: Add missing SMTP240M matrix
Nicolas Dufresne [Mon, 8 Jun 2015 23:10:34 +0000 (19:10 -0400)]
v4l2: Add missing SMTP240M matrix

This is missing in the doc, but was in the header.

9 years agogoom: possible uninitialized variables warning
Luis de Bethencourt [Mon, 8 Jun 2015 22:00:16 +0000 (23:00 +0100)]
goom: possible uninitialized variables warning

Build fails with the latest snapshot of gcc-4.9 because param1 and param2 might
possibly be used uninitialized. They are set depending on the cases of a switch
statement and the compiler sees this as not a complete guarantee.
Set them to 0 if the switch statement falls down to the default case.

https://bugzilla.gnome.org/show_bug.cgi?id=750566#c6

9 years agov4l2object: Fully implement colorimetry support
Nicolas Dufresne [Mon, 8 Jun 2015 21:24:38 +0000 (17:24 -0400)]
v4l2object: Fully implement colorimetry support

This fixes wrong mapping for sRGB as in GStreamer sRGB correctly
apply to RGB formats, while in V4L2 it's an alias for sYCC. Also
add support for the new quantization (range), ycbcr_encoding (matrix)
and xfer_func (transfer) enumeration.

9 years agov4l2: Update kernel headers to latest from media tree
Nicolas Dufresne [Mon, 8 Jun 2015 21:01:15 +0000 (17:01 -0400)]
v4l2: Update kernel headers to latest from media tree

This is the latest from media tree. This should enable more development
of the v4l2 elements. This includes new flags requires to fix draining
path in decoder, colorimetry and much more.

9 years agoAutomatic update of common submodule
Stefan Sauer [Mon, 8 Jun 2015 21:07:55 +0000 (23:07 +0200)]
Automatic update of common submodule

From d37af32 to d9a3353

9 years agortpvp8depay: potential access beyond end of array
Chris Clayton [Mon, 8 Jun 2015 18:42:30 +0000 (19:42 +0100)]
rtpvp8depay: potential access beyond end of array

Compiling (with gcc-4.9-20150603) produces an error because of an access beyond
the end of an array. This patch fixes the error by initializing the loop
control/array index variable (i) to 1 and returning i - 1 when a match is found.
Also, because the values stored in the array increase in value as the index
increases, the >= test unnecessary, so it is removed.

9 years agosplitmuxsink: Don't accumulate more than 2 GOPs
Jan Schmidt [Wed, 29 Apr 2015 16:52:58 +0000 (02:52 +1000)]
splitmuxsink: Don't accumulate more than 2 GOPs

Don't allow large amounts of data to queue up - we only need
the GOP we're writing, and the GOP we're accumulating.

9 years agoisomp4: fsync after sending updates in robust mode
Jan Schmidt [Thu, 16 Apr 2015 00:44:49 +0000 (10:44 +1000)]
isomp4: fsync after sending updates in robust mode

Use the new GstBuffer SYNC_AFTER flag to trigger an fsync
after updating the moov or mdat atom, and after updating the free
atom to make it visible.

9 years agoisomp4: Only set moov header into streamheader at EOS
Jan Schmidt [Thu, 2 Apr 2015 13:57:20 +0000 (00:57 +1100)]
isomp4: Only set moov header into streamheader at EOS

Only update the moov header into the caps if it's the finalised
moov at EOS time. Avoids posting a bogus moov at startup and
repeated updates in robust-recording mode

9 years agotests: Update mp4 mux test for mdat placeholder change
Jan Schmidt [Thu, 2 Apr 2015 14:44:15 +0000 (01:44 +1100)]
tests: Update mp4 mux test for mdat placeholder change

The mp4 muxer now writes a place-holder mdat as a free
atom followed by a 0-byte mdat that covers the rest of the
file, making it possible to rewrite it as 64-bit, or leave
it as-is if nothing else is written afterward

9 years agoisomp4: Implement robust muxing using ping-pong strategy
Jan Schmidt [Wed, 1 Apr 2015 00:15:38 +0000 (11:15 +1100)]
isomp4: Implement robust muxing using ping-pong strategy

Implement a robust recording mode, where the output
file is always in a playable state, seeking and rewriting
the moov header at a configurable interval. Rewriting
moov is done using reserved space at the start of
the file, and a ping-pong strategy where the moov
is replaced atomically so it's never invalid.

Track when tags have actually changed, and don't write them into
the moov unless they've changed. Clear any existing tags when
re-writing them, so we can do progressive moov updating in robust
recording mode.

Write placeholder mdat as a free atom plus a 32-bit mdat
with '0' size, which means "rest of the file" in the spec.

Re-write it later to a full 64-bit extended size atom if needed.

9 years agoisomp4: Update edit list when re-writing moov
Jan Schmidt [Tue, 31 Mar 2015 13:58:52 +0000 (00:58 +1100)]
isomp4: Update edit list when re-writing moov

Correctly update any edit lists each time the moov is recalculated,
updating existing table entries if they already exist instead of just
adding new ones.

9 years agoisomp4: Remove an extra bracket in a comment.
Jan Schmidt [Tue, 7 Apr 2015 15:41:18 +0000 (01:41 +1000)]
isomp4: Remove an extra bracket in a comment.

9 years agosplitmuxsrc: Protect total_duration state variable with the object lock.
Jan Schmidt [Thu, 19 Mar 2015 09:29:44 +0000 (20:29 +1100)]
splitmuxsrc: Protect total_duration state variable with the object lock.

Prevent deadlocks from downstream querying duration from the streaming thread.

9 years agoAutomatic update of common submodule
Stefan Sauer [Sun, 7 Jun 2015 21:06:20 +0000 (23:06 +0200)]
Automatic update of common submodule

From 21ba2e5 to d37af32

9 years agogoom: clean dereferences of private structure
Luis de Bethencourt [Sun, 7 Jun 2015 18:24:20 +0000 (19:24 +0100)]
goom: clean dereferences of private structure

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

9 years agogoom2k1: clean dereferences of private structure
Luis de Bethencourt [Sun, 7 Jun 2015 18:20:04 +0000 (19:20 +0100)]
goom2k1: clean dereferences of private structure

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

9 years agoAutomatic update of common submodule
Stefan Sauer [Sun, 7 Jun 2015 15:32:01 +0000 (17:32 +0200)]
Automatic update of common submodule

From c408583 to 21ba2e5

9 years agodocs: remove variables that we define in the snippet from common
Stefan Sauer [Sun, 7 Jun 2015 15:01:37 +0000 (17:01 +0200)]
docs: remove variables that we define in the snippet from common

This is syncing our Makefile.am with upstream gtkdoc.

9 years agoAutomatic update of common submodule
Stefan Sauer [Sun, 7 Jun 2015 15:16:19 +0000 (17:16 +0200)]
Automatic update of common submodule

From d676993 to c408583

9 years agoBack to development
Sebastian Dröge [Sun, 7 Jun 2015 14:44:37 +0000 (16:44 +0200)]
Back to development

9 years agoRelease 1.5.1
Sebastian Dröge [Sun, 7 Jun 2015 08:46:34 +0000 (10:46 +0200)]
Release 1.5.1

9 years agoUpdate .po files
Sebastian Dröge [Sun, 7 Jun 2015 08:38:28 +0000 (10:38 +0200)]
Update .po files

9 years agortpsession: Override the SSRC from the packets' SSRC if none was given via caps or...
Sebastian Dröge [Sun, 7 Jun 2015 08:32:38 +0000 (10:32 +0200)]
rtpsession: Override the SSRC from the packets' SSRC if none was given via caps or property

9 years agopo: Update translations
Sebastian Dröge [Sun, 7 Jun 2015 07:35:38 +0000 (09:35 +0200)]
po: Update translations

9 years agov4l2: Don't warn when optional CID are not implement
Nicolas Dufresne [Fri, 5 Jun 2015 19:32:10 +0000 (15:32 -0400)]
v4l2: Don't warn when optional CID are not implement

gst_v4l2_get_attributre() shall only be used when the CID is expected
to be supported. Otherwise, we get unwanted warning posted to the bus.

9 years agortpsession: Only suggest our internal ssrc if it's not a random one and was selected...
Sebastian Dröge [Fri, 5 Jun 2015 14:43:08 +0000 (16:43 +0200)]
rtpsession: Only suggest our internal ssrc if it's not a random one and was selected as internal ssrc

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

9 years agointerleave: error when channel-positions-from-input=False
Vineeth TM [Thu, 4 Jun 2015 05:18:01 +0000 (14:18 +0900)]
interleave: error when channel-positions-from-input=False

self->channels is being incremented only when
channel-positions-from-input is set as TRUE. So in case of FALSE
self->func is not set and hence creating assertion error.
Hence removing the condition to increment self->channels.

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

9 years agortpjitterbuffer: Add support for receiving reduced size RTCP
Sebastian Dröge [Fri, 5 Jun 2015 08:33:11 +0000 (10:33 +0200)]
rtpjitterbuffer: Add support for receiving reduced size RTCP

It worked before but gave warnings, now we just ignore RTCP
packets that don't start with a SR. As all we're interested
in here are SRs.

9 years agortpssrcdemux: Add support for reduce size rtcp
Jose Antonio Santos Cadenas [Wed, 3 Jun 2015 10:22:42 +0000 (12:22 +0200)]
rtpssrcdemux: Add support for reduce size rtcp

According to RFC 5506, reduce size packages can be sent, this
packages may not be compound, so we need to add support for
getting ssrc from other types of packages.

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

9 years agortpsession: Add support for receiving reduced size rtcp
Jose Antonio Santos Cadenas [Wed, 3 Jun 2015 11:14:44 +0000 (13:14 +0200)]
rtpsession: Add support for receiving reduced size rtcp

See RFC 5506

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