platform/upstream/gstreamer.git
7 years agovalue: Properly set value and type for GST_FLAG_SET_MASK_EXACT in GI annotations
Sebastian Dröge [Wed, 5 Apr 2017 11:26:33 +0000 (14:26 +0300)]
value: Properly set value and type for GST_FLAG_SET_MASK_EXACT in GI annotations

Storing a -1 inside an unsigned integer confuses GIR based bindings
generators.

7 years agocompletion: Try to avoid parsing summary
Nicolas Dufresne [Tue, 4 Apr 2017 20:28:45 +0000 (16:28 -0400)]
completion: Try to avoid parsing summary

In GES, the summary refers to options that are only available when built
against gst-valdiate. Those where picked by our regex. This patch add a
initial grep to try and filter-out as best as possible the content to
which we will extract the command list.

7 years agomeson: Add bash completion support
Nicolas Dufresne [Tue, 4 Apr 2017 18:25:52 +0000 (14:25 -0400)]
meson: Add bash completion support

7 years agocompletion: Place the completion helper in libexec
Nicolas Dufresne [Tue, 4 Apr 2017 17:42:50 +0000 (13:42 -0400)]
completion: Place the completion helper in libexec

This patch reorganize the bash completion scripts in order to install
the binary helper (gst-completion-helper) in libexec path rather then
share folder. Most Linux hierarchy compliance requires that no binary
executable are placed in share. We also cleanup the unused .pc entries
and remove copy pasted parts of the script. Note that other project
including the common helper, should now use $_GST_HELPER to read
the binary executable gst-completion-helper. This helper is not longer
version, as it is placed in a versionned subfolder
(libexec/gstreamer.10) just like the other helpers (scanner and ptp).

7 years agogstvalue: fix GstValue leak in structure_field_union_into
Vincent Penquerc'h [Fri, 31 Mar 2017 10:22:49 +0000 (11:22 +0100)]
gstvalue: fix GstValue leak in structure_field_union_into

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

7 years agostreamcollection: fix racy user-after-free
Vincent Penquerc'h [Fri, 31 Mar 2017 09:38:15 +0000 (10:38 +0100)]
streamcollection: fix racy user-after-free

The issue happens when the structure is printed by the logging
subsystem: the object is included in the log, and this will cause the
full object printout to be done there. However, after dispose, the queue
was already cleared, so the access to it (to print the object) would
assert, as the queue was already freed. The patch changes it so that the
queue is merely empty, and only freed in _finalize.

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

7 years agospec: add license file at util pkg 27/121527/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170404.142256 accepted/tizen/ivi/20170403.130015 accepted/tizen/mobile/20170403.125543 accepted/tizen/tv/20170403.125820 accepted/tizen/unified/20170403.130115 accepted/tizen/wearable/20170403.125906 submit/tizen/20170403.050513 tizen_4.0.m1_release
Eunhae Choi [Tue, 28 Mar 2017 06:06:13 +0000 (15:06 +0900)]
spec: add license file at util pkg

Change-Id: I35513faa91dfa1c0e7ca0f3ca5a9a6a5212c5183
(cherry picked from commit 4d717a801e685381e1db858cbf52d0abe0cb6c03)

7 years agodebugutils: add pad EOS flag in pipeline dot file dumps
Tim-Philipp Müller [Mon, 27 Mar 2017 17:30:35 +0000 (18:30 +0100)]
debugutils: add pad EOS flag in pipeline dot file dumps

But only if set. Helps debug issues with EOS propagation.

7 years agotools: gst-launch: print structure property notifies nicer
Tim-Philipp Müller [Mon, 27 Mar 2017 17:27:59 +0000 (18:27 +0100)]
tools: gst-launch: print structure property notifies nicer

One less layer of escaping, but still lots of ugly \.

7 years agoFix win32 libgstreamer.def ordering
Nicolas Dufresne [Fri, 24 Mar 2017 18:33:19 +0000 (14:33 -0400)]
Fix win32 libgstreamer.def ordering

This should fix make distcheck

7 years agoparamspec: Fix array validation logic
Nicolas Dufresne [Wed, 15 Mar 2017 21:31:39 +0000 (17:31 -0400)]
paramspec: Fix array validation logic

A paramspec validation should modify the content to match what the spec
requires and return TURE if a modification happened. This previous
implementation would only fix the first element of the array and return.
It was also return TRUE for empty array, while no modification was
needed.

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

