platform/upstream/gst-plugins-bad.git
4 years agoRemove gles20 dependency for headless 83/213783/4 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv accepted/tizen/5.5/unified/20191031.005245 accepted/tizen/5.5/unified/mobile/hotfix/20201027.062158 accepted/tizen/unified/20190917.034127 accepted/tizen/unified/20190918.010331 submit/tizen/20190917.001550 submit/tizen/20190917.100430 submit/tizen_5.5/20191031.000006 submit/tizen_5.5_mobile_hotfix/20201026.185106 tizen_5.5.m2_release
Hyunil [Wed, 11 Sep 2019 07:53:48 +0000 (16:53 +0900)]
Remove gles20 dependency for headless

Change-Id: I6e40914194de856c5078d19e7e93d396f0639ba6
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoMigrate to openssl 1.1 65/211565/1 accepted/tizen/unified/20190814.065123 submit/tizen/20190813.064118
Dariusz Michaluk [Tue, 6 Aug 2019 13:24:44 +0000 (15:24 +0200)]
Migrate to openssl 1.1

Change-Id: I41aefc8219d89ceb0afefaf4e07ed2ab97c365fe

5 years agosoundtouch: add new plugin 31/201231/1 accepted/tizen/unified/20190327.025125 submit/tizen/20190326.032955
Eunhye Choi [Mon, 11 Mar 2019 11:23:20 +0000 (20:23 +0900)]
soundtouch: add new plugin

- new plugin is added to support audio pitch control

Change-Id: I781db9a3594ec82d2e118bab4c3d49c0604e638d

5 years agotsdemux, tsmux, psmux: apply 1.14.4 upstream code 01/200301/3 accepted/tizen/unified/20190311.072514 submit/tizen/20190308.025958
Gilbok Lee [Thu, 21 Feb 2019 08:42:28 +0000 (17:42 +0900)]
tsdemux, tsmux, psmux: apply 1.14.4 upstream code

Change-Id: I6d51014acca7512a5f33b69e2b095ae56d56c3d0

5 years agoadaptivedemux: apply 1.14.4 upstream code 05/200105/1 accepted/tizen/unified/20190221.084121 submit/tizen/20190219.072334
Eunhae Choi [Tue, 19 Feb 2019 07:05:19 +0000 (16:05 +0900)]
adaptivedemux: apply 1.14.4 upstream code

- apply the upstream 1.14.4 release code of
  adaptivedemux, dashdemux, hlsdemux and uridownloader
  to use latest playback code

Change-Id: If3270872c26059b81c9eab8fbbe239f251d9e675

5 years agotsdemux: apply avoid pad switching option 94/199894/1 accepted/tizen/unified/20190218.163159 submit/tizen/20190218.050902
Eunhae Choi [Fri, 15 Feb 2019 08:41:10 +0000 (17:41 +0900)]
tsdemux: apply avoid pad switching option

- this was modified for adaptive streaming with avoid pad switching option.
  it have to be included if the avoid pad switching option is disabled.

Change-Id: I0aac51d334400c4bfc7d56b7cb59c7ac5ae64475

5 years agohlsdemux: resolve deadlock issue 96/197796/2 accepted/tizen/unified/20190201.061255 submit/tizen/20190117.013820 submit/tizen/20190131.012530
Eunhae Choi [Wed, 16 Jan 2019 11:29:15 +0000 (20:29 +0900)]
hlsdemux: resolve deadlock issue

- manifest_lock is required by the mq loop task during reconfiguration of pipeline.
  To avoid deadlock situation with mq loop task,
  the manifest_lock have to be unlocked before pushing serialized event to mq.

Change-Id: I11ff73ddbeb56bc7d9e4546d7234540608d3165e

5 years agotsdemux: didn't send newsegment event to pad when stream find matched stream 15/190215/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.024556 accepted/tizen/unified/20181001.150835 submit/tizen/20181001.061405 submit/tizen_5.0/20181101.000006
Gilbok Lee [Fri, 28 Sep 2018 07:39:36 +0000 (16:39 +0900)]
tsdemux: didn't send newsegment event to pad when stream find matched stream

mpegtsbase: Fix build warning

Change-Id: I402461fac647b52d1a418d777509e63edc976a8b

5 years agotsdemux: Activate stream when replacing the pad 06/189706/5 accepted/tizen/unified/20180920.155228 submit/tizen/20180920.072730
Gilbok Lee [Thu, 20 Sep 2018 04:17:39 +0000 (13:17 +0900)]
tsdemux: Activate stream when replacing the pad

Change-Id: Iafc5d2c48edf2a715164af54916ef17fa9161938

