platform/upstream/gstreamer.git
9 years agogi: Use INTROSPECTION_INIT for --add-init-section
Nicolas Dufresne [Tue, 16 Jun 2015 22:04:57 +0000 (18:04 -0400)]
gi: Use INTROSPECTION_INIT for --add-init-section

This new define was added to common. The new init section fixed
compilation warning found in the init line that was spread across
all files.

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

From 6015d26 to f74b2df

9 years agotools: gst-play: error out instead of crashing if there's no playbin element
Tim-Philipp Müller [Tue, 16 Jun 2015 21:32:49 +0000 (22:32 +0100)]
tools: gst-play: error out instead of crashing if there's no playbin element

9 years agogi: Skip Scaler, Chroma, Conveter, Dither constructor
Nicolas Dufresne [Tue, 16 Jun 2015 20:08:39 +0000 (16:08 -0400)]
gi: Skip Scaler, Chroma, Conveter, Dither constructor

Please box these types before removing the skip mark.

9 years agogi: Add (transfer none) for various video meta
Nicolas Dufresne [Tue, 16 Jun 2015 20:07:27 +0000 (16:07 -0400)]
gi: Add (transfer none) for various video meta

These method chains gst_buffer_add_meta() which is also transfer
none.

9 years agogi: Fix warnings in GstRtsp
Nicolas Dufresne [Tue, 16 Jun 2015 19:50:13 +0000 (15:50 -0400)]
gi: Fix warnings in GstRtsp

* The custom GSource is not boxed (skip for now)
* The comment block has wrong name for _read_socket()

9 years agogi: Don't produce gir and typlib for GstRiff
Nicolas Dufresne [Tue, 16 Jun 2015 19:16:33 +0000 (15:16 -0400)]
gi: Don't produce gir and typlib for GstRiff

The API does not follow the type naming convention. Re-enable
only if one take the time to box and rename (see (rename-to SYMBOL)
annotation) all types.

9 years agogi: Skip fft constructor for now
Nicolas Dufresne [Tue, 16 Jun 2015 18:36:44 +0000 (14:36 -0400)]
gi: Skip fft constructor for now

These types have never been boxed, hence cannot be used
safely in interpreted languages. This fixes warnings.

9 years agogi: Fix warnings in libgstaudio
Nicolas Dufresne [Tue, 16 Jun 2015 18:34:04 +0000 (14:34 -0400)]
gi: Fix warnings in libgstaudio

* Duplicate section
* Miss-named parameter
* Missing transfer none annotation for meta

9 years agobasetextoverlay: add "draw-shadow" and "draw-outline" properties
Lazar Claudiu [Wed, 27 May 2015 09:20:19 +0000 (12:20 +0300)]
basetextoverlay: add "draw-shadow" and "draw-outline" properties

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

9 years agovideoencoder: fix gtk-doc chunk for new function
Tim-Philipp Müller [Sat, 13 Jun 2015 12:41:35 +0000 (13:41 +0100)]
videoencoder: fix gtk-doc chunk for new function

9 years agobasetextoverlay: Rewrite negotiation method
Nicolas Dufresne [Tue, 12 May 2015 18:12:52 +0000 (14:12 -0400)]
basetextoverlay: Rewrite negotiation method

This cleanup the negotiation function by properly splitting the probe
and the decisions. This allow handling correctly pipeline where upstream
caps have special memory type. An example pipeline is:

  gltestsrc ! textoverlay text=bla ! fakesink

The upstream caps will be memory:GLMemory, which isn't supported by the
blitter.

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

9 years agoxvimagesink: Don't share internal pool
Nicolas Dufresne [Fri, 5 Jun 2015 18:30:12 +0000 (14:30 -0400)]
xvimagesink: Don't share internal pool

Sharing the internal pool results in situation where the pool may have
two upstream owners. This creates a race upon deactivation. Instead,
always offer a new pool, and keep the internal pool internal in case
we absolutely need it.

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

9 years agoximagesink: Don't share internal pool
Nicolas Dufresne [Fri, 5 Jun 2015 18:28:41 +0000 (14:28 -0400)]
ximagesink: Don't share internal pool

Sharing the internal pool results in situation where the pool may have
two upstream owners. This create a race upon deactivation. Instead,
always offer a new pool, and keep the internal pool internal in case
we absolutely need it.

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