7 years agoarray/fraction: In param types, use get_type() function directly
Nicolas Dufresne [Wed, 22 Mar 2017 17:35:32 +0000 (13:35 -0400)]
array/fraction: In param types, use get_type() function directly

The GST_TYPE macro points to global variables initialized by the
first call to get_type. This is not an issue if you call gst_init()
but unfortunatly pygi will need to acces the param type before
init can be called. This removes an assertion.

7 years agofraction/array: Make get_type() thread safe
Nicolas Dufresne [Wed, 22 Mar 2017 17:33:47 +0000 (13:33 -0400)]
fraction/array: Make get_type() thread safe

Those aren't suppose to be called from multiple thread, but all
fundamental get_type() function are thread safe. Fix it to
be consistent and it may help if we change the typing mechanism
in GStreamer come day.

7 years agogstutils: Add helpers to get/set array properties
Nicolas Dufresne [Mon, 20 Mar 2017 20:46:33 +0000 (16:46 -0400)]
gstutils: Add helpers to get/set array properties

This is to help bindings access properties of type GST_TYPE_ARRAY.
This function will get/set the property and convert form/to
GValueArray.

New API:
  gst_util_set_object_array
  gst_util_get_object_array

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

7 years agostructure: Add get/set_array/list using GValueArray
Nicolas Dufresne [Mon, 20 Mar 2017 19:50:49 +0000 (15:50 -0400)]
structure: Add get/set_array/list using GValueArray

This adds a binding friendly interface to get and set arrays
and list into GstStructure.

New API:
 - gst_structure_set_array
 - gst_structure_set_list
 - gst_structure_get_array
 - gst_structure_get_list

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

7 years agogstvalue: Add transformation to/from GValueArray
Nicolas Dufresne [Mon, 20 Mar 2017 19:40:25 +0000 (15:40 -0400)]
gstvalue: Add transformation to/from GValueArray

This allow transforming a GValue of type G_TYPE_VALUE_ARRAY to
and from GST_TYPE_ARRAY/LIST.

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

7 years agoqueuearray: Add G_BEGIN_DECLS and G_END_DECLS to make it usable from C++ code
Sebastian Dröge [Fri, 24 Mar 2017 12:21:30 +0000 (14:21 +0200)]
queuearray: Add G_BEGIN_DECLS and G_END_DECLS to make it usable from C++ code

7 years agoparamspecs: Use gst_value_array_get_type() for GstParamSpecArray type
Jan Schmidt [Fri, 24 Mar 2017 06:53:31 +0000 (17:53 +1100)]
paramspecs: Use gst_value_array_get_type() for GstParamSpecArray type

When registering GstParamSpecArray, use the gst_value_array_get_type()
function to get the type, rather than the GST_TYPE_ARRAY macro, which
gets it from the _gst_value_array_type, which is in turn only
initialised during gst_init()

Fixes criticals with (python) bindings that look up all the
types from the gobject-introspection info as soon as they
are imported.

/usr/lib64/python3.5/site-packages/gi/module.py:178: Warning: g_param_type_register_static: assertion 'g_type_name (pspec_info->value_type) != NULL' failed
  g_type = info.get_g_type()
/usr/lib64/python3.5/site-packages/gi/module.py:212: Warning: g_type_get_qdata: assertion 'node != NULL' failed
  type_ = g_type.pytype
/usr/lib64/python3.5/site-packages/gi/module.py:226: Warning: g_type_get_qdata: assertion 'node != NULL' failed
  g_type.pytype = wrapper
/usr/lib64/python3.5/site-packages/gi/module.py:226: Warning: g_type_set_qdata: assertion 'node != NULL' failed
  g_type.pytype = wrapper

7 years agobaseparse: Don't forget error returns when processing more
Jan Schmidt [Fri, 17 Mar 2017 11:32:19 +0000 (22:32 +1100)]
baseparse: Don't forget error returns when processing more

If parsing returns a non-OK flow return in the middle
of processing an input buffer, don't overwrite that
if a later return is OK again - the subclass might
return not-linked in the middle, and then discard
subsequent data without pushing while returning OK.

A later success doesn't invalidate the earlier failure,
but we should continue processing after not-linked, so
as to keep parse state consistent.

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