5 years agoadaptivedemux: fix coverity issue 08/189508/1 accepted/tizen/unified/20180919.141933 submit/tizen/20180918.081815 submit/tizen/20180919.021754
Eunhae Choi [Tue, 18 Sep 2018 08:15:01 +0000 (17:15 +0900)]
adaptivedemux: fix coverity issue

Change-Id: Ibcc9c9f327291c9bbbbcde147b96e63f126ba50a

5 years agoMerge "tsdemux: Fix build warning" into tizen accepted/tizen/unified/20180918.062812 submit/tizen/20180917.051918
eunhae choi [Mon, 17 Sep 2018 05:16:53 +0000 (05:16 +0000)]
Merge "tsdemux: Fix build warning" into tizen

5 years agotsdemux: Fix build warning 29/189329/1
Gilbok Lee [Mon, 17 Sep 2018 05:11:03 +0000 (14:11 +0900)]
tsdemux: Fix build warning

Change-Id: I33e858e1fec22f215f61529df35db735cd98e18f

5 years agoopenalsink: remove unused variables 26/189326/1
Seungbae Shin [Mon, 17 Sep 2018 05:04:41 +0000 (14:04 +0900)]
openalsink: remove unused variables

Change-Id: I0167c76e3e87d8d08f2eba7391b374fb1a8cfd70

5 years agohlsdemux: check num of codec before switching stream 83/189083/1 accepted/tizen/unified/20180917.135103 submit/tizen/20180913.093451
Eunhae Choi [Thu, 13 Sep 2018 08:22:17 +0000 (17:22 +0900)]
hlsdemux: check num of codec before switching stream

Change-Id: I4a20f367edea52e69e246ed308ccda319a39288f

5 years agohlsdemux/mpegtsdemux : Check the pcr_pid in PMT at every ts fragment 68/188768/4 accepted/tizen/unified/20180913.063932 submit/tizen/20180912.062615
Gilbok Lee [Mon, 10 Sep 2018 06:20:17 +0000 (15:20 +0900)]
hlsdemux/mpegtsdemux : Check the pcr_pid in PMT at every ts fragment

problems : video is not playing smoothly after seek.
cause : During hls streaming, there is a stream where pmt version
does not change but pcr_pid changes when fragment is changed.
When converting the time stamp, the problem is caused using the wrong
pcr.

Change-Id: I6c11cfeb01b7a1e85fa2cca98316a204c178f3f5

5 years agohlsdemux: add stream switch patch 85/188085/3
Eunhae Choi [Fri, 31 Aug 2018 06:38:47 +0000 (15:38 +0900)]
hlsdemux: add stream switch patch

Change-Id: Ic6cce49a7e8be86d592b977e38894b6b02d9eaea

5 years agoAdd registry_handle_global_remove to wl_registry_listener 08/184308/1 accepted/tizen/unified/20180719.063001 submit/tizen/20180718.043610
Hyunil [Tue, 17 Jul 2018 06:38:50 +0000 (15:38 +0900)]
Add registry_handle_global_remove to wl_registry_listener

Change-Id: I2dc40d8fb55a2871fe0ed3be86652bdd0156ed4a
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
6 years ago[spec] change build macro about tv 44/176944/1 accepted/tizen/unified/20180426.062439 submit/tizen/20180424.091503
Eunhae Choi [Tue, 24 Apr 2018 09:10:47 +0000 (18:10 +0900)]
[spec] change build macro about tv

Change-Id: Ie1883210fefc161b916a72d1928992c7c45edb66

6 years agoAdd build option for security issues 44/175444/1 accepted/tizen/unified/20180420.081807 submit/tizen/20180419.035601
Gilbok Lee [Tue, 10 Apr 2018 08:19:24 +0000 (17:19 +0900)]
Add build option for security issues

Change-Id: Ieec699864923bdf4bd907c5c3db46dd1a6d1b44e

6 years agoadaptivedemux/mpegtsdemux: Playback Stuck during HLS Seek 49/174949/2
Gilbok Lee [Thu, 5 Apr 2018 09:22:05 +0000 (18:22 +0900)]
adaptivedemux/mpegtsdemux: Playback Stuck during HLS Seek

[Problem] Screen Freeze and Playback Stuck during HLS Seek
[Cause & Measure] Issue was happening due to timestamp calculations happening
wrongly in mpegtspacketizer for VOD contents. For fixing the issue,
currently have created interface to know the stream type ( live or vod )
and depending on the type, doing timestamp calculation.

Change-Id: If2b159cf3713e762dfc71d3f7dcf5d7c7d5be43f

6 years agompdparser: fix coverity issue 24/172624/3 accepted/tizen/unified/20180316.062614 submit/tizen/20180315.045940
Eunhae Choi [Thu, 15 Mar 2018 02:27:19 +0000 (11:27 +0900)]
mpdparser: fix coverity issue