9 years agovideoencoder: Add gst_video_encoder_set_min_pts()
Matej Knopp [Wed, 26 Nov 2014 20:06:57 +0000 (21:06 +0100)]
videoencoder: Add gst_video_encoder_set_min_pts()

For streams with reordered frames this can be used to ensure that there
is enough time to accomodate first DTS, which may be less than first PTS

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

9 years agoUpdate .def file for new API
Tim-Philipp Müller [Fri, 12 Jun 2015 18:58:34 +0000 (19:58 +0100)]
Update .def file for new API

9 years agovideodecoder: Copy multiview-mode, flags and view count from ref info
Jan Schmidt [Fri, 12 Jun 2015 15:35:52 +0000 (01:35 +1000)]
videodecoder: Copy multiview-mode, flags and view count from ref info

When copying info from the reference input state, duplicate
all the fields of the video info. The sub-class will have the
chance to override them later.

9 years agovideo-scaler: enforce same taps when combining scalers
Wim Taymans [Fri, 12 Jun 2015 14:57:39 +0000 (16:57 +0200)]
video-scaler: enforce same taps when combining scalers

9 years agovideo-scaler: make sure to clamp to max width
Wim Taymans [Fri, 12 Jun 2015 14:52:27 +0000 (16:52 +0200)]
video-scaler: make sure to clamp to max width

When estimating the area that should first be vertically scaled, make
sure we clamp to the max input size or else we get invalid reads.

9 years agovideo-scaler: Enforce same taps on Y and UV scalers for merged formats
Wim Taymans [Fri, 12 Jun 2015 14:47:03 +0000 (16:47 +0200)]
video-scaler: Enforce same taps on Y and UV scalers for merged formats

Make sure we have the same number of taps for the Y and UV scalers so
that the scalers can be merged correctly.

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

9 years agortsp: Add a FIXME 2.0 for gst_rtsp_connection_create_from_socket()
Arun Raghavan [Fri, 12 Jun 2015 07:20:35 +0000 (12:50 +0530)]
rtsp: Add a FIXME 2.0 for gst_rtsp_connection_create_from_socket()

There's a couple of redundant arguments from the pre-GIO days.

9 years agotypefinding: check for full UTF-8 BOM in MSS typefinder
Tim-Philipp Müller [Thu, 11 Jun 2015 22:32:55 +0000 (23:32 +0100)]
typefinding: check for full UTF-8 BOM in MSS typefinder

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

9 years agotypefindfunctions: UTF-8 MSS Manifest detection support
Philippe Normand [Thu, 11 Jun 2015 16:14:47 +0000 (18:14 +0200)]
typefindfunctions: UTF-8 MSS Manifest detection support

Check if the first bytes of data contain an UTF-8 BOM.

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

9 years agoplaybin: Check in autoplug_continue against the subtitle factory caps correctly
Sebastian Dröge [Thu, 11 Jun 2015 14:18:51 +0000 (16:18 +0200)]
playbin: Check in autoplug_continue against the subtitle factory caps correctly

6a2f017bfa9cb73c6db65eea0b84b1d5b56febb7 changed it to check the subtitle
factory caps if there is a text-sink but we fail to get its sinkpad. What
actually should be done here is to use the factory caps if there is no
text-sink at all.

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

9 years agoplaybin: Fix some warnings with clang around multiview enums
Jan Schmidt [Thu, 11 Jun 2015 13:01:48 +0000 (23:01 +1000)]
playbin: Fix some warnings with clang around multiview enums

There is the GstVideoMultiviewMode enum and the
GstVideoMultiviewFramePacking, which is a subset of the
multiview modes, with the same values as the corresponding
types from the full enum. Do some casts and use the right
times to avoid implicitly using/passing GstVideoMultiviewFramePacking
when a GstVideoMultiviewMode is needed.

9 years agotests: Fix video libs test for multiview GstVideoInfo change
Jan Schmidt [Thu, 11 Jun 2015 02:21:08 +0000 (12:21 +1000)]
tests: Fix video libs test for multiview GstVideoInfo change

The GstVideoInfo struct was changed late in integrating the
multiview changes, and I forgot to run and fix the unit test.

9 years agoplaybin: Implement multiview frame-packing overrides
Jan Schmidt [Thu, 11 Jun 2015 01:12:39 +0000 (11:12 +1000)]
playbin: Implement multiview frame-packing overrides

Add GstVideoMultiviewFramePacking enum, and the
video-multiview-mode and video-multiview-flags
properties on playbin.