7 years agotools: replace mentions of 'mad' on the gst-launch-1.0 man page
Tim-Philipp Müller [Mon, 20 Mar 2017 16:54:22 +0000 (16:54 +0000)]
tools: replace mentions of 'mad' on the gst-launch-1.0 man page

The 'mad' plugin has been removed. Mention mpg123audiodec instead.

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

7 years agovalue: fix union of int range and int when extending on a side
Vincent Penquerc'h [Mon, 13 Mar 2017 11:08:01 +0000 (11:08 +0000)]
value: fix union of int range and int when extending on a side

The internal representation uses bounds scaled by the step

Add tests to catch those cases

7 years agoqueue: avoid return flushing if we have a not-linked
Thiago Santos [Wed, 15 Mar 2017 05:18:36 +0000 (22:18 -0700)]
queue: avoid return flushing if we have a not-linked

Return the correct flow return instead of returning always flushing.
This would cause queue to convert not-linked to flushing and making
upstream elements stop.

Based on the previous patch for queue2.

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

7 years agoqueue2: avoid return flushing if we have a not-linked
Thiago Santos [Sun, 22 Jan 2017 14:26:56 +0000 (11:26 -0300)]
queue2: avoid return flushing if we have a not-linked

Return the correct flow return instead of returning always flushing.
This would cause queue2 to convert not-linked to flushing and making
upstream elements stop.

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

7 years agotests: bin: add more tests for suppressed flags
Thiago Santos [Sun, 18 Sep 2016 15:02:54 +0000 (12:02 -0300)]
tests: bin: add more tests for suppressed flags

Add tests to confirm flags are persisted even after removing
elements that have those suppressed flags

7 years agobuffer: handle gst_buffer_map failures
Wim Taymans [Fri, 10 Mar 2017 09:13:05 +0000 (10:13 +0100)]
buffer: handle gst_buffer_map failures

7 years agodownloadbuffer: unlock mutex in error case
Wim Taymans [Fri, 10 Mar 2017 09:12:49 +0000 (10:12 +0100)]
downloadbuffer: unlock mutex in error case

7 years agogstvalue: Do more checks when guessing at flagset strings
Jan Schmidt [Thu, 9 Mar 2017 01:09:57 +0000 (12:09 +1100)]
gstvalue: Do more checks when guessing at flagset strings

If guessing that a string matches a flagset, be more thorough
at checking that the string following a string of hex:hex:
actually looks like a flag set string. Add some unit tests
to catch more cases.

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

7 years agomultiqueue: Make min-interleave-time a configurable property
Jan Schmidt [Thu, 9 Mar 2017 01:09:57 +0000 (12:09 +1100)]
multiqueue: Make min-interleave-time a configurable property

Remove a FIXME about making the minimum interleave
buffering a configurable property

7 years agoelementfactory: promote factory not found log message to WARNING
Tim-Philipp Müller [Wed, 8 Mar 2017 14:51:42 +0000 (14:51 +0000)]
elementfactory: promote factory not found log message to WARNING

In most cases people really want to know when an element
could not be created.

7 years agoinputselector: Always proxy position/duration query
Seungha Yang [Mon, 6 Mar 2017 23:21:48 +0000 (08:21 +0900)]
inputselector: Always proxy position/duration query

active-pad switch causes reconfigure event with lock taken,
and upstream element might query the current position or duration
before returning the reconfigure event.
Meanwhile, gst_input_selector_get_linked_pad() is used to get srcpad
inside of default query handle, and it takes also lock.
Since inputselector is still locked by active-pad switch, and so the query
cannot be handled further.

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

7 years agoinfo: document that logging macros don't need newlines at the end
Tim-Philipp Müller [Fri, 3 Mar 2017 12:53:26 +0000 (12:53 +0000)]
info: document that logging macros don't need newlines at the end

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

7 years agoMerge branch 'tizen_3.0' into tizen 18/116918/1 accepted/tizen/common/20170303.090819 accepted/tizen/ivi/20170303.070002 accepted/tizen/mobile/20170303.065818 accepted/tizen/tv/20170303.065915 accepted/tizen/unified/20170309.035905 accepted/tizen/wearable/20170303.065943 submit/tizen/20170303.015115 submit/tizen_unified/20170308.100413
Eunhae Choi [Thu, 2 Mar 2017 04:23:46 +0000 (13:23 +0900)]
Merge branch 'tizen_3.0' into tizen

- spec: remove typelib to reduce rpm size
- multiqueue: consider the disable setting when check buffer full
- queue2: check peer's query flag before setting pull mode