Change-Id: Ibe7de64b268a76cd29062dff143147e4e16c82d5

6 years agoMerge branch 'tizen_gst_upgrade' into tizen 86/165986/1 sandbox/sejun/new-feature accepted/tizen/unified/20180110.141849 submit/tizen/20180105.085839
Gilbok Lee [Fri, 5 Jan 2018 05:00:47 +0000 (14:00 +0900)]
Merge branch 'tizen_gst_upgrade' into tizen

upgrade 1.12.2

Change-Id: I3be17122c94b92b5f037c84f9d5f74825cd80c28

6 years agoRemove unused CFLAG 11/164711/1 tizen_gst_upgrade
Hyunil [Wed, 20 Dec 2017 12:15:34 +0000 (21:15 +0900)]
Remove unused CFLAG

Change-Id: I0b65a3c22dd5ef56f581c321d50d74eaf20dba42
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
6 years agowaylandsink : fix coverity issue 20/163220/1 accepted/tizen/unified/20171212.171917 submit/tizen/20171212.053432
Hyunil [Fri, 8 Dec 2017 04:49:51 +0000 (13:49 +0900)]
waylandsink : fix coverity issue

Change-Id: Iabd91d1c0d8ede93f3a3674b797f3c7a9443b7c7
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
6 years agoadaptive: extract variant info 00/163200/2
Eunhae Choi [Fri, 8 Dec 2017 02:23:38 +0000 (11:23 +0900)]
adaptive: extract variant info

- extract variant info
- apply the user-agent, cookie info

Change-Id: I38ec2e0b0248924716a010b3781b6939eb790e36

6 years agowaylandsink : change log level for crash analysis 87/163087/4
Hyunil [Thu, 7 Dec 2017 06:42:13 +0000 (15:42 +0900)]
waylandsink : change log level for crash analysis

Change-Id: I8ef51e1a20648220f30939a6bbfcfed3810b7b68
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
6 years agoadaptive: avoid pad switching 97/162597/2
Eunhae Choi [Mon, 4 Dec 2017 10:01:02 +0000 (19:01 +0900)]
adaptive: avoid pad switching

Change-Id: I29fae423a03e4d642866a218058ca2efa9486f06

6 years agowaylandsink : restrict use of wayland buffer pool 32/161032/1 accepted/tizen/unified/20171124.064647 submit/tizen/20171121.080556 submit/tizen/20171123.115447
Hyunil [Tue, 21 Nov 2017 06:30:08 +0000 (15:30 +0900)]
waylandsink : restrict use of wayland buffer pool

Change-Id: I02ba511d657dc4c59414c15ff219d3cf50c6ecd8
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
6 years agoMerge tizen patch based on 1.12.2 31/158531/5
Eunhae Choi [Wed, 1 Nov 2017 13:14:06 +0000 (22:14 +0900)]
Merge tizen patch based on 1.12.2

except waylandsink,
tizen will use previous waylandsink which is included gst-plugins-tizen.

Change-Id: I9c47a204c953ecaec4f1ae6396126228d666d0bb

6 years agoMerge "Add rotation of spatial audio (first order ambisonics)" into tizen accepted/tizen/unified/20171031.055720 submit/tizen/20171030.055657
eunhae choi [Fri, 20 Oct 2017 04:31:57 +0000 (04:31 +0000)]
Merge "Add rotation of spatial audio (first order ambisonics)" into tizen

6 years agoWaylandsink : Add checking MMVideoBuffer for GstBuffer of Codec Bufferpool 95/156395/2
Hyunil [Wed, 18 Oct 2017 08:05:01 +0000 (17:05 +0900)]
Waylandsink : Add checking MMVideoBuffer for GstBuffer of Codec Bufferpool

Change-Id: Iafcbcd827682a4000a0f7283454ecdee1f94d142
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
6 years agowaylandsink: Use handle num and plane num of MMVideoBuffer 42/154242/4 submit/tizen/20171010.100015
Hyunil [Tue, 10 Oct 2017 01:53:42 +0000 (10:53 +0900)]
waylandsink: Use handle num and plane num of MMVideoBuffer

Change-Id: If2e5296125fa2e5a17f198ccb00b8796914e5729
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
6 years agoAdd rotation of spatial audio (first order ambisonics) 28/153028/3
Mykola Alieksieiev [Wed, 27 Sep 2017 15:55:48 +0000 (18:55 +0300)]
Add rotation of spatial audio (first order ambisonics)

Change-Id: I11d28fa80d652411233a0a631af482620196b0fd
Signed-off-by: Mykola Alieksieiev <m.alieksieie@samsung.com>
6 years agowldisplay: change version of tizen_policy from 1 to 7. 19/150619/1 accepted/tizen/unified/20170920.065400 submit/tizen/20170918.052251
JunSeok, Kim [Mon, 18 Sep 2017 05:20:49 +0000 (14:20 +0900)]
wldisplay: change version of tizen_policy from 1 to 7.