Use a pad probe to replace the multiview information in
video caps sent out from uridecodebin.

This is a part implementation only - for full
correctness, it should also modify caps in caps events,
accept-caps and allocation queries.

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

9 years agovideo: Add multiview/stereo support
Jan Schmidt [Thu, 11 Jun 2015 01:12:39 +0000 (11:12 +1000)]
video: Add multiview/stereo support

Add flags and enums to support multiview signalling in
GstVideoInfo and GstVideoFrame, and the caps serialisation and
deserialisation.

videoencoder: Copy multiview settings from reference input state

Add gst_video_multiview_* support API and GstVideoMultiviewMeta meta

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

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

9 years agoplaysink: fix the channel of color balance element
Víctor Manuel Jáquez Leal [Wed, 10 Jun 2015 10:26:38 +0000 (12:26 +0200)]
playsink: fix the channel of color balance element

When traversing the color balance element channel list to find the one that
matches with the playsink proxy, the assignation was set to iterator of the
playsink proxy, not the balance element. Thus, the mapping to the values of
the balance element channel was wrong.

This patch fixes the assignation of the color balance element channel, so the
mapping to the channel of the color balance element is fixed.

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

9 years agoplaysink: cannot enable text flag while playing
Vineeth TM [Wed, 10 Jun 2015 06:50:12 +0000 (15:50 +0900)]
playsink: cannot enable text flag while playing

when text playbin is not enabled in the beginning, then
video_srcpad_stream_synchronizer gets linked to videochain->sinkpad
and when we try to enable text bin during play, since it is already linked to videochain,
text chain does not get linked properly. Hence unlinking the same
before linking to text chain

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

9 years agowin32: Update defs file
Edward Hervey [Wed, 10 Jun 2015 07:59:49 +0000 (09:59 +0200)]
win32: Update defs file

9 years agoGstRTSPConnection: Add GTlsInteraction support
Xavier Claessens [Sat, 6 Jun 2015 02:04:24 +0000 (22:04 -0400)]
GstRTSPConnection: Add GTlsInteraction support

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

9 years agotools: gst-play: don't print 64 whitespaces next to the time indication
Vivia Nikolaidou [Tue, 9 Jun 2015 18:24:07 +0000 (21:24 +0300)]
tools: gst-play: don't print 64 whitespaces next to the time indication

Printing 64 whitespaces to erase the "Paused" message (after \r) would make
it wrap to the next line on shorter terminals. Instead we only print the
amount of spaces needed. Also mark the "Paused" string for translation
while we're at it.

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

9 years agoUpdate win32 exports
Jan Schmidt [Tue, 9 Jun 2015 12:03:37 +0000 (22:03 +1000)]
Update win32 exports

9 years agoalsa: report recoverable device failures to base class
Carlos Rafael Giani [Mon, 9 Dec 2013 17:46:14 +0000 (18:46 +0100)]
alsa: report recoverable device failures to base class

This gives custom slave methods in the base class a chance to
resynchronize themselves

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
https://bugzilla.gnome.org/show_bug.cgi?id=708362

9 years agoaudiobasesink: added custom clock slaving method
Carlos Rafael Giani [Mon, 9 Dec 2013 16:08:15 +0000 (17:08 +0100)]
audiobasesink: added custom clock slaving method

This new clock slaving method allows for installing a callback that is
invoked during playback. Inside this callback, a custom slaving
mechanism can be used (for example, a control loop adjusting a PLL or an
asynchronous resampler). Upon request, it can skew the playout pointer
just like the "skew" method. This is useful if the clocks drifted apart
too much, and a quick reset is necessary.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
https://bugzilla.gnome.org/show_bug.cgi?id=708362

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

From d9a3353 to 6015d26

9 years agotools: gst-play: add shortcuts to switch audio/subtitle/video tracks
Tim-Philipp Müller [Tue, 9 Jun 2015 09:16:34 +0000 (10:16 +0100)]
tools: gst-play: add shortcuts to switch audio/subtitle/video tracks

9 years agoplayback: Skip 'ANY' capsfeature while finding the count of common capsfeatures
Sreerenj Balachandran [Wed, 5 Nov 2014 07:41:36 +0000 (09:41 +0200)]
playback: Skip 'ANY' capsfeature while finding the count of common capsfeatures

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