Change-Id: Ic259b7f9b886ebe2feebeea790c84d55251a2f0d

7 years agospec: remove typelib to reduce rpm size 82/116782/2 accepted/tizen/3.0/common/20170302.075724 accepted/tizen/3.0/ivi/20170302.034439 accepted/tizen/3.0/mobile/20170302.034053 accepted/tizen/3.0/tv/20170302.034222 accepted/tizen/3.0/wearable/20170302.034343 submit/tizen_3.0/20170228.102611
Eunhae Choi [Tue, 28 Feb 2017 08:25:52 +0000 (17:25 +0900)]
spec: remove typelib to reduce rpm size

to meet tizen 2.4

Change-Id: I1b7acb845b9b8d96a73fe3156d3fbbebe9cb0f09

7 years agomultiqueue: consider the disable setting when check buffer full 74/116774/3
Eunhae Choi [Tue, 28 Feb 2017 07:37:16 +0000 (16:37 +0900)]
multiqueue: consider the disable setting when check buffer full

If app set the max_size_time to zero,
it means app does not want to check buffer state based on time.

Change-Id: I3dce77547ebd47f58611bf8950b980a24870ba62

7 years agoqueue2: check peer's query flag before setting pull mode 56/116556/2 accepted/tizen/3.0/common/20170227.135933 accepted/tizen/3.0/ivi/20170227.090733 accepted/tizen/3.0/mobile/20170227.090512 accepted/tizen/3.0/tv/20170227.090615 accepted/tizen/3.0/wearable/20170227.090643 submit/tizen_3.0/20170224.035858
Eunhae Choi [Mon, 27 Feb 2017 04:44:35 +0000 (13:44 +0900)]
queue2: check peer's query flag before setting pull mode

Change-Id: I6bbb2dc91696224a4b7f61c59012a16ca345e992

7 years agopad: add since marker to docs for new API
Tim-Philipp Müller [Fri, 24 Feb 2017 21:35:27 +0000 (21:35 +0000)]
pad: add since marker to docs for new API

7 years agowin32: update .def file for new API
Tim-Philipp Müller [Fri, 24 Feb 2017 21:33:49 +0000 (21:33 +0000)]
win32: update .def file for new API

7 years agoregistry: Only scan plugin files that end with an extension
Thibault Saunier [Fri, 24 Feb 2017 13:23:01 +0000 (10:23 -0300)]
registry: Only scan plugin files that end with an extension

Not file that would for some reason end with 'so' or 'dll', etc...

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

7 years agopad: Add API to get the current state of a task
Thibault Saunier [Fri, 17 Feb 2017 18:48:17 +0000 (15:48 -0300)]
pad: Add API to get the current state of a task

Avoiding the user to need to deal with the locking himself etc.

API:
  gst_pad_task_get_state

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

7 years agomeson: Add an option to disable usage of libunwind
Thibault Saunier [Mon, 13 Feb 2017 18:18:59 +0000 (15:18 -0300)]
meson: Add an option to disable usage of libunwind

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

7 years agomeson: Update version
Sebastian Dröge [Fri, 24 Feb 2017 13:59:35 +0000 (15:59 +0200)]
meson: Update version

7 years agoBack to development
Sebastian Dröge [Fri, 24 Feb 2017 13:37:30 +0000 (15:37 +0200)]
Back to development

7 years agoRelease 1.11.2
Sebastian Dröge [Fri, 24 Feb 2017 13:06:46 +0000 (15:06 +0200)]
Release 1.11.2

7 years agoUpdate .po files
Sebastian Dröge [Fri, 24 Feb 2017 10:44:17 +0000 (12:44 +0200)]
Update .po files

7 years agovalue: Add deserialization for arrays/lists outside GstStructures
Vivia Nikolaidou [Thu, 23 Feb 2017 18:52:39 +0000 (20:52 +0200)]
value: Add deserialization for arrays/lists outside GstStructures

This is mostly useful for properties of those types when used in
gst-launch or similar.

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

7 years agovalue: Add a type abbreviation for GstFlagSet in serialization
Sebastian Dröge [Thu, 23 Feb 2017 18:50:38 +0000 (20:50 +0200)]
value: Add a type abbreviation for GstFlagSet in serialization