Changing version of tizen_policy from 1 to 7 because of tizen_extensions
version up.

Change-Id: I9e4cd83219ae9af10760cab2915e50202d4ab44c

6 years agodashdemux/hlsdemux/adaptivedemux: Fix build warning and apply coding rule 70/149270/3
Gilbok Lee [Tue, 12 Sep 2017 04:19:25 +0000 (13:19 +0900)]
dashdemux/hlsdemux/adaptivedemux: Fix build warning and apply coding rule

Change-Id: Ic5606190134d9b62e2b82121bf1e8ac3111b123f

6 years agoMake gstfragmented use OpenSSL instead of Nettle 83/137583/2 accepted/tizen/unified/20170904.145505 submit/tizen/20170904.094505
Lukasz Pawelczyk [Tue, 4 Jul 2017 14:06:26 +0000 (16:06 +0200)]
Make gstfragmented use OpenSSL instead of Nettle

Change-Id: I3f180f5ba3e9a2eb593f1183d845ee1050a9f52f

6 years agohlsdemux: Fix crash when NETTLE is not used 15/147415/2
Gilbok Lee [Mon, 4 Sep 2017 08:31:05 +0000 (17:31 +0900)]
hlsdemux: Fix crash when NETTLE is not used
hlsdemux: Fix bug for getting variant stream info

Change-Id: Ibe39e0749723d5ef41b927beb6066f91336e35b0

6 years agoRelease 1.12.2 upstream/1.12 1.12.2
Sebastian Dröge [Fri, 14 Jul 2017 11:03:37 +0000 (14:03 +0300)]
Release 1.12.2

6 years agoUpdate .po files
Sebastian Dröge [Fri, 14 Jul 2017 10:35:02 +0000 (13:35 +0300)]
Update .po files

6 years agopo: Update translations
Sebastian Dröge [Fri, 14 Jul 2017 10:23:03 +0000 (13:23 +0300)]
po: Update translations

6 years agoadaptivedemux: Workaround for live seek ranges when advancing
Edward Hervey [Thu, 13 Jul 2017 10:57:12 +0000 (12:57 +0200)]
adaptivedemux: Workaround for live seek ranges when advancing

This is a workaround for a regression introduced by
f4190a49c04f1d5d174cebba0bc9a03a7ec721c2
 ( adaptivedemux: Check live seeking range more often )

The goal of the previous commit was to be able to cope with non-1.0
rates on live streams which have a "seeking window" (i.e. the server
keeps around quite a bit of the live stream so you can seek back into
it).

Without that commit, two different kind of issues would happen:
* When doing reverse playback, you would never check whether you
  are outside of the seekable region. And would then continuously
  try to download fragments that are no longer present.
* When doing fast forward, you would end up requesting fragments
  which are not present yet.

In order to determine whether one was *really* outside of the seekable
window, we check whether the current stream position is still
within the seekable region.

The *problem* though with that commit is that it assumes that subclasses
will return continuously updated seeking ranges (i.e. dependent on the
current time), which is *NOT* the case.

For example:
* dashdemux does use the current UTC to determine the seekable region
* hlsdemux uses the values from the last updated manifest

Therefore if one downloads fragments faster than realtime, for HLS
we would end up at the end of the last manifest seekable range, and
the previous commit would consider the stream as being ended... which
is not the case.

In the long run, we need to figure out a way to cope with non-1.0
rates on live streams for all types of stream (including HLS).

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

6 years agoadaptivedemux: small refactor to avoid repeated code
Thiago Santos [Sat, 13 May 2017 22:17:57 +0000 (15:17 -0700)]
adaptivedemux: small refactor to avoid repeated code

Move segment event update to a function

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

6 years agoadaptivedemux: Handle prepared streams on seeks
Edward Hervey [Tue, 9 May 2017 09:41:49 +0000 (11:41 +0200)]
adaptivedemux: Handle prepared streams on seeks

This is a race that was exposed by the {hls|dash}.scrub_forward_seeking
validate test.

The "race" is that a subclass might want to change format, causing
a new stream to be created (but not exposed/switched yet) and put on the
prepared_streams list. That stream will have values (including pending
segment) from the pre-seek state.

Before the stream is exposed/switched, a new seek comes in and the stream
values get updated ... but the ones that will be changed don't get updated
causing them to push out wrong segments once they are exposed.

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

6 years agomxfdemux: Create index table arrays with a big enough size
Sebastian Dröge [Tue, 11 Jul 2017 17:54:25 +0000 (20:54 +0300)]
mxfdemux: Create index table arrays with a big enough size