9 years agoplayback: Add gstplaybackutils.{h,c} to deploy the common subroutines
Sreerenj Balachandran [Wed, 5 Nov 2014 07:40:43 +0000 (09:40 +0200)]
playback: Add gstplaybackutils.{h,c} to deploy the common subroutines

Bring some of the helper functions in gstplaybin2.c to new files
gstplaybackutils.{h,c} which can be utilized by other files
in gst/playback too.

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

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

From d37af32 to d9a3353

9 years agotools: gst-play: sort directory entries
Vivia Nikolaidou [Mon, 8 Jun 2015 17:32:02 +0000 (20:32 +0300)]
tools: gst-play: sort directory entries

When adding a directory to the playlist, the order would be whatever
g_dir_read_name returned. Sorting these using natural sort order.

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

9 years agoximagesink, xvimagesink: fix string leaks when setting class hint
Tim-Philipp Müller [Mon, 8 Jun 2015 19:17:07 +0000 (20:17 +0100)]
ximagesink, xvimagesink: fix string leaks when setting class hint

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

9 years agovideo: Allow using bt2020 by name in colorimetry
Nicolas Dufresne [Mon, 8 Jun 2015 17:01:43 +0000 (13:01 -0400)]
video: Allow using bt2020 by name in colorimetry

As the lookup stops at the first element in the array with a NULL
name, bt2020 could not be used by name. Moving up this entry
fixes the issue.

9 years agoximagesink: set WM_CLASS of window
Luis de Bethencourt [Fri, 5 Jun 2015 15:01:05 +0000 (16:01 +0100)]
ximagesink: set WM_CLASS of window

Set WM_CLASS of the ximagesink window so window managers can apply rules
based on xprop filtering.

9 years agoxvimagesink: set WM_CLASS of window
Luis de Bethencourt [Fri, 5 Jun 2015 14:58:39 +0000 (15:58 +0100)]
xvimagesink: set WM_CLASS of window

Set WM_CLASS of the xvimagesink window so window managers can apply rules
based on xprop filtering.

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

From 21ba2e5 to d37af32

9 years agolibvisual: clean dereferences of private structures
Luis de Bethencourt [Sun, 7 Jun 2015 17:49:48 +0000 (18:49 +0100)]
libvisual: clean dereferences of private structures

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

9 years agolibvisual: make private all variable subclasses don't need
Luis de Bethencourt [Sun, 7 Jun 2015 17:23:23 +0000 (18:23 +0100)]
libvisual: make private all variable subclasses don't need

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

