platform/upstream/gstreamer.git
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

9 years agowin32: update .def file for new API
Tim-Philipp Müller [Tue, 19 May 2015 18:48:54 +0000 (19:48 +0100)]
win32: update .def file for new API

9 years agortsp: don't use soon-to-be-deprecated g_cancellable_reset()
Tim-Philipp Müller [Fri, 24 Oct 2014 16:49:37 +0000 (17:49 +0100)]
rtsp: don't use soon-to-be-deprecated g_cancellable_reset()

From the API documentation: "Note that it is generally not
a good idea to reuse an existing cancellable for more
operations after it has been cancelled once, as this
function might tempt you to do. The recommended practice
is to drop the reference to a cancellable after cancelling
it, and let it die with the outstanding async operations.
You should create a fresh cancellable for further async
operations."

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

9 years agogio: don't use soon-to-be-deprecated g_cancellable_reset()
Tim-Philipp Müller [Fri, 24 Oct 2014 16:49:23 +0000 (17:49 +0100)]
gio: don't use soon-to-be-deprecated g_cancellable_reset()

From the API documentation: "Note that it is generally not
a good idea to reuse an existing cancellable for more
operations after it has been cancelled once, as this
function might tempt you to do. The recommended practice
is to drop the reference to a cancellable after cancelling
it, and let it die with the outstanding async operations.
You should create a fresh cancellable for further async
operations."

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

9 years agotcp: don't use soon-to-be-deprecated g_cancellable_reset()
Tim-Philipp Müller [Fri, 24 Oct 2014 16:48:54 +0000 (17:48 +0100)]
tcp: don't use soon-to-be-deprecated g_cancellable_reset()

From the API documentation: "Note that it is generally not
a good idea to reuse an existing cancellable for more
operations after it has been cancelled once, as this
function might tempt you to do. The recommended practice
is to drop the reference to a cancellable after cancelling
it, and let it die with the outstanding async operations.
You should create a fresh cancellable for further async
operations."

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

9 years agogstdiscoverer: Add since annotation.
Mathieu Duponchelle [Tue, 19 May 2015 16:53:09 +0000 (18:53 +0200)]
gstdiscoverer: Add since annotation.

Forgot to add the since annotation to the
GstDiscovererSerializeFlags in the previous commit.

9 years agodiscoverer: Add serialization methods.
Mathieu Duponchelle [Sun, 3 May 2015 01:18:28 +0000 (03:18 +0200)]
discoverer: Add serialization methods.

[API] gst_discoverer_info_to_variant
[API] gst_discoverer_info_from_variant
[API] GstDiscovererSerializeFlags

+ Serializes as a GVariant
+ Adds a test
+ Does not serialize potential GstToc (s)

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

9 years agortpbasepayload: Try harder to reuse previously configured caps values and give more...
Sebastian Dröge [Tue, 19 May 2015 13:32:38 +0000 (16:32 +0300)]
rtpbasepayload: Try harder to reuse previously configured caps values and give more preference to anything set as properties

This affects the pt, ssrc, seqnum-offset and timestamp-offset properties. If
they were set from a property, or we configured caps before, we try to use
that value for them. Even if the first structure of the downstream caps
specifies a different value, we check if the value is supported by other
structures.
Only if all this fails, we use the values given by downstream in the first
structure, i.e. if no properties were set and these are the first caps we
negotiate or downstream does not support our values.

By doing this we ensure that we don't spuriously change ssrcs or other fields
in the middle of the stream (and also consider property values more). Ssrc
changes would currently happen after sending an RTX packet (thus creating a
new internal source inside the rtpsession), and then renegotiating the
payloader (which then gets the RTX ssrc from rtpsession).

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

9 years agodocs: a random set of trivial fixes for the library docs
Stefan Sauer [Mon, 18 May 2015 19:09:25 +0000 (21:09 +0200)]
docs: a random set of trivial fixes for the library docs

Warnings down to 35, unused symbols doen to 112.