6 years agomxfdemux: Initialize index table entries completely in all cases
Sebastian Dröge [Tue, 11 Jul 2017 17:53:22 +0000 (20:53 +0300)]
mxfdemux: Initialize index table entries completely in all cases

When seeking backwards into a previously unseen location, we wouldn't
fully initialize them and playback would fail later.

6 years agodashdemux: update manifest streams correctly if pads aren't exposed
Thiago Santos [Tue, 30 May 2017 05:47:10 +0000 (22:47 -0700)]
dashdemux: update manifest streams correctly if pads aren't exposed

In some cases, it is possible that we need to update the manifest before
pads have been exposed at all. If there are no current pads, just expose
the next prepared streams. This doesn't handle the case where a manifest
update would happen while a live streams is changing periods, which is a
type of use case that we're unaware of real usages yet.

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

6 years agodashdemux: Implement a default presentation delay
Edward Hervey [Tue, 30 May 2017 13:27:37 +0000 (15:27 +0200)]
dashdemux: Implement a default presentation delay

Have a fallback presentation delay is great (if not present in the
manifest), having an actual default value is better.

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

6 years agowaylandsink : update last_sample in paused state when signal_handoffs is set to zero 40/138340/3
Hyunil [Wed, 12 Jul 2017 01:40:42 +0000 (10:40 +0900)]
waylandsink : update last_sample in paused state when signal_handoffs is set to zero

Change-Id: I640d8f10d54c573a615d7b1126374ac5ad62c515
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
6 years agodirectsoundsrc: Properly pass pLockedBuffer by reference when calling IDirectSoundCap...
Philippe Renon [Mon, 10 Jul 2017 15:35:32 +0000 (17:35 +0200)]
directsoundsrc: Properly pass pLockedBuffer by reference when calling IDirectSoundCaptureBuffer_Lock

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

6 years agokmssink: Don't leak GEM primed from DMABuf
Nicolas Dufresne [Thu, 6 Jul 2017 21:20:56 +0000 (17:20 -0400)]
kmssink: Don't leak GEM primed from DMABuf

This otherwise breaks DMABuf reclaiming. This is not visible from
userspace, but inside the kernel, the DRM driver will hold a ref to the
DMABuf object. With a V4L2 driver allocating those DMABuf, it then
prevent changing the resolution and re-allocation new buffers.

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

6 years agoadaptivedemux: add streaming variant control 23/137523/2 accepted/tizen/4.0/unified/20170816.011529 accepted/tizen/4.0/unified/20170816.014749 accepted/tizen/4.0/unified/20170828.222334 accepted/tizen/unified/20170710.154318 submit/tizen/20170707.065345 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100005 submit/tizen_4.0_unified/20170814.115522
Eunhae Choi [Thu, 6 Jul 2017 08:04:57 +0000 (17:04 +0900)]
adaptivedemux: add streaming variant control

- add property to set max bandwidth/width/height limit
- add msg posting to share the current streaming variant

Change-Id: I9d58c3331a5cab6b2fc09a7b0cfdf25fb84a39be

6 years agomxfdemux: For intra-only streams, always output DTS=PTS
Sebastian Dröge [Wed, 5 Jul 2017 14:04:46 +0000 (17:04 +0300)]
mxfdemux: For intra-only streams, always output DTS=PTS

6 years agomxfdemux: Fix integer overflow in partition position comparison function
Sebastian Dröge [Wed, 5 Jul 2017 12:48:57 +0000 (15:48 +0300)]
mxfdemux: Fix integer overflow in partition position comparison function

6 years agomxfmetadata: Set field-order correctly for interlaced video
Sebastian Dröge [Wed, 5 Jul 2017 10:59:12 +0000 (13:59 +0300)]
mxfmetadata: Set field-order correctly for interlaced video

6 years agomxfmetadata: Use display width/height instead of stored width/height
Sebastian Dröge [Wed, 5 Jul 2017 10:52:25 +0000 (13:52 +0300)]
mxfmetadata: Use display width/height instead of stored width/height

Stored values contain padding and alignment, and should only be used as
fallback if neither display values nor sampled values exist.

6 years agomxfdemux: Don't include any KLV packets between header metadata and index table segme...
Sebastian Dröge [Tue, 4 Jul 2017 21:48:36 +0000 (00:48 +0300)]
mxfdemux: Don't include any KLV packets between header metadata and index table segments in calculations

Minor fixup of last commit.

6 years agomxfdemux: Allow filler and other KLV packets between index table segments
Sebastian Dröge [Tue, 4 Jul 2017 17:01:37 +0000 (20:01 +0300)]
mxfdemux: Allow filler and other KLV packets between index table segments

While only filler packets should be allowed, for good measure also skip
any other KLV packets in the range where there could be index table
segments.