7 years agovalue: Always add the type name to elements when serializing arrays/lists
Vivia Nikolaidou [Thu, 23 Feb 2017 18:47:30 +0000 (20:47 +0200)]
value: Always add the type name to elements when serializing arrays/lists

But only when serializing outside of GstStructures, because in case of
GstStructure the type is already preprended to the array/list and the
GstStructure API makes sure that they have the same "generic" type so
deserialization works properly.

This keeps serialization of GstStructures the same as before, and the
GstCaps unit tests already test for that. However when serializing
standalone arrays/lists get the types added now.

7 years agovalue: Move list/array serialization/deserialization functions from GstStructure...
Vivia Nikolaidou [Thu, 23 Feb 2017 18:22:03 +0000 (20:22 +0200)]
value: Move list/array serialization/deserialization functions from GstStructure to GstValue

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

7 years agoparamspecs: Add GstParamSpecArray for GST_TYPE_ARRAY typed properties
Vivia Nikolaidou [Thu, 23 Feb 2017 18:16:17 +0000 (20:16 +0200)]
paramspecs: Add GstParamSpecArray for GST_TYPE_ARRAY typed properties

These are mostly useful to get our automatic
serialization/deserialization from strings and simple usage from
gst-launch or similar.

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

7 years agobytereader: fix peek value when scanning for 00 00 01 with non-0 offset
Tim-Philipp Müller [Tue, 21 Feb 2017 20:23:51 +0000 (20:23 +0000)]
bytereader: fix peek value when scanning for 00 00 01 with non-0 offset

We would add the offset a second time in _scan_for_start_code()
when we found a result, but it's already been added to the data
pointer at the beginning of _masked_scan_uint32_peek(), so the
peeked value would be wrong if the initial offset was >0, and
we would potentially read memory out-of-bounds.

Add unit test for all of this.

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

7 years agoqueue2: add pull scheduling mode depends on peer scheduling mode 80/115980/2
Eunhae Choi [Wed, 22 Feb 2017 08:09:24 +0000 (17:09 +0900)]
queue2: add pull scheduling mode depends on peer scheduling mode

Change-Id: I39c9174206ef113a6373dee50fcb8a806ff73d0d

7 years agoinfo: put () around macro arguments
Wim Taymans [Mon, 20 Feb 2017 11:16:32 +0000 (12:16 +0100)]
info: put () around macro arguments

Put braces around macro arguments or else we might run into problems
with operater precedence.

7 years agodeviceproviderfactory: ignore empty classes
Wim Taymans [Mon, 20 Feb 2017 09:45:57 +0000 (10:45 +0100)]
deviceproviderfactory: ignore empty classes

7 years agodeviceproviderfactory: compare class against NULL
Wim Taymans [Mon, 20 Feb 2017 09:25:50 +0000 (10:25 +0100)]
deviceproviderfactory: compare class against NULL

gstdeviceproviderfactory.c:501:20: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
     if (classes[0] == '\0')

7 years agomeson: Fix build with latest upstream git
Nirbheek Chauhan [Sat, 18 Feb 2017 11:19:40 +0000 (16:49 +0530)]
meson: Fix build with latest upstream git

Trivial incorrect include_directories() call

7 years agogstconfig: Fix unaligned access support for the openrisc architecture
Peter Korsgaard [Sat, 18 Feb 2017 09:03:24 +0000 (10:03 +0100)]
gstconfig: Fix unaligned access support for the openrisc architecture

Teach gstconfig.h.in about the openrisc (or1k) architecture.  Fixes
buildroot autobuild failure:

http://autobuild.buildroot.net/results/717/717d78ce0935749f477bdf3133b6f20057a28c01/build-end.log

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

7 years agogstbasesink: xref symbol in docs
Stefan Sauer [Wed, 15 Feb 2017 20:37:31 +0000 (21:37 +0100)]
gstbasesink: xref symbol in docs

7 years agopad: revert the content changes from previous commit
Stefan Sauer [Wed, 15 Feb 2017 19:58:49 +0000 (20:58 +0100)]
pad: revert the content changes from previous commit

The default behaviour when returning GST_PAD_PROBE_OK is unrelated to
the other return code.

7 years agopad: fix docs for GstPadProbeReturn
Stefan Sauer [Wed, 15 Feb 2017 19:37:40 +0000 (20:37 +0100)]
pad: fix docs for GstPadProbeReturn

There is no 'block' value, but we have 'drop'. Also fix the markup; it
is '%' to link to constants (and enum values).