9 years agodocs: add fdmemory to docs
Stefan Sauer [Mon, 18 May 2015 18:56:28 +0000 (20:56 +0200)]
docs: add fdmemory to docs

9 years agodocs: a random set of trivial fixes for the library docs
Stefan Sauer [Mon, 18 May 2015 18:45:45 +0000 (20:45 +0200)]
docs: a random set of trivial fixes for the library docs

All those where super straight forward from the warnings gtkdoc prints. It kind
of makes sense to apply them before the list of warnings is >100 and people
complain that gtkdoc is noisy.

9 years agomikey: fix a bunch of doc warnings
Stefan Sauer [Mon, 18 May 2015 18:31:30 +0000 (20:31 +0200)]
mikey: fix a bunch of doc warnings

Rename header/source mismatch of parameters. Update the exposed API in
sections.txt.

9 years agoRevert "doc: Workaround gtkdoc issue"
Stefan Sauer [Mon, 18 May 2015 18:01:49 +0000 (20:01 +0200)]
Revert "doc: Workaround gtkdoc issue"

This reverts commit df7ef3c35d34352257a28307c07d4673f239452e.

This is fixed by the gtk-doc 1.23 release.

9 years agoappsrc: optimise caps changing when previously-set caps have not taken effect yet
Tim-Philipp Müller [Mon, 18 May 2015 10:23:16 +0000 (11:23 +0100)]
appsrc: optimise caps changing when previously-set caps have not taken effect yet

Only negotiate/change caps once when setting caps twice and
the first-set caps have not been used yet.

Based on patch by Eunhae Choi.

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

9 years agoxvimagesink: fix pool leak
Vineeth T M [Mon, 18 May 2015 07:16:10 +0000 (16:16 +0900)]
xvimagesink: fix pool leak

During set caps when config fails, the referenced newpool
is not unref ed.

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

9 years agoplaybin: check the flags before set again
eunhae choi [Mon, 18 May 2015 06:45:01 +0000 (15:45 +0900)]
playbin: check the flags before set again

check the previous flags of playsink to avoid the reconfigure of playsink repeatedly

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

9 years agodoc: Workaround gtkdoc issue
Nicolas Dufresne [Sun, 17 May 2015 03:33:55 +0000 (23:33 -0400)]
doc: Workaround gtkdoc issue

With gtkdoc 1.22, the XML generator fails when a itemizedlist is
followed by a refsect2. Workaround the issue by wrapping the refsect2
into para.

9 years agoplayback: use the new gst_object api
Stefan Sauer [Fri, 15 May 2015 12:49:47 +0000 (14:49 +0200)]
playback: use the new gst_object api

Use gst_object_has_as_anchestor instead of the now deprecated _has_ancestor.

9 years agodocs: fix up example pipeline
Tim-Philipp Müller [Sun, 10 May 2015 10:42:21 +0000 (11:42 +0100)]
docs: fix up example pipeline

9 years agodocs: update element example pipelines
Tim-Philipp Müller [Sat, 9 May 2015 21:33:26 +0000 (22:33 +0100)]
docs: update element example pipelines

- gst-launch -> gst-launch-1.0
- use autoaudiosink and audiovideosink more often
- review pipeline examples and descriptions

9 years agovideo: Update win32 exports for new libgstvideo API
Jan Schmidt [Sun, 10 May 2015 00:51:09 +0000 (10:51 +1000)]
video: Update win32 exports for new libgstvideo API

9 years agovideoconvert: Expose some properties from the videoconverter API
Vivia Nikolaidou [Fri, 8 May 2015 12:21:16 +0000 (15:21 +0300)]
videoconvert: Expose some properties from the videoconverter API

Expose chroma resampler, alpha mode, alpha value, chroma mode, matrix mode,
gamma mode and primaries mode from the videoconverter API.

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

9 years agovideo-converter: Change some implicit string enums to real enums
Vivia Nikolaidou [Fri, 8 May 2015 11:57:03 +0000 (14:57 +0300)]
video-converter: Change some implicit string enums to real enums