This fixes parsing of partitions with multiple index table segments,
which are separated by a filler packet, or other packets.

6 years agomxfmux: Write temporal offset and correct keyframe offset into index table
Sebastian Dröge [Tue, 27 Jun 2017 12:01:22 +0000 (15:01 +0300)]
mxfmux: Write temporal offset and correct keyframe offset into index table

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

6 years agomxfdemux: Take temporal reordering from the index table into account
Sebastian Dröge [Tue, 27 Jun 2017 07:47:44 +0000 (10:47 +0300)]
mxfdemux: Take temporal reordering from the index table into account

This is needed to know the PTS, without that we only know the DTS and
using that also for the PTS is wrong unless we have an intra-only codec.

If we can't get the temporal reordering from the index table, don't set
any PTS for non-intra-only codecs and let decoders figure out something.

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

6 years agomxfdemux: Include duration in response to SEEKING query
Sebastian Dröge [Tue, 27 Jun 2017 12:41:48 +0000 (15:41 +0300)]
mxfdemux: Include duration in response to SEEKING query

6 years agoconfigure: Add --with-moc/uic/rcc options
Jan Schmidt [Wed, 21 Jun 2017 15:01:40 +0000 (01:01 +1000)]
configure: Add --with-moc/uic/rcc options

For cross-compiling, it's easier to be able to specify the
actual paths to the tools

6 years agottml: fix linking to libgstvideo
Tim-Philipp Müller [Mon, 3 Jul 2017 09:11:42 +0000 (10:11 +0100)]
ttml: fix linking to libgstvideo

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

6 years agovtenc: fix caps leak 73/136473/1
Eunhae Choi [Fri, 30 Jun 2017 02:08:34 +0000 (11:08 +0900)]
vtenc: fix caps leak

Change-Id: Id805bc620ff72b3fa113cd8e85d12e693493cf60

6 years agogl: reset gl->DrawBuffer to the necessary values
Matthew Waters [Wed, 28 Jun 2017 04:45:18 +0000 (14:45 +1000)]
gl: reset gl->DrawBuffer to the necessary values

GL_COLOR_ATTACHMENT0 when a framebuffer is bound
GL_BACK if no framebuffer is bound

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

6 years agoglmemory: reset the draw buffer to GL_BACK
Hyunjun Ko [Wed, 28 Jun 2017 03:17:37 +0000 (12:17 +0900)]
glmemory: reset the draw buffer to GL_BACK

The draw buffer should be reset to GL_BACK since the framebuffer is already
unbound.

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

6 years agoFix memory leak (wrong usage gst_caps_from_string) 79/135779/4
Gilbok Lee [Tue, 27 Jun 2017 05:50:03 +0000 (14:50 +0900)]
Fix memory leak (wrong usage gst_caps_from_string)

Change-Id: I8575e7aba0ea2e2ed9706e0a0e9a8ff16ab2ab45
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
6 years agoWaylandsink : Removing unsupported video formats from video caps of TIZEN 19/135319/1
Hyunil [Thu, 22 Jun 2017 01:10:02 +0000 (10:10 +0900)]
Waylandsink : Removing unsupported video formats from video  caps of TIZEN

Change-Id: I461c414be916e74caa50583447ff283bd9121b96
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
6 years agogl/cocoa: Put gstglwindow_cocoa.h into noinst_HEADERS again
Sebastian Dröge [Tue, 20 Jun 2017 16:19:51 +0000 (19:19 +0300)]
gl/cocoa: Put gstglwindow_cocoa.h into noinst_HEADERS again

And remove gstgldisplay_cocoa.h instead, which got moved to the
installed headers earlier.

6 years agoRelease 1.12.1
Sebastian Dröge [Tue, 20 Jun 2017 09:06:59 +0000 (12:06 +0300)]
Release 1.12.1

6 years agoUpdate .po files
Sebastian Dröge [Tue, 20 Jun 2017 08:24:55 +0000 (11:24 +0300)]
Update .po files

6 years agopo: Update translations
Sebastian Dröge [Tue, 20 Jun 2017 08:09:34 +0000 (11:09 +0300)]
po: Update translations

6 years agortph265depay : fix mem leak 85/134485/5
Eunhae Choi [Mon, 19 Jun 2017 01:55:58 +0000 (10:55 +0900)]
rtph265depay : fix mem leak

Change-Id: I6ed5269baca45d8ef2b11aa0647a65a72f33100f

6 years agodirectfb: fix mem leak 23/134423/3
Eunhae Choi [Fri, 16 Jun 2017 09:40:29 +0000 (18:40 +0900)]
directfb: fix mem leak

Change-Id: Id5069d045f280114a18dda098659a0096f8cb301