7 years agomeson: dist meson build files
Tim-Philipp Müller [Mon, 24 Oct 2016 21:47:29 +0000 (22:47 +0100)]
meson: dist meson build files

Ship meson build files in tarballs, so people who use tarballs
in their builds can start playing with meson already.

7 years agotests: add 2 unit tests for non-flush seek with gstbaseparse
Julien Isorce [Tue, 31 Jan 2017 09:55:59 +0000 (09:55 +0000)]
tests: add 2 unit tests for non-flush seek with gstbaseparse

The unit test defines a test parse element that inherit from GstBaseParse.
The test pipeline is: fakesrc ! testparse ! fakesink sync=1

Before the fix b2c05cac8 the first new test would have fail because the
pipeline would have wait doing nothing just after proceeded the seek event.
The second new test would have fail because the pipeline would have
played the media instantly just after proceeded the seek event
(like if sync was FALSE on the sink).

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

7 years agoparse: Don't translate the "bin" element name
Sebastian Dröge [Tue, 31 Jan 2017 19:19:18 +0000 (21:19 +0200)]
parse: Don't translate the "bin" element name

Otherwise we won't be able to create bins, there is no element called
"Behälter" if you're using a German locale.

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

7 years agosegment: Modifiy inside segment condition
Seungha Yang [Fri, 15 Apr 2016 11:54:42 +0000 (20:54 +0900)]
segment: Modifiy inside segment condition

There is a special case that segment_start == segment_stop == start.
It's inside of segment

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

7 years agoinfo: Check libunwind return codes
Thibault Saunier [Thu, 26 Jan 2017 16:35:27 +0000 (16:35 +0000)]
info: Check libunwind return codes

7 years agomeson: libs: Add gir to the source list of the dependency
Thibault Saunier [Wed, 18 Jan 2017 21:16:26 +0000 (18:16 -0300)]
meson: libs: Add gir to the source list of the dependency

7 years agoPort gtk-doc comments to their equivalent markdown syntax
Thibault Saunier [Mon, 16 Jan 2017 14:26:16 +0000 (11:26 -0300)]
Port gtk-doc comments to their equivalent markdown syntax

Modernizing our documentation and preparing a possible move to hotdoc.
This commits also adds missing @title metadatas to all SECTIONs

7 years agogst: Fix includes so that files can be built separately
Thibault Saunier [Wed, 11 Jan 2017 20:25:08 +0000 (17:25 -0300)]
gst: Fix includes so that files can be built separately

It used to work but it has broke in the 1.10 cycle.

7 years agogstpoll: Encode in utf-8
Thibault Saunier [Wed, 18 Jan 2017 13:56:38 +0000 (10:56 -0300)]
gstpoll: Encode in utf-8

7 years agoGstStream/GstStreamCollection: add g_autoptr() support
Brendan Shanks [Thu, 26 Jan 2017 23:32:31 +0000 (15:32 -0800)]
GstStream/GstStreamCollection: add g_autoptr() support

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

7 years agobaseparse: correctly handle non-flush seek
Julien Isorce [Thu, 26 Jan 2017 16:51:21 +0000 (16:51 +0000)]
baseparse: correctly handle non-flush seek

Otherwise when seeking/looping to the start when reaching the end,
the sink waits for the duration of the stream. So the user hears
nothing for the duration of the stream before it actually loop again.
See example attached to the bug for that.

Existing test:
gst-plugins-good/tests/icles/test-segment-seeks foo.flac
Without the patch the user hears a crack/cut at each seek.

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

7 years agocheck: Add API to filter g_warning/g_critical etc
Stian Selnes [Tue, 24 May 2016 12:57:54 +0000 (14:57 +0200)]
check: Add API to filter g_warning/g_critical etc

New API functions to filter log messages before they are processed by
GstCheck. This can be used to discard specific messages that are
accepted by the test or to add callbacks that test specific messages.

Default bevavior when no callback is given to a filter is to discard the
message, because it does not makes sense to have a filter with no
callback which does not discard; that would be a noop.

Discarded messages will in addition to bypass the GstCheck handling also
return to GLib that the message is not fatal if it occurs.

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

7 years agobin: update the docs for the event forwarding
Stefan Sauer [Wed, 18 Jan 2017 21:39:33 +0000 (22:39 +0100)]
bin: update the docs for the event forwarding

First this sends the events not only to the sources and 2nd this is not only
for seek events.