GST_VIDEO_CONVERTER_OPT_ALPHA_MODE, GST_VIDEO_CONVERTER_OPT_CHROMA_MODE,
GST_VIDEO_CONVERTER_OPT_MATRIX_MODE, GST_VIDEO_CONVERTER_OPT_GAMMA_MODE and
GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE were G_TYPE_STRING with only a few valid
options. Changed those to real enums.

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

9 years agoaudiodecoder: Also negotiate with downstream if needed before handling a GAP event
Sebastian Dröge [Fri, 8 May 2015 13:06:34 +0000 (15:06 +0200)]
audiodecoder: Also negotiate with downstream if needed before handling a GAP event

9 years agovideodecoder: Also negotiate with downstream if needed before handling a GAP event
Sebastian Dröge [Fri, 8 May 2015 13:02:48 +0000 (15:02 +0200)]
videodecoder: Also negotiate with downstream if needed before handling a GAP event

9 years agovideodecoder: Try to be smarter when clipping buffers without duration/framerate...
Sebastian Dröge [Wed, 6 May 2015 10:40:48 +0000 (12:40 +0200)]
videodecoder: Try to be smarter when clipping buffers without duration/framerate to the segment

2 second frame duration is rather unlikely... but if we don't clip
away buffers that far before the segment we can cause the pipeline to
lockup. This can happen if audio is properly clipped, and thus the
audio sink does not preroll yet but the video sink prerolls because
we already outputted a buffer here... and then queues run full.

In the worst case we will clip one buffer too many here now if no
framerate is given, no buffer duration is given and the actual
framerate is less than 0.5fps.

Fixes seeking on HLS/DASH streams, when seeking into the middle of
fragments and having no framerate/buffer duration.

9 years agoxvimagesink: fix navigation event leak when early returning
Guillaume Desmottes [Mon, 4 May 2015 15:59:30 +0000 (17:59 +0200)]
xvimagesink: fix navigation event leak when early returning

Create the event *after* the early return check so it's not leaked.

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

9 years agoxvimagesink: fix navigation event leak when not handled
Guillaume Desmottes [Mon, 4 May 2015 16:00:18 +0000 (18:00 +0200)]
xvimagesink: fix navigation event leak when not handled

gst_navigation_message_new_event() is *not* consuming the event so we should
always drop our extra reference.

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

9 years agonavigation: fix structure leak if subclass doesn't implement send_event()
Guillaume Desmottes [Mon, 4 May 2015 15:58:38 +0000 (17:58 +0200)]
navigation: fix structure leak if subclass doesn't implement send_event()

The send_event() implementation is supposed to consume @structure.

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

9 years agostreamsynchronizer: Don't override segment.base from upstream with 0
Sebastian Dröge [Tue, 5 May 2015 13:35:46 +0000 (15:35 +0200)]
streamsynchronizer: Don't override segment.base from upstream with 0

Upstream might want to use it to properly map timestamps to running/stream
times, if we just override it with 0 synchronization will be just wrong.

For this we remove some old 0.10 code related to segment accumulation, and
remove some more code that is useless now, and accumulate the group start time
(aka segment.base offset) manually now.

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

9 years agortpbasedepayload: Add some debug output
Sebastian Dröge [Tue, 5 May 2015 11:14:12 +0000 (13:14 +0200)]
rtpbasedepayload: Add some debug output

9 years agovideo: add NV61 format support
Aurélien Zanelli [Thu, 19 Mar 2015 09:50:22 +0000 (10:50 +0100)]
video: add NV61 format support

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

9 years agodocs: add new video API to docs
Tim-Philipp Müller [Mon, 4 May 2015 19:33:23 +0000 (20:33 +0100)]
docs: add new video API to docs

9 years agovideo: check colorimetry and chroma_site equality in gst_video_info_is_equal()
Jan Schmidt [Sun, 3 May 2015 16:18:22 +0000 (02:18 +1000)]
video: check colorimetry and chroma_site equality in gst_video_info_is_equal()