6 years agodvb: src: fix use of wrong array index for tune signal
Reynaldo H. Verdejo Pinochet [Fri, 16 Jun 2017 16:43:35 +0000 (09:43 -0700)]
dvb: src: fix use of wrong array index for tune signal

Erroneous value made "TUNE" overwrite "TUNNING_FAIL" ....

6 years agomxfdemux: Do not try to serialize unresolved metadatas
Thibault Saunier [Thu, 15 Jun 2017 18:13:14 +0000 (14:13 -0400)]
mxfdemux: Do not try to serialize unresolved metadatas

When retrieving the `mxfdemux.structure` property, it leads to an
assertion as metadatas need to be resolved for the call to
mxf_metadata_base_to_structure to be valid.

6 years agompegpsmux: fix mem leak 95/134395/1
Eunhae Choi [Fri, 16 Jun 2017 07:51:50 +0000 (16:51 +0900)]
mpegpsmux: fix mem leak

Change-Id: I6825deeac82524c18b666498a168707978e0ef80

6 years agoglupload: Fix DirectVIV uploader for formats with a single plane
Sebastian Dröge [Mon, 12 Jun 2017 19:29:01 +0000 (22:29 +0300)]
glupload: Fix DirectVIV uploader for formats with a single plane

We have to pass the "height" as height = vmeta->offset[1] / width to the
API, which of course does not work well for formats with only a single
plane. Use the whole memory size instead of the offset in that case.

7 years agoadaptivedemux: Clear "cancelled" on uridownloader before processing manifest
Seungha Yang [Sun, 4 Jun 2017 11:23:36 +0000 (20:23 +0900)]
adaptivedemux: Clear "cancelled" on uridownloader before processing manifest

Previous commit let demux call gst_uri_downloader_cancel() on _demux_reset().
Note that, _demux_reset() called during PAUSED_TO_READY and READY_TO_PAUSED.
And, it will set "cancelled" on uridownloader which blocks the use of
uridownloader. The issue is that, subclass can use the uridownloader not only
live streaming for manifest update, but also for fetching another manifests
such as variant and rendition m3u8 of hls streaming. So to unblock it,
demux should clear "cancelled" before processing initial manifest.

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

7 years agoadaptivedemux: release the manifest lock ...
Mathieu Duponchelle [Wed, 31 May 2017 00:46:01 +0000 (02:46 +0200)]
adaptivedemux: release the manifest lock ...

before broadcasting preroll.

The deadlock was as follows:

-> The subclass pushes a buffer on a newly-created stream in T1
-> We take the preroll lock in T1, to handle_preroll
-> The demuxer is stopped in T2, we take the MANIFEST_LOCK
-> T1 starts blocking because it received a reconfigure event
   and needs to take the MANIFEST_LOCK
-> T2 deadlocks because it now wants the preroll_lock.

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

7 years agoadaptivedemux: do not erase data while updates-loop is running
Thiago Santos [Tue, 30 May 2017 05:28:21 +0000 (22:28 -0700)]
adaptivedemux: do not erase data while updates-loop is running

Make sure the manifest update loop is stopped before proceeding with the
resetting of the manifest data. Otherwise, the updates loop will try to
use it and it leads to a segfault

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

7 years agompdparser: remove duplicate free of client data
Thiago Santos [Tue, 30 May 2017 05:26:09 +0000 (22:26 -0700)]
mpdparser: remove duplicate free of client data

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

7 years agoadaptivedemux: make sure to free all "old streams"
Mathieu Duponchelle [Wed, 31 May 2017 01:14:04 +0000 (03:14 +0200)]
adaptivedemux: make sure to free all "old streams"

As we release the MANIFEST_LOCK in stop_tasks,
demux->priv->old_streams can be set, we need to free these
otherwise we may end up trying to dispose elements in the
READY state.

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

7 years agodashdemux: Remove wrong assertion
Edward Hervey [Wed, 31 May 2017 08:58:39 +0000 (10:58 +0200)]
dashdemux: Remove wrong assertion

This is wrong because:
* If the rate is negative we should check for the *previous* period
* adaptivedemux already does the proper checks before calling this
  method

7 years agoadaptivedemux: Fix debugging message
Edward Hervey [Fri, 26 May 2017 15:30:10 +0000 (17:30 +0200)]
adaptivedemux: Fix debugging message

GstSegment position is a guint64 and not a gint64

CID #1409910

7 years agoadaptivedemux: Check live seeking range more often
Edward Hervey [Thu, 25 May 2017 07:48:53 +0000 (09:48 +0200)]
adaptivedemux: Check live seeking range more often

The live seeking range was only checked when doing actual seeks. This was
assuming that the rate would always be 1.0 (i.e. the playback would
advance in realtime, and therefore fragments would always be available
since the seeking window moves at the same rate).

