platform/upstream/gstreamer.git
7 years ago[spec] disable test not to build GPL related 74/102374/1
Eunhae Choi [Mon, 5 Dec 2016 12:17:24 +0000 (21:17 +0900)]
[spec] disable test not to build GPL related

- network-clock-utils.scm
- network-clock.scm

Change-Id: I74a59c9be1dc51d602c33e1811711f7d1528226d

7 years agoadd factory pool to reuse and preload for reducing loading time 96/87296/8
Younghwan [Wed, 7 Sep 2016 08:43:39 +0000 (17:43 +0900)]
add factory pool to reuse and preload for reducing loading time

Change-Id: Idb4551efee8293ff36f73dd051b622b02d470b9b

7 years agoapply tizen build option rule 09/87109/1 accepted/tizen/3.0/ivi/20161011.044154 accepted/tizen/3.0/mobile/20161015.033227 accepted/tizen/3.0/tv/20161016.004719 accepted/tizen/3.0/wearable/20161015.082851 accepted/tizen/common/20160907.154727 accepted/tizen/ivi/20160908.044250 accepted/tizen/mobile/20160908.043824 accepted/tizen/tv/20160908.044003 accepted/tizen/wearable/20160908.044116 submit/tizen/20160907.074000 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000002 submit/tizen_3.0_mobile/20161015.000002 submit/tizen_3.0_tv/20161015.000002 submit/tizen_3.0_wearable/20161015.000002
Eunhae Choi [Tue, 6 Sep 2016 10:11:56 +0000 (19:11 +0900)]
apply tizen build option rule

Change-Id: I5982cf1d738ef37a0e92707febc74f7b94e95fbb

7 years agoincrease min size to match correct demuxer 74/86674/3
Younghwan [Fri, 2 Sep 2016 02:26:21 +0000 (11:26 +0900)]
increase min size to match correct demuxer
some demuxer needs to requre more

Change-Id: I7401ed7ab757d22680a680ffa05a1dc63942619f

7 years agoAllow application to set segment time 84/86684/1
Younghwan [Fri, 2 Sep 2016 09:03:54 +0000 (18:03 +0900)]
Allow application to set segment time

Change-Id: I481d79b2f5a9628151dfb6ceb113c68b3d4e4883

7 years agouse DTS if PTS is invalid 55/86555/2
Younghwan [Fri, 2 Sep 2016 01:08:42 +0000 (10:08 +0900)]
use DTS if PTS is invalid

Change-Id: I36a8059f1528846d2a63049f954a8061072b4b48

7 years ago"audio-dualmono" tag to get it from stream-info and audio codec 49/86549/4
Younghwan [Fri, 2 Sep 2016 00:25:54 +0000 (09:25 +0900)]
"audio-dualmono" tag to get it from stream-info and audio codec

Change-Id: Iad4876718fb5ead2c1096af7fc714e36f9705e32

7 years agoadd family-id to set unique value from API to plugin 82/85682/2
Younghwan [Fri, 26 Aug 2016 11:17:19 +0000 (20:17 +0900)]
add family-id to set unique value from API to plugin
it will be helpful for debugging when multi-instances are created

Change-Id: I7bd65817a2b31146bb3a6c3104b125f7a494a3f6

7 years agoadd GST_QUERY_RESOURCE and interface functions 87/85187/6
Younghwan [Wed, 24 Aug 2016 06:27:27 +0000 (15:27 +0900)]
add GST_QUERY_RESOURCE and interface functions
so, can query an element for using HW resource

Change-Id: I086ce486da448c018b0285f00713a2e0d84b5e78