7 years agoparse: Don't hold element's object lock while querying element pads' caps
Sebastian Dröge [Wed, 18 Jan 2017 13:07:58 +0000 (15:07 +0200)]
parse: Don't hold element's object lock while querying element pads' caps

This can easily deadlock if the element uses the object lock for
something internally, like posting an error message. Use an GstIterator
for iterating over the pads instead.

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

7 years agogstbin: Quieten a noisy FIXME about duration caching
Jan Schmidt [Sun, 15 Jan 2017 22:41:19 +0000 (09:41 +1100)]
gstbin: Quieten a noisy FIXME about duration caching

Only print this FIXME once per run, at it's pretty annoying in
lots of logs otherwise.

7 years agoidentity: Add ts-offset property.
Jan Schmidt [Tue, 14 Jul 2015 13:11:11 +0000 (13:11 +0000)]
identity: Add ts-offset property.

Add a property to delay or advance sync time
when sync=true, with the same behaviour as
the ts-offset property in basesink

7 years agodatetime: fix potential out-of-bound read on malformed datetime string
Tim-Philipp Müller [Sun, 15 Jan 2017 11:52:44 +0000 (11:52 +0000)]
datetime: fix potential out-of-bound read on malformed datetime string

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

7 years agomeson: bump version
Tim-Philipp Müller [Fri, 13 Jan 2017 12:34:43 +0000 (12:34 +0000)]
meson: bump version

7 years agoBack to development
Sebastian Dröge [Thu, 12 Jan 2017 14:32:38 +0000 (16:32 +0200)]
Back to development

7 years agoRelease 1.11.1
Sebastian Dröge [Thu, 12 Jan 2017 13:29:15 +0000 (15:29 +0200)]
Release 1.11.1

7 years agoUpdate .po files
Sebastian Dröge [Thu, 12 Jan 2017 12:35:22 +0000 (14:35 +0200)]
Update .po files

7 years agopo: Update translations
Sebastian Dröge [Thu, 12 Jan 2017 12:34:18 +0000 (14:34 +0200)]
po: Update translations

7 years agoUpdate .po files
Sebastian Dröge [Thu, 12 Jan 2017 12:26:55 +0000 (14:26 +0200)]
Update .po files

