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

8 years agomultiqueue: consider the extra time if there is spare buffer bytes 10/105810/1 accepted/tizen/3.0/common/20161221.181255 accepted/tizen/3.0/ivi/20161221.010944 accepted/tizen/3.0/mobile/20161221.011614 accepted/tizen/3.0/tv/20161221.010730 accepted/tizen/3.0/wearable/20161221.011103 submit/tizen_3.0/20161220.100802
Eunhae Choi [Fri, 16 Dec 2016 07:29:43 +0000 (16:29 +0900)]
multiqueue: consider the extra time if there is spare buffer bytes

Change-Id: I36817ba8b11cc08327c50cf0c9a14982e22be94f

8 years ago"enable trustzone config in gstbasesrc"" 87/104287/2 accepted/tizen/3.0/common/20161216.123750 accepted/tizen/3.0/ivi/20161216.084317 accepted/tizen/3.0/mobile/20161216.083920 accepted/tizen/3.0/tv/20161216.084050 accepted/tizen/3.0/wearable/20161216.084120 submit/tizen_3.0/20161213.081002 submit/tizen_3.0/20161215.110001
eunhae choi [Tue, 13 Dec 2016 04:21:41 +0000 (20:21 -0800)]
"enable trustzone config in gstbasesrc""

This reverts commit 27fc028fd7d977f8d6832df50e414bfdeb39fc14.

Change-Id: I99fd913dbd7821e8dac4ae58522460a16e7a4fc0

8 years agoqueue2: add buffer-mode property for rtsp 71/104171/1
Eunhae Choi [Mon, 12 Dec 2016 12:43:34 +0000 (21:43 +0900)]
queue2: add buffer-mode property for rtsp

Change-Id: I319da90813d2ea601a86ae83ad1e48c4c159238b

8 years agoRVU Service LiveStreaming Optimization 65/96865/5
fscherry [Thu, 10 Nov 2016 11:39:58 +0000 (20:39 +0900)]
RVU Service LiveStreaming Optimization

Change-Id: I74868b743064b3b447b1f1de01873b54bc82d88d
Signed-off-by: fscherry <js4716.chun@samsung.com>
8 years agoMerge branch 'tizen' into tizen_3.0 85/102385/1 accepted/tizen/3.0/common/20161207.194514 accepted/tizen/3.0/ivi/20161207.011923 accepted/tizen/3.0/mobile/20161207.011556 accepted/tizen/3.0/tv/20161207.011717 accepted/tizen/3.0/wearable/20161207.011813 submit/tizen_3.0/20161206.052949
Eunhae Choi [Mon, 5 Dec 2016 12:40:03 +0000 (21:40 +0900)]
Merge branch 'tizen' into tizen_3.0

Change-Id: I72ba2e41fe492e8860d687d59b1f8d8203cae9ee

8 years agobaseparse: If tags changed, baseparse update tag event and push pending event. 83/102383/1 accepted/tizen/common/20161207.184608 accepted/tizen/ivi/20161208.012249 accepted/tizen/mobile/20161208.011934 accepted/tizen/tv/20161208.012049 accepted/tizen/wearable/20161208.012142 submit/tizen/20161207.075356
Gilbok Lee [Wed, 9 Nov 2016 07:55:45 +0000 (16:55 +0900)]
baseparse: If tags changed, baseparse update tag event and push pending event.

some parse update tag in pre_push_frame fucntion.

[Version] 1.6.1-6
[Profile] Common
[Issue Type] Fix bugs

Change-Id: Ife07cb8a3a20f9763db83bd2e25b43530a7c51e2
(cherry picked from commit 737358019bab750d1987533dd1ab1b0508a632ec)

8 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

8 years agoRevert "enable trustzone config in gstbasesrc" 99/100999/1
Heechul Jeon [Wed, 30 Nov 2016 05:22:04 +0000 (21:22 -0800)]
Revert "enable trustzone config in gstbasesrc"

This reverts commit afc652bb9fdcc86f2d0a0f3bd210dc871432bfea.

Change-Id: I48b319171a1d8785b4e76e16e284d88fe933feeb

8 years agoenable trustzone config in gstbasesrc 59/96859/1
fscherry [Thu, 10 Nov 2016 11:23:31 +0000 (20:23 +0900)]
enable trustzone config in gstbasesrc

Change-Id: I82885012ac14ed19a2e4bfb8cdc9ed11eda7d305
Signed-off-by: fscherry <js4716.chun@samsung.com>
8 years agobaseparse: If tags changed, baseparse update tag event and push pending event. 23/96523/1 accepted/tizen/3.0/common/20161114.082848 accepted/tizen/3.0/ivi/20161109.162326 accepted/tizen/3.0/mobile/20161109.162220 accepted/tizen/3.0/tv/20161109.162240 accepted/tizen/3.0/wearable/20161109.162258 submit/tizen_3.0/20161109.123641 submit/tizen_3.0_common/20161110.084657
Gilbok Lee [Wed, 9 Nov 2016 07:55:45 +0000 (16:55 +0900)]
baseparse: If tags changed, baseparse update tag event and push pending event.

some parse update tag in pre_push_frame fucntion.

[Version] 1.6.1-6
[Profile] Common
[Issue Type] Fix bugs

Change-Id: Ife07cb8a3a20f9763db83bd2e25b43530a7c51e2

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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>
9 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>
9 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

9 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

9 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>
9 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>
9 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

9 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

9 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>
9 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

9 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

9 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

9 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

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

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

9 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

9 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

9 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

9 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.

9 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

9 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

9 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

9 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

9 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

9 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.

9 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

9 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

9 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

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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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.

9 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.

9 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

9 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

9 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

9 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

9 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.

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

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

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

9 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

9 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.

9 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

9 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

9 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

9 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.

9 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.

9 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

9 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.