8 years agobaseparse: Fixed Issue(P150428-01809) - different duration with PLAYER and DB 20/56320/2
Gilbok Lee [Wed, 6 Jan 2016 08:42:49 +0000 (17:42 +0900)]
baseparse: Fixed Issue(P150428-01809) - different duration with PLAYER and DB
Sync with tizen 2.4 fixed code (http://165.213.149.170/gerrit/#/c/38877)

Change-Id: Id63e559edb6fe06a47d19609dc28c8d729ac89b0
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agomultiqueue: add property to get current queue level(sync with tizen 2.4) 02/58102/2 accepted/tizen/ivi/20160218.024902 accepted/tizen/mobile/20160203.051709 accepted/tizen/tv/20160203.051727 accepted/tizen/wearable/20160203.051746 submit/tizen/20160202.225426 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000005
Eunhae Choi [Wed, 27 Jan 2016 11:56:30 +0000 (20:56 +0900)]
multiqueue: add property to get current queue level(sync with tizen 2.4)

Change-Id: I88c90ffe0136d2dc75a2de8319b3bf28ac3dfaac

8 years ago[queue] add new property - "empty-buffers" 61/56161/1 accepted/tizen/mobile/20160106.003059 accepted/tizen/tv/20160106.003018 accepted/tizen/wearable/20160106.003114 submit/tizen/20160105.053024
Jeongmo Yang [Tue, 5 Jan 2016 05:03:12 +0000 (14:03 +0900)]
[queue] add new property - "empty-buffers"

Change-Id: Ie8d05b575701947e3e6b7bfea532950b90074cc2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
8 years agobaseparse: Added helper function for supporting seek logic of subparser 81/55881/1 accepted/tizen/mobile/20151230.222849 accepted/tizen/tv/20151230.222900 accepted/tizen/wearable/20151230.222923 submit/tizen/20151230.045522
Gilbok Lee [Wed, 30 Dec 2015 04:38:15 +0000 (13:38 +0900)]
baseparse: Added helper function for supporting seek logic of subparser
Sync with tizen 2.4 fixed code (http://165.213.149.170/gerrit/#/c/71917)

Change-Id: Ia84442f719562c418b1c1aa08acba9e41256bb70
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agoChange spec license name LGPL-2.1+ to LGPL-2.0+ 68/55768/1 accepted/tizen/mobile/20151230.112107 accepted/tizen/tv/20151230.112131 accepted/tizen/wearable/20151230.112226 submit/tizen/20151229.081723
Gilbok Lee [Tue, 29 Dec 2015 07:37:10 +0000 (16:37 +0900)]
Change spec license name LGPL-2.1+ to LGPL-2.0+

Change-Id: I22bef7a57d12bf3a5cecc170638e70840ba42e48
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agoMerge "baseparse: Fixed http seek slow issue in case of souphttpsrc Sync with tizen... accepted/tizen/mobile/20151228.233057 accepted/tizen/tv/20151228.232044 accepted/tizen/wearable/20151228.231344 submit/tizen/20151228.104844
Heechul Jeon [Mon, 28 Dec 2015 10:45:48 +0000 (02:45 -0800)]
Merge "baseparse: Fixed http seek slow issue in case of souphttpsrc Sync with tizen 2.4 fixed code (165.213.149.170/gerrit/#/c/60291)" into tizen

8 years agoMerge "baseparse: Make possible update of audio duration at the prepare state Sync...
Heechul Jeon [Mon, 28 Dec 2015 10:45:29 +0000 (02:45 -0800)]
Merge "baseparse: Make possible update of audio duration at the prepare state Sync with tizen 2.4 fixed code (165.213.149.170/gerrit/#/c/24630)" into tizen

8 years agobaseparse: Fixed http seek slow issue in case of souphttpsrc 07/55607/2
Gilbok Lee [Mon, 28 Dec 2015 06:30:38 +0000 (15:30 +0900)]
baseparse: Fixed http seek slow issue in case of souphttpsrc
Sync with tizen 2.4 fixed code (http://165.213.149.170/gerrit/#/c/60291)

Change-Id: I8ce7178095cf9b20a9c9834ddc2ecc801cb32ed8
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agobaseparse: Make possible update of audio duration at the prepare state 06/55506/2
Gilbok Lee [Thu, 24 Dec 2015 06:15:51 +0000 (15:15 +0900)]
baseparse: Make possible update of audio duration at the prepare state
Sync with tizen 2.4 fixed code (http://165.213.149.170/gerrit/#/c/24630)

Change-Id: I969aec322bfd189e626857a59fb9346f2b88dad6
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agomodify spec file about build require 28/54228/2 accepted/tizen/mobile/20151214.233617 accepted/tizen/tv/20151214.233628 accepted/tizen/wearable/20151214.233641 submit/tizen/20151214.083821 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Eunhae Choi [Mon, 14 Dec 2015 08:22:52 +0000 (17:22 +0900)]
modify spec file about build require

Change-Id: I0f48110572d112f4353c871354abbc81b2129edc

8 years agocleanup spec file 14/53514/3 accepted/tizen/mobile/20151208.125501 accepted/tizen/tv/20151208.125520 accepted/tizen/wearable/20151208.125537 submit/tizen/20151208.043454
Eunhae Choi [Mon, 7 Dec 2015 11:17:50 +0000 (20:17 +0900)]
cleanup spec file

Change-Id: I84e95f0dc568c8dc6814e3943baa998e7c6b81ae

8 years agoRemove unnecessary so file in development package 18/53318/1 accepted/tizen/mobile/20151206.223508 accepted/tizen/tv/20151206.223524 accepted/tizen/wearable/20151206.223539 submit/tizen/20151204.055307
Jeongmo Yang [Fri, 4 Dec 2015 01:42:04 +0000 (10:42 +0900)]
Remove unnecessary so file in development package

Change-Id: I7058cc18a87aede5ea6e7f3b7c477890b2e0b12f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
8 years agomultiqueue: update buffering if the high threshold is changed 41/53141/1 accepted/tizen/mobile/20151202.230153 accepted/tizen/tv/20151202.230212 accepted/tizen/wearable/20151202.230230 submit/tizen/20151202.053915
Eunhae Choi [Wed, 2 Dec 2015 05:33:35 +0000 (14:33 +0900)]
multiqueue: update buffering if the high threshold is changed

Change-Id: Iba197aa88b5ca331d789b0465063f3afb93a1a02

8 years agomodify spec to build and merge prev modification 28/52628/2 submit/tizen/20151127.020604 submit/tizen/20151127.065352 submit/tizen/20151201.024149
Eunhae Choi [Wed, 25 Nov 2015 07:52:57 +0000 (16:52 +0900)]
modify spec to build and merge prev modification

Change-Id: Ie6fdd579e9085e6e668e99883ab319fd3602b619

8 years agoMerge remote-tracking branch 'remotes/origin/upstream/1.6' into tizen 27/52627/1
Eunhae Choi [Wed, 25 Nov 2015 07:30:36 +0000 (16:30 +0900)]
Merge remote-tracking branch 'remotes/origin/upstream/1.6' into tizen

Change-Id: If2672ddd4ea2935a86bd3a519d5d5345df0d0f9a

8 years agoRelease 1.6.1 1.6.1
Sebastian Dröge [Fri, 30 Oct 2015 14:38:10 +0000 (16:38 +0200)]
Release 1.6.1

8 years agoUpdate .po files
Sebastian Dröge [Fri, 30 Oct 2015 14:18:50 +0000 (16:18 +0200)]
Update .po files

8 years agopo: Update translations
Sebastian Dröge [Fri, 30 Oct 2015 12:09:00 +0000 (14:09 +0200)]
po: Update translations

8 years agopad: Unblock blocking pad probes when receiving FLUSH_START in send_event() too
Sebastian Dröge [Wed, 28 Oct 2015 16:04:46 +0000 (18:04 +0200)]
pad: Unblock blocking pad probes when receiving FLUSH_START in send_event() too

Without this, flushing might not unblock the streaming thread and cause deadlocks.

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

8 years agouri: tests: added unit test for streams ending in .. without following /
Florin Apostol [Sat, 24 Oct 2015 15:43:59 +0000 (16:43 +0100)]
uri: tests: added unit test for streams ending in .. without following /

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

8 years agosegment: Correct stream_time calc for negative applied rate
Vivia Nikolaidou [Mon, 19 Oct 2015 13:50:51 +0000 (16:50 +0300)]
segment: Correct stream_time calc for negative applied rate

Updated gst_segment_position_from_stream_time and gst_segment_to_stream_time to reflect correct calculations for the case when the applied rate is negative.

Pasting from design docs:

===============================
Stream time is calculated using the buffer times and the preceding SEGMENT
event as follows:

    stream_time = (B.timestamp - S.start) * ABS (S.applied_rate) + S.time

For negative rates, B.timestamp will go backwards from S.stop to S.start,
making the stream time go backwards.
===============================

Therefore, the calculation for applied_rate < 0 should be:

    stream_time = (S.stop - B.timestamp) * ABS (S.applied_rate) + S.time

and the reverse:

    B.timestamp = S.stop - (stream_time - S.time) / ABS (S.applied_rate)

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

8 years agosegment: gst_segment_to_stream_time: Renamed 'result' to 'stream_time'
Vivia Nikolaidou [Fri, 25 Sep 2015 12:57:16 +0000 (15:57 +0300)]
segment: gst_segment_to_stream_time: Renamed 'result' to 'stream_time'

Renamed the "result" variable to "stream_time" for better readability.

8 years agouri: fix behaviour for merging uris ending in .. without following /
Florin Apostol [Sat, 24 Oct 2015 15:52:44 +0000 (16:52 +0100)]
uri: fix behaviour for merging uris ending in .. without following /

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

8 years agopad: Fix docs/annotation of gst_pad_probe_info_get_buffer_list()
Sebastian Dröge [Wed, 21 Oct 2015 11:49:49 +0000 (14:49 +0300)]
pad: Fix docs/annotation of gst_pad_probe_info_get_buffer_list()

It's not get_bufferlist(). Because of that it was ignored by the docs and
G-I, leading to crashes because of broken ownership transfer.

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

8 years agobin: Make sure to free all cached messages when going to NULL
Sebastian Dröge [Sat, 17 Oct 2015 19:13:08 +0000 (22:13 +0300)]
bin: Make sure to free all cached messages when going to NULL

An ASYNC READY->PAUSED might have failed without the bin code noticing during
the state change, in which case we will never get PAUSED->READY and would leak
messages.

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

8 years agomultiqueue: Improve incoming SEGMENT handling
Edward Hervey [Thu, 15 Oct 2015 14:32:42 +0000 (16:32 +0200)]
multiqueue: Improve incoming SEGMENT handling

Previously this code was just blindly setting the cached flow return
of downstream to GST_FLOW_OK when we get a SEGMENT.

The problem is that this can not be done blindly. If downstream was
not linked, the corresponding sinqlequeue source pad thread might be
waiting for the next ID to be woken up upon.

By blindly setting the cached return value to GST_FLOW_OK, and if that
stream was the only one that was NOT_LINKED, then the next time we
check (from any other thread) to see if we need to wake up a source pad
thread ... we won't even try, because none of the cached flow return
are equal to GST_FLOW_NOT_LINKED.

This would result in that thread never being woken up

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

8 years agobaseparse: Update internal position even if not linked
Edward Hervey [Mon, 12 Oct 2015 15:29:26 +0000 (17:29 +0200)]
baseparse: Update internal position even if not linked

Our current position has nothing to do with being linked or not.

Avoids having stray segment updates fired every 2s

8 years agotests: fix the tag test
Stefan Sauer [Mon, 5 Oct 2015 19:29:49 +0000 (21:29 +0200)]
tests: fix the tag test

The previous change (see bgo #756069) was causing us to free the same pointer
multiple times. If we actually get a sample back, the test fails, no need to
free anything in that case.

8 years agotests/gst-launch: Fix sample memory leak
Vineeth TM [Mon, 5 Oct 2015 02:12:47 +0000 (11:12 +0900)]
tests/gst-launch: Fix sample memory leak

When sample is got using gst_tag_list_get_sample_index, it should
be free'd.

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

8 years agogst-ptp-helper: #include <sys/socket.h> to fix net/if.h include on OSX 10.6
Sebastian Dröge [Wed, 7 Oct 2015 10:25:52 +0000 (11:25 +0100)]
gst-ptp-helper: #include <sys/socket.h> to fix net/if.h include on OSX 10.6

In file included from gst-ptp-helper.c:40:0:
   /usr/include/net/if.h:265:19: error: field 'ifru_addr' has incomplete type
      struct sockaddr ifru_addr;

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

8 years agocheck: fix 'format string is not a string literal' warning with clang
Tim-Philipp Müller [Mon, 28 Sep 2015 15:01:55 +0000 (16:01 +0100)]
check: fix 'format string is not a string literal' warning with clang

Broke this when I removed the G_GNUC_PRINTF in a previous
commit to fix indentation, since it was not really needed.
Turns out unlike gcc clang warns though if a non-literal
format string is passed then. Fix indentation differently.

http://clang.llvm.org/docs/AttributeReference.html#format-gnu-format

8 years agoRelease 1.6.0
Sebastian Dröge [Fri, 25 Sep 2015 21:14:33 +0000 (23:14 +0200)]
Release 1.6.0

8 years agoUpdate .po files
Sebastian Dröge [Fri, 25 Sep 2015 20:41:16 +0000 (22:41 +0200)]
Update .po files

8 years agoptpclock: Fix error leak during failures
Vineeth TM [Fri, 25 Sep 2015 01:18:07 +0000 (10:18 +0900)]
ptpclock: Fix error leak during failures

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

8 years agofunnel: Fix racy state change
Stian Selnes [Mon, 21 Sep 2015 11:58:51 +0000 (13:58 +0200)]
funnel: Fix racy state change

Iterator may need to be resynced, for instance if pads are released
during state change.

got_eos should be protected by the object lock of the element, not of
the pad, as is the case throughout the rest of the funnel code.

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

8 years agobin: element: Ignore activate result for removed pads on state change
Stian Selnes [Mon, 21 Sep 2015 13:22:19 +0000 (15:22 +0200)]
bin: element: Ignore activate result for removed pads on state change

This fixes a race where a state change may return failure if it has
request pads that are deactivated and removed (and thus have no
parent) at the same time as the element changes state and (de)activates
its pads.

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

8 years agoharness: don't crash when adding a sink-harness without h->sinkpad
Havard Graff [Thu, 24 Sep 2015 08:23:14 +0000 (10:23 +0200)]
harness: don't crash when adding a sink-harness without h->sinkpad

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

8 years agobasetransform: Print buffer PTS when submitting an input buffer
Sebastian Dröge [Wed, 23 Sep 2015 18:31:48 +0000 (20:31 +0200)]
basetransform: Print buffer PTS when submitting an input buffer

8 years agoinputselector: Fix buffer leak in sync_streams & cache_buffers mode
Eunhae Choi [Mon, 21 Sep 2015 05:58:46 +0000 (14:58 +0900)]
inputselector: Fix buffer leak in sync_streams & cache_buffers mode

After doing gst_pad_push() in case of sync_streams and cache_buffers,
if the buffer can not be kept in cache, it should be unreffed to avoid
memory leackage.

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

8 years agogst: Documentation typo fix in caps & pad APIs
Vikram Fugro [Sat, 19 Sep 2015 11:27:26 +0000 (16:57 +0530)]
gst: Documentation typo fix in caps & pad APIs

gst_caps_can_intersect() & GST_PAD_IS_ACCEPT_INTERSECT()
documentation typo fix.

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

8 years agoRelease 1.5.91
Sebastian Dröge [Fri, 18 Sep 2015 17:07:18 +0000 (19:07 +0200)]
Release 1.5.91

8 years agoUpdate .po files
Sebastian Dröge [Fri, 18 Sep 2015 17:07:10 +0000 (19:07 +0200)]
Update .po files

8 years agopo: Update translations
Sebastian Dröge [Fri, 18 Sep 2015 09:49:03 +0000 (11:49 +0200)]
po: Update translations

8 years agodownloadbuffer, benchmarks: fix error leaks in failure code paths
Vineeth TM [Tue, 15 Sep 2015 01:56:40 +0000 (10:56 +0900)]
downloadbuffer, benchmarks: fix error leaks in failure code paths

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

8 years agocheck: Fix indentation
Vineeth TM [Tue, 15 Sep 2015 01:52:55 +0000 (10:52 +0900)]
check: Fix indentation

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

8 years agobufferpool: sprinkle some allow-none and out annotations for g-i
Tim-Philipp Müller [Tue, 15 Sep 2015 17:05:11 +0000 (18:05 +0100)]
bufferpool: sprinkle some allow-none and out annotations for g-i

8 years agobin: fix typo in log message when threadpool alloc fails
Vineeth TM [Mon, 14 Sep 2015 02:01:11 +0000 (11:01 +0900)]
bin: fix typo in log message when threadpool alloc fails

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

8 years agoconfigure: Check for socketpair() in -lsocket too
Igor Rondarev [Fri, 11 Sep 2015 14:58:48 +0000 (17:58 +0300)]
configure: Check for socketpair() in -lsocket too

On e.g. QNX it is in an external library, not libc.

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

8 years agoMerge "[queue2] Update queue2 for progressive download" into tizen tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150911.144858 accepted/tizen/tv/20150911.144915 accepted/tizen/wearable/20150911.144931 submit/tizen/20150911.034841 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
ahn [Thu, 10 Sep 2015 14:09:02 +0000 (07:09 -0700)]
Merge "[queue2] Update queue2 for progressive download" into tizen

8 years agoMerge "[filesink] Add property current_byte" into tizen
ahn [Thu, 10 Sep 2015 14:08:08 +0000 (07:08 -0700)]
Merge "[filesink] Add property current_byte" into tizen

8 years ago[queue2] Update queue2 for progressive download 78/47978/1
Hyongtaek Lim [Thu, 10 Sep 2015 12:08:56 +0000 (21:08 +0900)]
[queue2] Update queue2 for progressive download

Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
Change-Id: I16115b8be724067b98f4b561a52d42da27aa39e4

8 years ago[filesink] Add property current_byte 77/47977/1
Hyongtaek Lim [Thu, 10 Sep 2015 12:06:47 +0000 (21:06 +0900)]
[filesink] Add property current_byte

Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
Change-Id: I02875ba15f929e1e00078f0cf752d147014c4f7b

8 years agoRevert "docs: Make sure gst_debug_bin_to_dot_data() is documented"
Arun Raghavan [Wed, 9 Sep 2015 07:40:04 +0000 (13:10 +0530)]
Revert "docs: Make sure gst_debug_bin_to_dot_data() is documented"

This reverts commit 0dffeb03018d12be522c2d97aaaf8102153bd7c0.

The commit is erroneous and documents the function twice.

8 years agodocs: Make sure gst_debug_bin_to_dot_data() is documented
Arun Raghavan [Thu, 23 Jul 2015 06:48:51 +0000 (12:18 +0530)]
docs: Make sure gst_debug_bin_to_dot_data() is documented

Thanks to Nirbheek Chauhan <nirbheek@centricular.com> for pointing this
out.

8 years agoharness: Fix race for gst_harness_element_ref
Stian Selnes [Wed, 5 Aug 2015 08:07:50 +0000 (10:07 +0200)]
harness: Fix race for gst_harness_element_ref

In order for gst_harness_new_full to be MT-safe the increase and
decrease of HARNESS_REF must be MT-safe. This allows for creating
multiple harnesses from different threads wrapping the same element.

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

8 years agoharness: Allow-none for custom stress init func
Stian Selnes [Wed, 5 Aug 2015 07:59:39 +0000 (09:59 +0200)]
harness: Allow-none for custom stress init func

It should be allowed to not have a function to initialize the user data
since it's often not necessary; it may already be initialized.

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

8 years agodocs: remove signal that no longer exists from docs
Tim-Philipp Müller [Sun, 6 Sep 2015 08:58:09 +0000 (09:58 +0100)]
docs: remove signal that no longer exists from docs

8 years agopo: update for translated string changes
Tim-Philipp Müller [Sat, 5 Sep 2015 10:20:49 +0000 (11:20 +0100)]
po: update for translated string changes

8 years agotools: gst-launch: fix --exclude command line option
Tim-Philipp Müller [Sat, 5 Sep 2015 10:18:27 +0000 (11:18 +0100)]
tools: gst-launch: fix --exclude command line option

This has not worked (as in: crashed) since 2005, so
perhaps it should just be removed instead.

8 years agoRevert "queue2: Process SEEKING query"
Tim-Philipp Müller [Mon, 31 Aug 2015 11:07:10 +0000 (12:07 +0100)]
Revert "queue2: Process SEEKING query"

This caused problems with oggdemux when queue2 was
operating in queue mode and the souphttpsrc upstream
is not seekable because the server doesn't support
range requests. It would then still claim seekability
and then things go wrong from there.

This reverts commit 7b0b93dafe4ac547552cdb66ade5d8aa0405e7b4.

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

8 years agoharness: misc bugfixes
Havard Graff [Sat, 29 Aug 2015 18:14:44 +0000 (20:14 +0200)]
harness: misc bugfixes

1. Get a list of pad templates from the element class, not the
factory. This allows us to interact with test-elements that does
not have a factory.

2. Use the pad_template_caps in caps-queries when caps is not set
explicitly on the pad. Not doing so is simply wrong, and prohibits
interactions with special templates used for testing.

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

8 years agotests: event: fix build failure
Thiago Santos [Wed, 26 Aug 2015 12:29:05 +0000 (09:29 -0300)]
tests: event: fix build failure

gst/gstevent.c:250:5: error: ‘for’ loop initial declarations are only
allowed in C99 or C11 mode

8 years agobin: Make sure we don't add/remove a bin to/from itself
Vivia Nikolaidou [Mon, 24 Aug 2015 18:04:37 +0000 (21:04 +0300)]
bin: Make sure we don't add/remove a bin to/from itself

Doing so would deadlock from trying to acquire the object lock twice

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

8 years agobasetransform: Reconfigure before propose_allocation
Nicolas Dufresne [Fri, 21 Aug 2015 21:28:48 +0000 (14:28 -0700)]
basetransform: Reconfigure before propose_allocation

There exist cases where a reconfigure event was propagated from
downstream, but caps didn't change. In this case, we would
reconfigure only when the next buffer arrives. The problem is that
due to the allocation query being cached, the return query parameters
endup outdated.

In this patch we refactor the reconfigurating code into a function, and
along with reconfiguring when a new buffer comes in, we also reconfigure
when a query allocation arrives.

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

8 years agobasesrc-test: Fix race testing segment update
Nicolas Dufresne [Fri, 7 Aug 2015 19:39:59 +0000 (15:39 -0400)]
basesrc-test: Fix race testing segment update

As this test is using a short sleep (GST_USECOND, which is 10ms
in microsecond), sometimes that EOS event is received before the
loop in basesrc have run _do_seek() and pushed the update segment.
To solve this issue, we wait for the initial segment (and flush it)
then we wait for the second segment before sending EOS.

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

8 years agobin: Add NLE to GST_PLUGIN_PATH
Thibault Saunier [Wed, 19 Aug 2015 09:46:07 +0000 (11:46 +0200)]
bin: Add NLE to GST_PLUGIN_PATH

8 years agoRelease 1.5.90
Sebastian Dröge [Wed, 19 Aug 2015 09:50:56 +0000 (12:50 +0300)]
Release 1.5.90

8 years agoUpdate .po files
Sebastian Dröge [Wed, 19 Aug 2015 09:33:41 +0000 (12:33 +0300)]
Update .po files

8 years agopo: Update translations
Sebastian Dröge [Wed, 19 Aug 2015 08:17:29 +0000 (11:17 +0300)]
po: Update translations

8 years agobaseparse: avoid tag list spam if upstream provides bitrate tags already
Tim-Philipp Müller [Tue, 18 Aug 2015 14:44:02 +0000 (15:44 +0100)]
baseparse: avoid tag list spam if upstream provides bitrate tags already

Explicitly keep track again whether upstream tags or parser tags
already contain bitrate information, and only force a tag update
for a bitrate if we are actually going to add the bitrate to the
taglist later. This fixes constant re-sending of the same taglist,
because upstream provided a bitrate already and we didn't add it,
so we didn't save the 'posted' bitrate, which would then in turn
again trigger the 'bitrate has changed too much, update tags'
code path. Fixes tag spam with m4a files for example.

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

8 years agodebugutils: bring the dot style a bit closer to what we use in the docs
Stefan Sauer [Mon, 17 Aug 2015 20:06:11 +0000 (22:06 +0200)]
debugutils: bring the dot style a bit closer to what we use in the docs

Use round corners for bins and elements. Put sink pads on the left and src pads
on the right of elements.

8 years agobaseparse: fix tag handling
Tim-Philipp Müller [Sat, 15 Aug 2015 17:30:15 +0000 (18:30 +0100)]
baseparse: fix tag handling

In 0.10 there were no sticky events, and all tag events
sent would just be merged with the previously-received
tags. In 1.x we have sticky events, and the tags in the
tag event(s) should at all times carry the complete tags,
so we can't just push some tags and then just push tags
with just bitrates to update the bitrates, etc.

Instead we need to keep track of the upstream stream tags
received, of the tags set by the video decoder subclass,
and send an updated tag event with the combined tags
including our own bitrate tags (if applicable) whenever
the upstream tags, the subclass tags or any of our bitrates
change.

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

8 years agobaseparse: add API for subclass to set tags
Tim-Philipp Müller [Sun, 16 Aug 2015 09:15:56 +0000 (10:15 +0100)]
baseparse: add API for subclass to set tags

This is needed so that we can do proper tag handling
all around, and combine the upstream tags with the
tags set by the subclass and any extra tags the
base class may want to add.

API: gst_base_parse_merge_tags()

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

8 years agobaseparse: save upstream stream tags
Tim-Philipp Müller [Sat, 15 Aug 2015 15:01:28 +0000 (16:01 +0100)]
baseparse: save upstream stream tags

We'll need those later.

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

8 years agobaseparse: minor code simplification
Tim-Philipp Müller [Sat, 15 Aug 2015 15:39:40 +0000 (16:39 +0100)]
baseparse: minor code simplification

Use gst_pad_peer_query_duration() and remove a few
unnecessary levels of indentation. Rest of code might
looks a bit questionable, but leave it as is for now.

8 years agopad: Break sticky event array iterations if the type is bigger than the one we look for
Sebastian Dröge [Sat, 15 Aug 2015 15:59:21 +0000 (17:59 +0200)]
pad: Break sticky event array iterations if the type is bigger than the one we look for

Microoptimization we can do because the array is sorted by type.

8 years agogstpad: Add a new GST_PROBE_HANDLED return value for probes
Edward Hervey [Wed, 29 Apr 2015 13:49:17 +0000 (15:49 +0200)]
gstpad: Add a new GST_PROBE_HANDLED return value for probes

In some cases, probes might want to handle the buffer/event/query
themselves and stop the data from travelling further downstream.

While this was somewhat possible with buffer/events and using
GST_PROBE_DROP, it was not applicable to queries, and would result
in the query failing.

With this new GST_PROBE_HANDLED value, the buffer/event/query will
be considered as successfully handled, will not be pushed further
and the appropriate return value (TRUE or GST_FLOW_OK) will be returned

This also allows probes to return a non-default GstFlowReturn when dealing
with buffer push. This can be done by setting the
GST_PAD_PROBE_INFO_FLOW_RETURN() field accordingly

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

8 years agogstversion: Add missing include in .in file.
Mathieu Duponchelle [Sat, 15 Aug 2015 11:25:35 +0000 (13:25 +0200)]
gstversion: Add missing include in .in file.

8 years agoHeaders: add missing includes.
Mathieu Duponchelle [Mon, 10 Aug 2015 22:35:21 +0000 (00:35 +0200)]
Headers: add missing includes.

8 years agodocs: add the new pad accept-template flag to the docs
Thiago Santos [Sat, 15 Aug 2015 09:41:14 +0000 (06:41 -0300)]
docs: add the new pad accept-template flag to the docs

8 years agodocs: section entry missing for gst_direct_control_binding_new_absolute
Nirbheek Chauhan [Fri, 14 Aug 2015 17:14:50 +0000 (22:44 +0530)]
docs: section entry missing for gst_direct_control_binding_new_absolute

8 years agotests: pad: tests for accept-caps default handling
Thiago Santos [Fri, 14 Aug 2015 11:14:52 +0000 (08:14 -0300)]
tests: pad: tests for accept-caps default handling

Check if all the default 4 accept-caps possibilities are working:
subset or intersect check and query-caps or template caps comparisons.

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

8 years agopad: add GST_PAD_FLAG_ACCEPT_TEMPLATE
Thiago Santos [Fri, 14 Aug 2015 10:51:07 +0000 (07:51 -0300)]
pad: add GST_PAD_FLAG_ACCEPT_TEMPLATE

It will make the default accept-caps handler use the pad template
caps instead of the query-caps result to check if the caps is
acceptable. This is aligned with what the design docs says the
accept-caps should do (be non-recursive) and should be faster. It
is *not* enabled by default, though.

API: GST_PAD_FLAG_ACCEPT_TEMPLATE
API: GST_PAD_IS_ACCEPT_TEMPLATE
API: GST_PAD_SET_ACCEPT_TEMPLATE
API: GST_PAD_UNSET_ACCEPT_TEMPLATE

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

8 years agocheck: Rename states unit test
Edward Hervey [Fri, 14 Aug 2015 09:10:03 +0000 (11:10 +0200)]
check: Rename states unit test

Makes it easier to differentiate from other modules states unit test

8 years agobasetransform: rework accept-caps
Thiago Santos [Thu, 13 Aug 2015 16:08:03 +0000 (13:08 -0300)]
basetransform: rework accept-caps

According to the design docs:
The ACCEPT_CAPS query is not required to work recursively, it can simply
return TRUE if a subsequent CAPS event with those caps would return
success.

So make it a shallow check instead of recursivelly check downstream.

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

8 years agobasetransform: remove some dead code
Thiago Santos [Thu, 13 Aug 2015 15:44:29 +0000 (12:44 -0300)]
basetransform: remove some dead code

Doesn't seem like it is going to get back to life anytime soon

Also removes a {} block that was likely used to keep the dead
code around.

8 years agobasetransform: respect accept-caps intersect flag
Thiago Santos [Tue, 11 Aug 2015 11:07:53 +0000 (08:07 -0300)]
basetransform: respect accept-caps intersect flag

GstPad has a flag for suggesting if the accept-caps
query should use intersect instead of the default
subset caps operation to verify if the caps would be
acceptable.

basetransform currently always uses the subset check and
this patch makes it honor the flag for using intersect
if it is set.

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

8 years agobasetransform: remove unreachable return statement
Vineeth TM [Wed, 12 Aug 2015 04:12:38 +0000 (13:12 +0900)]
basetransform: remove unreachable return statement

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

8 years agotests: ignore new harness test binary
Tim-Philipp Müller [Tue, 11 Aug 2015 10:09:24 +0000 (11:09 +0100)]
tests: ignore new harness test binary

8 years agodatetime: accept just a time as ISO 8601 string and use today's date then
Vivia Nikolaidou [Mon, 10 Aug 2015 12:31:37 +0000 (15:31 +0300)]
datetime: accept just a time as ISO 8601 string and use today's date then

If no date and only a time is given in gst_date_time_new_from_iso8601_string(),
assume that it is "today" and try to parse the time-only string. "Today" is
assumed to be in the timezone provided by the user (if any), otherwise Z -
just like the behavior of the existing code.

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

8 years agoharness: add _set_forwarding function
Havard Graff [Thu, 23 Jul 2015 22:41:57 +0000 (00:41 +0200)]
harness: add _set_forwarding function

To be able to disable the slightly "magic" forwarding of the
necessary events between the harnesses.

Also introduce a new test-suite for GstHarness, that documents the
feature, and should hopefully expand into documenting most of the
features the harness possesses.

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