With non-1.0 rates, this no longer becomes valid, and therefore we need
to check whether we are still within the live seeking range when advancing.

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

7 years agodashdemux: Initialize sidx_position to GST_CLOCK_TIME_NONE
Seungha Yang [Tue, 16 May 2017 14:20:44 +0000 (23:20 +0900)]
dashdemux: Initialize sidx_position to GST_CLOCK_TIME_NONE

If a manifest has non-zero presentation time offset
(i.e., earliest presentation time specified by sidx box is not zero),
the initial sidx position shouldn't be zero. Since we cannot define
exact sidx position until parsing sidx box, set the value to unknown.

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

7 years agoopencv: fix mem leak 44/133444/1
Eunhae Choi [Mon, 12 Jun 2017 08:34:08 +0000 (17:34 +0900)]
opencv: fix mem leak

Change-Id: Id26dc8effeed06a789bda89f95aa6aed663fc5ab

7 years agoopenjpegdec: fix display artifacts for RGB 8-bit
Aaron Boxer [Sat, 10 Jun 2017 11:56:48 +0000 (07:56 -0400)]
openjpegdec: fix display artifacts for RGB 8-bit

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

7 years agojpeg2000sampling: fix critical when sampling is missing from caps
Vincent Penquerc'h [Mon, 5 Jun 2017 14:31:52 +0000 (15:31 +0100)]
jpeg2000sampling: fix critical when sampling is missing from caps

This can happen with real files

7 years agoopenjpeg: guard against invalid memory access on crafted files
Vincent Penquerc'h [Wed, 7 Jun 2017 15:17:50 +0000 (16:17 +0100)]
openjpeg: guard against invalid memory access on crafted files

7 years agoFix up package name and origin in some plugins
Tim-Philipp Müller [Thu, 18 May 2017 09:58:20 +0000 (10:58 +0100)]
Fix up package name and origin in some plugins

7 years agomsdk: enc: set pts and dts, fix inverted sync_point flag
Scott D Phillips [Thu, 18 May 2017 17:36:50 +0000 (10:36 -0700)]
msdk: enc: set pts and dts, fix inverted sync_point flag

Set the pts and dts on the frame that we receive from the msdk.
Also fix the inverted logic in setting sync points, previously we
were marking all frames as sync points except IDRs.

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

7 years agoglutils: Fix GValue leak in gst_gl_value_set_texture_target_from_mask()
Jeremy Hiatt [Thu, 1 Jun 2017 01:15:05 +0000 (01:15 +0000)]
glutils: Fix GValue leak in gst_gl_value_set_texture_target_from_mask()

7 years agoMerge "Added gst.h for undefined symbol problem" into tizen accepted/tizen/unified/20170612.073933 submit/tizen/20170609.042751 submit/tizen/20170612.030425
eunhae choi [Fri, 9 Jun 2017 04:27:22 +0000 (04:27 +0000)]
Merge "Added gst.h for undefined symbol problem" into tizen

7 years agoAdded gst.h for undefined symbol problem 15/133115/1
Sejun Park [Fri, 9 Jun 2017 03:55:40 +0000 (12:55 +0900)]
Added gst.h for undefined symbol problem

Change-Id: I6793516a18871d932e3bf29010b89b02417d1833

7 years agoWaylandsink: Add plane_size info to tbm_surface for s/w codec output 62/133062/4
Hyunil [Fri, 9 Jun 2017 00:45:40 +0000 (09:45 +0900)]
Waylandsink: Add plane_size info to tbm_surface for s/w codec output
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Change-Id: I8579f88ea423dac399153ac66deb7e192cd0b154

7 years agoMerge "apply CVE patch for security weakness" into tizen accepted/tizen/unified/20170608.072424 submit/tizen/20170608.033315
eunhae choi [Thu, 8 Jun 2017 03:42:22 +0000 (03:42 +0000)]
Merge "apply CVE patch for security weakness" into tizen

7 years agoWaylandsink : Add SN21 video format 50/132750/1
Hyunil [Wed, 7 Jun 2017 10:38:52 +0000 (19:38 +0900)]
Waylandsink : Add SN21 video format

Change-Id: Icc7587b4c5aacf3d7d5f7380cdaaedf99075056f
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
7 years agoWaylandsink : Add plane size info to tbm_surface 87/132687/2
Hyunil [Wed, 7 Jun 2017 06:45:21 +0000 (15:45 +0900)]
Waylandsink : Add plane size info to tbm_surface

Change-Id: I042dc83f489bda38526a4b156c575f42eff4568a
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
7 years agoapply CVE patch for security weakness 97/132697/2
Sejun Park [Wed, 7 Jun 2017 07:18:10 +0000 (16:18 +0900)]
apply CVE patch for security weakness

Change-Id: Ie7c401f1424312e2e6c2193df990525d30439083