9 years agoAutomatic update of common submodule
Stefan Sauer [Sun, 7 Jun 2015 15:31:55 +0000 (17:31 +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:00:05 +0000 (17:00 +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:13 +0000 (17:16 +0200)]
Automatic update of common submodule

From 241fcb7 to c408583

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

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

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

9 years agortpbasepayload: Always prefer downstream's ssrc suggestion if any
Sebastian Dröge [Fri, 5 Jun 2015 14:44:08 +0000 (16:44 +0200)]
rtpbasepayload: Always prefer downstream's ssrc suggestion if any

Otherwise ssrc changes via rtpsession's (deprecated!) internal-ssrc property
are not possible anymore. rtpsession was now patched to only suggest an ssrc
if it makes sense to do so.

In 2.0 we should get rid of all the properties that are also negotiated via
caps, the code and behaviour is too confusing otherwise.

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

9 years agortcpbuffer: Improve documentation of new functions a bit
Sebastian Dröge [Fri, 5 Jun 2015 08:16:56 +0000 (10:16 +0200)]
rtcpbuffer: Improve documentation of new functions a bit

Also actually add them to the documentation.

9 years agortcpbuffer: Update package validation to support reduced size rtcp packets
Jose Antonio Santos Cadenas [Wed, 3 Jun 2015 09:20:35 +0000 (11:20 +0200)]
rtcpbuffer: Update package validation to support reduced size rtcp packets

According to this section of the rfc.
https://tools.ietf.org/html/rfc5506#section-3.4.2
The validation should be updated to accept more types of RTCP
packages, with this mask change feedback packages will be also
accepted.

Change-Id: If5ead59e03c7c60bbe45a9b09f3ff680e7fa4868

9 years agoaudioresample: copy metadata that only has the "audio" tag.
Mathieu Duponchelle [Thu, 4 Jun 2015 17:03:51 +0000 (19:03 +0200)]
audioresample: copy metadata that only has the "audio" tag.

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

9 years agoaudiofilter: copy metadata that only has the "audio" tag.
Mathieu Duponchelle [Thu, 4 Jun 2015 17:00:45 +0000 (19:00 +0200)]
audiofilter: copy metadata that only has the "audio" tag.

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

9 years agoaudioconvert: copy metadata that only has the "audio" tag.
Mathieu Duponchelle [Thu, 4 Jun 2015 15:59:17 +0000 (17:59 +0200)]
audioconvert: copy metadata that only has the "audio" tag.

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

9 years agodiscoverer: Serialize the top level DiscovererInfo
Mathieu Duponchelle [Wed, 20 May 2015 16:16:07 +0000 (18:16 +0200)]
discoverer: Serialize the top level DiscovererInfo

Which contains fields such as duration, uri and tags.

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

9 years agocodec-utils: Add AAC channel configurations 11, 12 and 14 and levels 6 and 7
Sebastian Dröge [Thu, 4 Jun 2015 14:31:12 +0000 (16:31 +0200)]
codec-utils: Add AAC channel configurations 11, 12 and 14 and levels 6 and 7

9 years agocheck: Use GST_CHECK_MAIN () macro everywhere
Edward Hervey [Tue, 2 Jun 2015 14:14:39 +0000 (16:14 +0200)]
check: Use GST_CHECK_MAIN () macro everywhere

Makes source code smaller, and ensures we go through common initialization
path (like the one that sets up XML unit test output ...)

9 years agopbutils: add description for video/x-cavs caps
Tim-Philipp Müller [Tue, 2 Jun 2015 11:47:50 +0000 (12:47 +0100)]
pbutils: add description for video/x-cavs caps

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

9 years agowin32: Update def file for new encoding API
Edward Hervey [Tue, 2 Jun 2015 10:28:19 +0000 (12:28 +0200)]
win32: Update def file for new encoding API

9 years agortpbuffer: optimise payload mapping for buffers with one memory
Tim-Philipp Müller [Fri, 29 May 2015 13:15:31 +0000 (14:15 +0100)]
rtpbuffer: optimise payload mapping for buffers with one memory

Micro-optimisation: if the buffer consist of just one memory, we
know we have already mapped that memory to read the headers, so
no need to map it another time to get to the payload data, we
can just set up the payload data details right there and then
and avoid another map call in gst_rtp_buffer_get_payload().
Adds up when receiving RTP-payloaded raw video which can easily
be thousands of packets per frame.

9 years agortpbasedepayload: provide chain_list function on sink pad
Tim-Philipp Müller [Thu, 21 May 2015 12:59:55 +0000 (13:59 +0100)]
rtpbasedepayload: provide chain_list function on sink pad

Implement a chain_list function, which avoids lots of locking
compared to the default fallback implementation in GstPad.
We may also want to do some more sophisticated timestamp
tracking here at some point, but for now leave it up to the
jitterbuffer and/or subclasses (in case buffers in the
buffer list have no timestamp set on them, there may only
be a timestamp for the whole list on the first buffer).
This provides the exact same behaviour as the default
fallback implementation.

9 years agoencodebin: Add a way to enable/disabled a GstEncodingProfile
Thibault Saunier [Thu, 7 May 2015 08:26:47 +0000 (10:26 +0200)]
encodebin: Add a way to enable/disabled a GstEncodingProfile

Summary:
So that the user can easily use the same encoding profile to render
with/without audio/video stream.

API:
  gst_encoding_profile_is_disabled
  gst_encoding_pofile_set_enabled

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

9 years agotools: gst-play: remove unnecessary variable
Luis de Bethencourt [Sat, 30 May 2015 14:34:51 +0000 (15:34 +0100)]
tools: gst-play: remove unnecessary variable

The second assignment of sret is never used. We can remove the first assignment
and use the value directly instead.

9 years agoid3v2frames: Fix compiler warnings
Sebastian Dröge [Sat, 30 May 2015 06:12:03 +0000 (08:12 +0200)]
id3v2frames: Fix compiler warnings

id3v2frames.c:951:20: error: unused variable 'utf16enc' [-Werror,-Wunused-const-variable]
static const gchar utf16enc[] = "UTF-16";
                   ^
id3v2frames.c:952:20: error: unused variable 'utf16leenc' [-Werror,-Wunused-const-variable]
static const gchar utf16leenc[] = "UTF-16LE";
                   ^
id3v2frames.c:953:20: error: unused variable 'utf16beenc' [-Werror,-Wunused-const-variable]
static const gchar utf16beenc[] = "UTF-16BE";
                   ^

9 years agopart-stereo-multiview-video: Add a section of open design questions
Jan Schmidt [Fri, 29 May 2015 15:03:46 +0000 (01:03 +1000)]
part-stereo-multiview-video: Add a section of open design questions

9 years agovideo-format: Fix minor docs typo
Jan Schmidt [Fri, 29 May 2015 14:58:38 +0000 (00:58 +1000)]
video-format: Fix minor docs typo

9 years agovideotestsrc: Document the solid-color pattern
Jan Schmidt [Mon, 16 Mar 2015 08:37:26 +0000 (19:37 +1100)]
videotestsrc: Document the solid-color pattern

9 years agoplayback: Document GST_PLAY_FLAG_SOFT_COLORBALANCE
Jan Schmidt [Mon, 16 Mar 2015 08:28:35 +0000 (19:28 +1100)]
playback: Document GST_PLAY_FLAG_SOFT_COLORBALANCE

9 years agovideo: Make gst_buffer_get_video_meta() a real function, Return lowest id
Jan Schmidt [Wed, 8 Oct 2014 14:13:29 +0000 (01:13 +1100)]
video: Make gst_buffer_get_video_meta() a real function, Return lowest id

Instead of returning the first video meta found on a buffer, return the
one with the lowest id (which is usually the same thing, except on
multi-view buffers)

9 years agodiscoverer: don't crash on unknown info types when deserializing
Tim-Philipp Müller [Fri, 29 May 2015 14:30:41 +0000 (15:30 +0100)]
discoverer: don't crash on unknown info types when deserializing

Handle unknown info types when deserializing instead of
dereferencing NULL pointers.

Coverity CID 1302394

9 years agosdp: prevent the sdp message parser from reading past the end of the buffer
George Kiagiadakis [Fri, 29 May 2015 11:15:59 +0000 (13:15 +0200)]
sdp: prevent the sdp message parser from reading past the end of the buffer

Otherwise, a malformed SDP message could crash the application,
or even maliciously gather data from the memory located after
this buffer...

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

9 years agotests: add test for videorate caps renegotiation after a framerate has been calculate...
George Kiagiadakis [Thu, 28 May 2015 17:49:31 +0000 (19:49 +0200)]
tests: add test for videorate caps renegotiation after a framerate has been calculated and added to caps

The original 0/1 framerate must still be allowed to be configured
on the upstream side of videorate, otherwise future caps renegotiation
is going to fail.

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

9 years agovideorate: update the caps framerate only in the GST_PAD_SINK transform_caps direction
George Kiagiadakis [Thu, 28 May 2015 10:51:35 +0000 (12:51 +0200)]
videorate: update the caps framerate only in the GST_PAD_SINK transform_caps direction

When a stream has a variable framerate, videorate calculates it and
forces it on the output caps. However, the code in _transform_caps()
currently also does that if the transform is going in the opposite
direction (GST_PAD_SRC), so during a renegotiation it tries to force
upstream to use the calculated framerate and it fails.

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

9 years agoplaysink: use queue to avoid lock in audiotee audio branches
Thiago Santos [Tue, 26 May 2015 11:06:50 +0000 (08:06 -0300)]
playsink: use queue to avoid lock in audiotee audio branches

This part of pipeline is:

tee name=t ! visualizationbin ! streamsynchronizer name=s
t. ! s.

streamsynchronizer might block and it could starve the visualization
branch of the pipeline when it is enabled.

The visualization bin has queues internally but the other branch
that links the audiotee directly to the synchronizer is vulnerable
to block. Adding a queue between "t. ! s." fixes deadlocks.

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

9 years agobasetextoverlay: make deltax and deltay properties controllable
Claudiu Florin Lazar [Tue, 26 May 2015 10:11:00 +0000 (13:11 +0300)]
basetextoverlay: make deltax and deltay properties controllable

This will be more useful once we have absolute direct
control bindings.

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

9 years agooggdemux: fix chain leak
Guillaume Desmottes [Tue, 5 May 2015 16:01:46 +0000 (18:01 +0200)]
oggdemux: fix chain leak

Don't leak the building_chain when destroying.

Fix leaks with the validate.http.playback.reverse_playback.vorbis_theora_1_ogg
scenario.

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

9 years agotag: id3v2: fix parsing of UTF-16 text on systems with crippled iconv
Tim-Philipp Müller [Mon, 25 May 2015 21:37:56 +0000 (22:37 +0100)]
tag: id3v2: fix parsing of UTF-16 text on systems with crippled iconv

Use g_utf16_to_utf8() instead of the more generic g_convert(), so
that we can extract text in UTF-16 format even on embedded systems
with crippled iconv support.

This code path is exercised by the id3demux test_unsync_v23
check in gst-plugins-good.

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

9 years agoAdd new generated rtp enum files to .gitignore
Tim-Philipp Müller [Mon, 25 May 2015 21:37:06 +0000 (22:37 +0100)]
Add new generated rtp enum files to .gitignore

9 years agotools: gst-play: keep configured playback rate and trick mode when seeking
Tim-Philipp Müller [Sun, 24 May 2015 17:58:21 +0000 (18:58 +0100)]
tools: gst-play: keep configured playback rate and trick mode when seeking

Instead of resetting rate to 1.0

9 years agopo: update for new translatable strings
Tim-Philipp Müller [Sun, 24 May 2015 17:47:25 +0000 (18:47 +0100)]
po: update for new translatable strings

9 years agotools: gst-play: mark more strings for translation
Tim-Philipp Müller [Sun, 24 May 2015 17:46:21 +0000 (18:46 +0100)]
tools: gst-play: mark more strings for translation

9 years agotools: gst-play: add keyboard shortcut help
danny song [Fri, 22 May 2015 16:50:11 +0000 (01:50 +0900)]
tools: gst-play: add keyboard shortcut help

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

9 years agotests: add back videoscale unit test
Tim-Philipp Müller [Sat, 23 May 2015 11:02:26 +0000 (12:02 +0100)]
tests: add back videoscale unit test

Has been removed in 835422b2 as part of porting
things over to the new videoscale API.

9 years agotools: gst-play: enable interative mode by default
Tim-Philipp Müller [Thu, 21 May 2015 11:10:40 +0000 (12:10 +0100)]
tools: gst-play: enable interative mode by default

And change --interactive option to --no-interactive.

9 years agortp: Clean G-I files on make clean too
Sebastian Dröge [Thu, 21 May 2015 10:07:50 +0000 (13:07 +0300)]
rtp: Clean G-I files on make clean too

9 years agortp: Add builddir to the include path for gobject-introspection
Sebastian Dröge [Wed, 20 May 2015 13:23:46 +0000 (16:23 +0300)]
rtp: Add builddir to the include path for gobject-introspection

And also add missing headers/sources

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

9 years agowin32: Update exports
Sebastian Dröge [Wed, 20 May 2015 12:40:53 +0000 (15:40 +0300)]
win32: Update exports

9 years agortp: Add GstRTPProfile enum
Sebastian Dröge [Wed, 20 May 2015 10:36:30 +0000 (13:36 +0300)]
rtp: Add GstRTPProfile enum

9 years agortsp: Add FIXME 2.0 comment about GstRTSPTransport being an enum instead of flags
Sebastian Dröge [Wed, 20 May 2015 10:35:13 +0000 (13:35 +0300)]
rtsp: Add FIXME 2.0 comment about GstRTSPTransport being an enum instead of flags

9 years agortsp: Use glib-mkenums to generate GstRTSPProfile and GstRTSPLowerTrans GTypes
Sebastian Dröge [Wed, 20 May 2015 10:33:42 +0000 (13:33 +0300)]
rtsp: Use glib-mkenums to generate GstRTSPProfile and GstRTSPLowerTrans GTypes

9 years agoRevert "oggdemux: Prevent seeks when _SCHEDULING_FLAG_SEQUENTIAL is set"
Tim-Philipp Müller [Wed, 20 May 2015 09:22:48 +0000 (10:22 +0100)]
Revert "oggdemux: Prevent seeks when _SCHEDULING_FLAG_SEQUENTIAL is set"

This reverts commit 76647f2710d718e27f207b005956b7dba72c2d19.

Avoiding pull mode activation is a feature regression, and
demuxers should always use pull mode where that is possible,
e.g. if there's an upstream queue2 with a ring buffer or
a download buffer.

This patch made reverse playback no longer possible over http.

If the goal is to minimise seeks, then that can still be done
by making the demuxer behave differently in pull mode if
the SEQUENTIAL flag is set. If there are bugs, like the demuxer
needlessly scanning the entire file on start-up in pull mode,
then those should be fixed instead.

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