7 years agoMerge branch 'tizen_3.0' into tizen 58/108858/1 accepted/tizen/common/20170109.202309 accepted/tizen/ivi/20170106.103833 accepted/tizen/mobile/20170106.103715 accepted/tizen/tv/20170106.103757 accepted/tizen/wearable/20170106.103816 submit/tizen/20170106.055611
Gilbok Lee [Fri, 6 Jan 2017 05:17:41 +0000 (14:17 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I4de5ad8423b58300b11f2fd7608be3c37f403336

7 years agotools: update gst-inspect man page
Mark Nauwelaerts [Thu, 5 Jan 2017 12:45:37 +0000 (13:45 +0100)]
tools: update gst-inspect man page

7 years agomeson: Do not generate .pc files for libgstcheck on windows
Thibault Saunier [Thu, 5 Jan 2017 13:32:03 +0000 (10:32 -0300)]
meson: Do not generate .pc files for libgstcheck on windows

The lib is not built

7 years agomeson: generate pkg-config -uninstalled pc files
Guillaume Desmottes [Wed, 4 Jan 2017 11:10:45 +0000 (12:10 +0100)]
meson: generate pkg-config -uninstalled pc files

Generating those files is useful for users building the GStreamer stack
using meson and having to link it to another project which is still
using the autotools.

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

7 years agochange tv featuring option 58/108258/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 tizen_3.0_tv accepted/tizen/3.0.m2/mobile/20170104.143205 accepted/tizen/3.0.m2/tv/20170104.143554 accepted/tizen/3.0.m2/wearable/20170104.143951 accepted/tizen/3.0/common/20170103.173124 accepted/tizen/3.0/ivi/20170103.160445 accepted/tizen/3.0/mobile/20170103.160343 accepted/tizen/3.0/tv/20170103.160400 accepted/tizen/3.0/wearable/20170103.160422 submit/tizen_3.0.m2/20170104.093752 submit/tizen_3.0/20170103.145221
Eunhae Choi [Tue, 3 Jan 2017 14:43:28 +0000 (23:43 +0900)]
change tv featuring option

Change-Id: I76814a0fa7f92222f3854bd84751a11ac24ef872

7 years agopad: clarify docs for GST_PAD_PROBE_DROP
Tim-Philipp Müller [Tue, 3 Jan 2017 12:30:02 +0000 (12:30 +0000)]
pad: clarify docs for GST_PAD_PROBE_DROP

7 years agoqueue: Don't generate GST_FLOW_ERROR without logging
Jan Schmidt [Mon, 2 Jan 2017 15:13:30 +0000 (02:13 +1100)]
queue: Don't generate GST_FLOW_ERROR without logging

At least log a message to the debug log when generating
a GST_FLOW_ERROR, to make it possible to find where it came from.

7 years agopadtemplate: Fix null pointer dereference on invalid static caps
Jan Schmidt [Mon, 2 Jan 2017 15:12:27 +0000 (02:12 +1100)]
padtemplate: Fix null pointer dereference on invalid static caps

A typo in a static caps string may result in failure to
deserialise it, so don't dereference the result without
checking.

7 years agocaps: Fix null pointer dereference on invalid static caps
Jan Schmidt [Mon, 2 Jan 2017 15:11:27 +0000 (02:11 +1100)]
caps: Fix null pointer dereference on invalid static caps

A typo in a static caps string may result in failure to
deserialise it, so don't dereference the result without
checking.

7 years agostructure: reword comment for gst_structure_parse_string()
Stefan Sauer [Fri, 30 Dec 2016 18:42:57 +0000 (19:42 +0100)]
structure: reword comment for gst_structure_parse_string()

The comment was a bit confusing. Turn it into gtkdoc style and reword it.

7 years agoinfo: re-eval GST_DEBUG env var for late categories
Stefan Sauer [Wed, 28 Dec 2016 20:47:03 +0000 (21:47 +0100)]
info: re-eval GST_DEBUG env var for late categories

When registering a new debug category after _debug_init(), we need to
re check the GST_DEBUG filter settings again.
In addition when parsing the filter setting, we need to already bump up
the min-debug level to not suppress debug log statments that dynamically
register a category. This happens in libraries that use a function to
register a category on first use.

7 years agogst-uninstalled: Default to python3
Edward Hervey [Thu, 29 Dec 2016 16:04:04 +0000 (17:04 +0100)]
gst-uninstalled: Default to python3

It's 2016, unless you've specified a different version of python,
we'll default to python3

7 years agobaseparse: also unset DISCONT on buffers in reverse playback fragments
Mark Nauwelaerts [Wed, 28 Dec 2016 12:45:54 +0000 (13:45 +0100)]
baseparse: also unset DISCONT on buffers in reverse playback fragments

7 years agogst-launch: Add a '--types' option to filter elements by types to print
Thibault Saunier [Thu, 22 Dec 2016 00:58:53 +0000 (21:58 -0300)]
gst-launch: Add a '--types' option to filter elements by types to print

This way the user can easily figure out what are the available audio
encoder for example doing:

  gst-inspect-1.0 --types Encoder/Audio

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

7 years agotools: gst-launch: set GST_GL_XINITTHREADS
Nicolas Dechesne [Thu, 22 Dec 2016 17:45:10 +0000 (18:45 +0100)]
tools: gst-launch: set GST_GL_XINITTHREADS

This ensure that XInitThreads is called and so gl contexts are properly
initialized.

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

7 years agogstpreset: Lower some debug logs level
Thibault Saunier [Thu, 22 Dec 2016 19:13:22 +0000 (16:13 -0300)]
gstpreset: Lower some debug logs level

A property not defined in a preset file can simply mean that the
user wants it to be set as it default value, and we should not warn
about that.

A missing preset file in a directory can happen has there are several
directory where a preset can be found in.

7 years agomeson: Fix order of C source and header in mkenums
Nirbheek Chauhan [Thu, 22 Dec 2016 18:09:39 +0000 (23:39 +0530)]
meson: Fix order of C source and header in mkenums

Otherwise gstenum_h dependencies don't get added properly to gst_dep and
we see racy build failures everywhere.

7 years agomeson: use gnome.mkenums() with template files for enum file gen
Tim-Philipp Müller [Sat, 17 Dec 2016 14:35:19 +0000 (14:35 +0000)]
meson: use gnome.mkenums() with template files for enum file gen

Saves us a custom script. Template files are nicer than passing
multiline templating stuff through to glib-mkenums. And we can
get rid of our custom python script.