Add VideoInfo accessors for colorimetry and chroma_site and use them
when checking the equality of two GstVideoInfo

9 years agovideo-color: Add gst_video_colorimetry_is_equal()
Jan Schmidt [Sun, 3 May 2015 16:10:17 +0000 (02:10 +1000)]
video-color: Add gst_video_colorimetry_is_equal()

Add a function for comparing the equality of 2 colorimetry
structures.

9 years agooggdemux: remove unused code
Young Han Lee [Fri, 10 Apr 2015 07:05:45 +0000 (16:05 +0900)]
oggdemux: remove unused code

These lines have done nothing for about 10 years.

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

9 years agopbutils: Use more strict profile checking for hevc
Sreerenj Balachandran [Fri, 10 Apr 2015 12:24:28 +0000 (15:24 +0300)]
pbutils: Use more strict profile checking for hevc

Use the profile_idc value to set the profile string in caps.
Don't use compatibility flags for this purpose.

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

9 years agovideo-converter: Remove unused macro
Ravi Kiran K N [Thu, 30 Apr 2015 09:25:14 +0000 (14:55 +0530)]
video-converter: Remove unused macro

Remove unused macro GET_TMP_LINE

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

9 years agogst-play: add some more key navigation mappings
Tim-Philipp Müller [Wed, 29 Apr 2015 14:44:59 +0000 (15:44 +0100)]
gst-play: add some more key navigation mappings

And don't feed multi-character key descriptors to the
event handler, it won't be what it expects.

9 years agonavigation: sprinkle some since markers and add new API to .def file
Tim-Philipp Müller [Wed, 29 Apr 2015 14:30:02 +0000 (15:30 +0100)]
navigation: sprinkle some since markers and add new API to .def file

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

9 years agotools: Add mouse/keyboard handling from messages
Edward Hervey [Thu, 2 Apr 2015 14:16:58 +0000 (16:16 +0200)]
tools: Add mouse/keyboard handling from messages

Allows the user to control playback with the window in focus

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

9 years agoxvimagesink: Post unhandled navigation events on the bus
Edward Hervey [Thu, 2 Apr 2015 14:10:32 +0000 (16:10 +0200)]
xvimagesink: Post unhandled navigation events on the bus

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

9 years agovideo: Add a new "event" navigation message type
Edward Hervey [Thu, 2 Apr 2015 14:09:13 +0000 (16:09 +0200)]
video: Add a new "event" navigation message type

This will be useful for elements that wish to post unhandled navigation
events on the bus to give the application a chance to do something with
it

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

9 years agovideo-info: expose InterlaceMode conversion to/from string
Wim Taymans [Tue, 28 Apr 2015 10:01:02 +0000 (12:01 +0200)]
video-info: expose InterlaceMode conversion to/from string

Expose the methods used to convert a GstVideoInterlaceMode to and
from a string.

9 years agoRename property enums from ARG_ to PROP_
Luis de Bethencourt [Mon, 27 Apr 2015 10:26:10 +0000 (11:26 +0100)]
Rename property enums from ARG_ to PROP_

Property enum items should be named PROP_ for consistency and readability.

9 years agovideoconvert: Keep colorimetry and chroma-site fields if passthrough
Matthieu Bouron [Mon, 27 Apr 2015 09:06:58 +0000 (11:06 +0200)]
videoconvert: Keep colorimetry and chroma-site fields if passthrough

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

9 years agoaudio: Change the remaining "samples" in the ::delay() vfunc docs to "frames"
Sebastian Dröge [Mon, 27 Apr 2015 08:08:17 +0000 (10:08 +0200)]
audio: Change the remaining "samples" in the ::delay() vfunc docs to "frames"

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

9 years agotests: tcp: remove SOCK_CLOEXEC which causes build problems on OS/X
Tim-Philipp Müller [Sun, 26 Apr 2015 19:13:01 +0000 (20:13 +0100)]
tests: tcp: remove SOCK_CLOEXEC which causes build problems on OS/X

It's not needed here.

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