platform/upstream/gstreamer.git
2 years agogst-plugins-bad: Rename some definitions for TIZEN 12/270312/2
Sangchul Lee [Fri, 28 Jan 2022 02:28:01 +0000 (11:28 +0900)]
gst-plugins-bad: Rename some definitions for TIZEN

__TIZEN__ is renamed and deprecated.

Change-Id: Idcf8fd98c409eb52a61e4f8e7fbc16c92268b09a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agogst-plugins-bad/good: Add missing __TIZEN__ define to meson.build 83/270283/1
Sangchul Lee [Thu, 27 Jan 2022 10:57:18 +0000 (19:57 +0900)]
gst-plugins-bad/good: Add missing __TIZEN__ define to meson.build

Change-Id: Ic1d07e62b53972641d8a2bafe37f6e83c67e5a44
Signed-off-by: Sangchul Lee <sangchul1011@gmail.com>
2 years agoMerge branch 'upstream/1.19.3' into tizen_gst_1.19.3 79/270079/9
Gilbok Lee [Tue, 25 Jan 2022 06:53:05 +0000 (15:53 +0900)]
Merge branch 'upstream/1.19.3' into tizen_gst_1.19.3

- Make mono repo which includes all the gstreamer plugins
  in subprojects
- Remove unused subproject
- Add mono repo spec file
- Each plugin can be built by adding '--define' option as below
  --define "plugin base"
  if there is no define option, all the source code in
  subprojects will be built.

Change-Id: Ib99d0de6b5fb41f4235c302fbb79f76cb0087a60

2 years agoMove submodules to monorepo
Gilbok Lee [Tue, 25 Jan 2022 04:41:09 +0000 (13:41 +0900)]
Move submodules to monorepo

- Remove gstreamer-vaapi

Change-Id: Ifbff44d9cd9c204d27c099a9e5b4fd2fe3cbd24e

2 years agoMerge branch 'move_subdir_editing-services' into tizen_gst_1.19.2_mono
Gilbok Lee [Tue, 25 Jan 2022 04:35:20 +0000 (13:35 +0900)]
Merge branch 'move_subdir_editing-services' into tizen_gst_1.19.2_mono

Change-Id: Ie32b679f14b0dadca4dddf34914581167af5d127

2 years agoMerge remote-tracking branch 'gst-editing-services/tizen_gst_1.19.2' into tizen_gst_1...
Gilbok Lee [Tue, 25 Jan 2022 04:35:04 +0000 (13:35 +0900)]
Merge remote-tracking branch 'gst-editing-services/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono

Change-Id: I04394c2d29e5e0d5c3e3fdb904419648949ba6d6

2 years agoMerge branch 'move_subdir_rtsp-server' into tizen_gst_1.19.2_mono
Gilbok Lee [Tue, 25 Jan 2022 04:34:47 +0000 (13:34 +0900)]
Merge branch 'move_subdir_rtsp-server' into tizen_gst_1.19.2_mono

Change-Id: I15c0ddc678464e2c8b225170f51f9c0ff3aa10d0

2 years agoMerge remote-tracking branch 'gst-rtsp-server/tizen_gst_1.19.2' into tizen_gst_1...
Gilbok Lee [Tue, 25 Jan 2022 04:29:49 +0000 (13:29 +0900)]
Merge remote-tracking branch 'gst-rtsp-server/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono

Change-Id: I0fcdb9edab731fe771073c68b4275af2493dfa70

2 years agoMerge branch 'move_subdir_libav' into tizen_gst_1.19.2_mono
Gilbok Lee [Tue, 25 Jan 2022 04:29:32 +0000 (13:29 +0900)]
Merge branch 'move_subdir_libav' into tizen_gst_1.19.2_mono

Change-Id: Iedba2edd76d4d887783b3022d3b81c352b618109

2 years agoMerge remote-tracking branch 'gst-libav/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono
Gilbok Lee [Tue, 25 Jan 2022 04:29:20 +0000 (13:29 +0900)]
Merge remote-tracking branch 'gst-libav/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono

Change-Id: I316139d6ee94a6111cb0b2a0fc2c2ab7c969327e

2 years agoMerge branch 'move_subdir_omx' into tizen_gst_1.19.2_mono
Gilbok Lee [Tue, 25 Jan 2022 04:28:54 +0000 (13:28 +0900)]
Merge branch 'move_subdir_omx' into tizen_gst_1.19.2_mono

Change-Id: I5015f39e3d011618a4ef058737fde192dc2e5b92

2 years agoMerge remote-tracking branch 'gst-omx/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono
Gilbok Lee [Tue, 25 Jan 2022 04:28:10 +0000 (13:28 +0900)]
Merge remote-tracking branch 'gst-omx/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono

Change-Id: Ic71bfe88112119860cdb5e401aaca0d6ff519fd3

2 years agoMerge branch 'move_subdir_ugly' into tizen_gst_1.19.2_mono
Gilbok Lee [Tue, 25 Jan 2022 04:25:10 +0000 (13:25 +0900)]
Merge branch 'move_subdir_ugly' into tizen_gst_1.19.2_mono

Change-Id: Ifbf7ed41ee57c69d1e399a71ddce9fde680daa52

2 years agoMerge remote-tracking branch 'gst-plugins-ugly/tizen_gst_1.19.2' into tizen_gst_1...
Gilbok Lee [Tue, 25 Jan 2022 04:24:50 +0000 (13:24 +0900)]
Merge remote-tracking branch 'gst-plugins-ugly/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono

Change-Id: Ibc62d4c771f6bc644891599e645be4ca11dd66c1

2 years agoMerge branch 'move_subdir_bad' into tizen_gst_1.19.2_mono
Gilbok Lee [Tue, 25 Jan 2022 04:24:24 +0000 (13:24 +0900)]
Merge branch 'move_subdir_bad' into tizen_gst_1.19.2_mono

Change-Id: I019febb47e2753a393bbceec4ebd1327d265a656

2 years agoMerge remote-tracking branch 'gst-plugins-bad/tizen_gst_1.19.2' into tizen_gst_1...
Gilbok Lee [Tue, 25 Jan 2022 04:23:42 +0000 (13:23 +0900)]
Merge remote-tracking branch 'gst-plugins-bad/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono

Change-Id: I03acf8db9e43f5a5aae010a53b4fc2ddfab605b4

2 years agoMerge branch 'move_subdir_good' into tizen_gst_1.19.2_mono
Gilbok Lee [Tue, 25 Jan 2022 04:22:57 +0000 (13:22 +0900)]
Merge branch 'move_subdir_good' into tizen_gst_1.19.2_mono

Change-Id: I0cbd209497c9504ce21bc63b98d792a227f85ab8

2 years agoMerge remote-tracking branch 'gst-plugins-good/tizen_gst_1.19.2' into tizen_gst_1...
Gilbok Lee [Tue, 25 Jan 2022 04:22:44 +0000 (13:22 +0900)]
Merge remote-tracking branch 'gst-plugins-good/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono

Change-Id: Ic075d639fe00c24a6534f07f396f02f6fbbdbb0e

2 years agoMerge branch 'move_subdir_base' into tizen_gst_1.19.2_mono
Gilbok Lee [Tue, 25 Jan 2022 04:22:30 +0000 (13:22 +0900)]
Merge branch 'move_subdir_base' into tizen_gst_1.19.2_mono

Change-Id: I86f250af954c85db7a92face2c7e79f53673787f

2 years agoMerge remote-tracking branch 'gst-plugins-base/tizen_gst_1.19.2' into tizen_gst_1...
Gilbok Lee [Tue, 25 Jan 2022 04:21:51 +0000 (13:21 +0900)]
Merge remote-tracking branch 'gst-plugins-base/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono

Change-Id: I8019d28ceb5b9b25c316f777dce7787fda344556

2 years agoMerge branch 'move_subdir' into tizen_gst_1.19.2_mono
Gilbok Lee [Tue, 25 Jan 2022 04:21:26 +0000 (13:21 +0900)]
Merge branch 'move_subdir' into tizen_gst_1.19.2_mono

Change-Id: I6712b0965ca4ce5eb157ac1c26fd33b419498818

2 years agoMerge branch 'tizen' into tizen_gst_1.19.2
Jeongmo Yang [Fri, 21 Jan 2022 07:24:28 +0000 (16:24 +0900)]
Merge branch 'tizen' into tizen_gst_1.19.2

Change-Id: I40281f0aebdf537983a93bfa4d7d78f42860ba68
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 years agoRtsp: Set start position to Range general-header for PLAY, RESUME and seek for Player
Hyunil [Mon, 24 Jan 2022 06:37:54 +0000 (15:37 +0900)]
Rtsp: Set start position to Range general-header for PLAY, RESUME and seek for Player

Change-Id: Iec86b75ce50981eb843d306cfffe52b498df9506
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
2 years agogstinfo: Change definition name for enabling dlog 10/270010/1
Sangchul Lee [Mon, 24 Jan 2022 06:33:25 +0000 (15:33 +0900)]
gstinfo: Change definition name for enabling dlog

It is changed according to the meson.build option for Tizen.

Change-Id: I36b0cdbf76b3eab88bf271ca03965093923167c2
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoMerge branch 'upstream/1.19' into tizen_gst_1.19.2
Hyunsoo Park [Wed, 19 Jan 2022 08:45:53 +0000 (17:45 +0900)]
Merge branch 'upstream/1.19' into tizen_gst_1.19.2

Change-Id: I15fb3b678d79b5210e01a5b21b5ddf02c3e5ddab

2 years agoMerge branch 'tizen' into tizen_gst_1.19.2
Jeongmo Yang [Tue, 18 Jan 2022 05:21:34 +0000 (14:21 +0900)]
Merge branch 'tizen' into tizen_gst_1.19.2

Change-Id: If7f906d75af448d39ce3c53f82cb33a3feaf80cb
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 years agoSend seek event to baseparse when aacparse seek failed in push mode
Gilbok Lee [Mon, 17 Jan 2022 02:07:07 +0000 (11:07 +0900)]
Send seek event to baseparse when aacparse seek failed in push mode

Change-Id: Ifcbb545a3d68c110a5442db216ec23ead9a9ca26

2 years agoMove the defines from spec to meson.build
Gilbok Lee [Thu, 20 Jan 2022 07:18:40 +0000 (16:18 +0900)]
Move the defines from spec to meson.build

Change-Id: Ic5fa56be3dce0e8086d554264ca6ee622bb24c2e

2 years agoMove the defines from spec to meson.build
Gilbok Lee [Thu, 20 Jan 2022 06:26:12 +0000 (15:26 +0900)]
Move the defines from spec to meson.build

Change-Id: Icd30589c3f5318806b4f3708abc75ee0398b3a94

2 years agoMove the defines from spec to meson.build
Gilbok Lee [Thu, 20 Jan 2022 06:10:58 +0000 (15:10 +0900)]
Move the defines from spec to meson.build

Change-Id: I87e1dc60270aba0c3318bfea294c65771de982c1

2 years agoMove the defines from spec to meson.build
Gilbok Lee [Thu, 20 Jan 2022 05:30:54 +0000 (14:30 +0900)]
Move the defines from spec to meson.build

- Change file permission 755 to 644
- Remove white space

Change-Id: I4d27826eed80c5698dd30f0b989429af36cf4e9f

2 years agoMove the defines from spec to meson.build 55/269655/4
Gilbok Lee [Thu, 20 Jan 2022 01:15:56 +0000 (10:15 +0900)]
Move the defines from spec to meson.build

Change-Id: Ic7483b9b364186652edb075b6681a6992185bde2

2 years agoMerge branch 'tizen' into tizen_gst_1.19.2
Gilbok Lee [Wed, 19 Jan 2022 06:54:43 +0000 (15:54 +0900)]
Merge branch 'tizen' into tizen_gst_1.19.2

Change-Id: I3806ab340e71edb091ae34d7b2f9016d636454cb

2 years agowebrtc: Remove empty spaces and fix missing tizen codes
Sangchul Lee [Wed, 19 Jan 2022 06:45:21 +0000 (15:45 +0900)]
webrtc: Remove empty spaces and fix missing tizen codes

Change-Id: I2c5e95531f944089e9003add5fe2a663394f7096
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoMerge branch 'tizen' into tizen_gst_1.19.2
Gilbok Lee [Wed, 19 Jan 2022 01:50:15 +0000 (10:50 +0900)]
Merge branch 'tizen' into tizen_gst_1.19.2

Change-Id: I4cebef33eadb3e868c122c1d09a70fb4afbfecb9

2 years agoMerge branch 'tizen' into 'tizen_gst_1.19.2'
Eunhye Choi [Mon, 17 Jan 2022 19:48:34 +0000 (04:48 +0900)]
Merge branch 'tizen' into 'tizen_gst_1.19.2'

Change-Id: I55b6ae1068fdcf7cad6d59825271d4e2a34bc024

2 years agoMerge branch 'tizen' into tizen_gst_1.19.2
Eunhye Choi [Mon, 17 Jan 2022 18:37:57 +0000 (03:37 +0900)]
Merge branch 'tizen' into tizen_gst_1.19.2

Change-Id: I1eb8ccf3e811415df3c7828ebafc22d5dabe6a7f

2 years agoModify feature name
Jeongmo Yang [Mon, 17 Jan 2022 11:24:51 +0000 (20:24 +0900)]
Modify feature name

- Minor change
 : Remove unused feature. (LIBAV_RANK_MODIFICATION)

[Version] 1.16.2-3
[Issue Type] Update

Change-Id: Ib4766b7ac7b1848a32972f91e6fdb7194458e958
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 years agoMerge branch 'tizen' into tizen_gst_1.19.2
Gilbok Lee [Mon, 17 Jan 2022 05:10:42 +0000 (14:10 +0900)]
Merge branch 'tizen' into tizen_gst_1.19.2

Change-Id: I904018a26020868a46b46717571e6786b0362697

2 years agofix tv profile option bug
Eunhye Choi [Thu, 13 Jan 2022 14:09:08 +0000 (23:09 +0900)]
fix tv profile option bug

Change-Id: Ibdb6db6df54241508910f4345d434534f9719f22

2 years agoapply meson option and fix build error 98/269298/3
Eunhye Choi [Wed, 12 Jan 2022 20:57:38 +0000 (05:57 +0900)]
apply meson option and fix build error

- apply meson option
- fix packaging error
- .gbs.conf will be applied after

Change-Id: Ic53c05c010f88e43500fbd09334f0d12f1a38aa5

2 years agoMerge remote-tracking branch 'upstream/master' into tizen
Gilbok Lee [Wed, 12 Jan 2022 05:31:00 +0000 (14:31 +0900)]
Merge remote-tracking branch 'upstream/master' into tizen

Change-Id: If3cf3c18b851741dcaec1b5a01796b7ba12242bc

2 years agohlsdemux: Reset m3u8 sequence when fail three times to get next fragment
Gilbok Lee [Thu, 6 Jan 2022 05:21:25 +0000 (14:21 +0900)]
hlsdemux: Reset m3u8 sequence when fail three times to get next fragment

- When media sequence of m3u8 decreases on live stream, fail to get next fragment

Change-Id: Iaae7ba7cf3439fcca5155e9cc7f3a1a95e85909e

2 years agoext/cairo: pack gstcairo plugin in default
Inki Dae [Fri, 17 Dec 2021 02:57:50 +0000 (11:57 +0900)]
ext/cairo: pack gstcairo plugin in default

Native applications which use GStreamer API need gst cairo plugin
library to draw graphic primitives on Cairo surface. So pack gst cario
plugin library in default.

Change-Id: I152eb1407448794892942d9c77ebb1dce4f7d78a
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agowebrtcbin: Add drop-probability-receiver property
Sangchul Lee [Fri, 17 Dec 2021 06:03:57 +0000 (15:03 +0900)]
webrtcbin: Add drop-probability-receiver property

If netsim property is enabled, this property can be set to simulate
loss of being received RTP packets.

Change-Id: I4f229d41f40e649bdefffd48827f6f7172401741
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agowebrtcbin: Add netsim and drop-probability-sender properties
Sangchul Lee [Thu, 16 Dec 2021 11:31:57 +0000 (20:31 +0900)]
webrtcbin: Add netsim and drop-probability-sender properties

These properties are added to simulate loss of sending RTP packets.

Change-Id: Ia633a32a902d6322189d1b0c033a3a15bdbc4e9d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agowebrtcbin: Fix invalid structure type
Sangchul Lee [Fri, 17 Dec 2021 02:25:31 +0000 (11:25 +0900)]
webrtcbin: Fix invalid structure type

It also fix a build warning.

Change-Id: I4eebaa9c04ee20b85bb04a21f4c5464d58329e54
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agohlsdemux: update segment with valid pos info
Eunhye Choi [Fri, 17 Dec 2021 05:48:35 +0000 (14:48 +0900)]
hlsdemux: update segment with valid pos info

- add checking stream type to update segment position
- vtt stream is not proper to construct segment

Change-Id: Ibbdd91c6d75573afd708dc210dac20286290c3be

2 years agoUse g_memdup2() where available and add fallback for older GLib versions 33/267933/1 accepted/tizen/unified/20211222.230738 submit/tizen/20211212.233427
Doug Nazar [Fri, 23 Apr 2021 16:12:58 +0000 (12:12 -0400)]
Use g_memdup2() where available and add fallback for older GLib versions

glib 2.68 deprecates g_memdup(). Replace with g_memdup2() and
add fallback if compiling against older versions, since we
want to avoid deprecation warnings.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/803>

Change-Id: I1adcb816a0cc48003200b46c08d2d58985a79b59
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 years ago[rtsp-mediafa-factory] Remove g_strdup of no use and add g_autofree
Hyunsoo Park [Fri, 10 Dec 2021 07:25:52 +0000 (16:25 +0900)]
[rtsp-mediafa-factory] Remove g_strdup of no use and add g_autofree

Change-Id: I0aacbccb733da1eeb4a5d56450e22670c7284cfb
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agosubparse: Add drop-out-of-segment property
Gilbok Lee [Wed, 1 Dec 2021 00:34:36 +0000 (09:34 +0900)]
subparse: Add drop-out-of-segment property

- When property 'drop-out-of-segment' is set to false,
  subparser will not drop the buffer even
  the start time of the parsed buffer is out of the segment.

Change-Id: Ia7d84ad26c2e93cda46778c86d35bd67442e907b

2 years agompegtsdemux: activate new stream when program update
Gilbok Lee [Wed, 1 Dec 2021 04:55:42 +0000 (13:55 +0900)]
mpegtsdemux: activate new stream when program update

Change-Id: If8f299f90e181d47579f143e9671d488f0b2dbe6

2 years agortsp-media-factory-wfd: Fix memory leak
Hyunsoo Park [Tue, 30 Nov 2021 07:31:01 +0000 (16:31 +0900)]
rtsp-media-factory-wfd: Fix memory leak

Change-Id: Ibd32fcbec6e86b2e654e8781d6ee7a0c768aacc2
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agohlsdemux: fix block issue if webvtt data is empty
Eunhye Choi [Mon, 29 Nov 2021 07:09:19 +0000 (16:09 +0900)]
hlsdemux: fix block issue if webvtt data is empty

- send webvtt dummy buffer to avoid block and
  expose all the hlsdemux pad normally

Change-Id: I5ff48c4498752353ca4fd985a73df0c9bbe914f2

2 years agosubparse: Calcurate buffer pts using timestamp map for HLS webvtt
Gilbok Lee [Wed, 24 Nov 2021 10:28:03 +0000 (19:28 +0900)]
subparse: Calcurate buffer pts using timestamp map for HLS webvtt

- parsing error occurs due to out of segment

Change-Id: Ib7945d1d3e64ed2568df94c77436444117fb9ea5

2 years agosubparse: Send custom event for fragment_timestamp
Gilbok Lee [Wed, 24 Nov 2021 00:33:17 +0000 (09:33 +0900)]
subparse: Send custom event for fragment_timestamp

- If there is no buffer in case of discontinuous,
  do not send reference timestamp.
- related commit: d4e6aa89f86efbc9cc665f2ee123a33015f1449a
  'subparse: Add reference timestamp meta in GstBuffer for HLS webvtt' commit

Change-Id: Id98697ba6db1dc94b4ce4f753670524f6fcf506e

2 years agopulsesink: Revise condition to set mute in the initial stage
Sangchul Lee [Mon, 22 Nov 2021 04:49:39 +0000 (13:49 +0900)]
pulsesink: Revise condition to set mute in the initial stage

If gst_pulseringbuffer_acquire() is called after _release() due
to any reason (e.g. caps changes), mute was not applied properly
with the current value. It is now fixed.

Note that the condition is slightly changed from upstream codes
especially on the mute_set variable.

Change-Id: I7b81160d12f30fbf1e872212b051adafeb2c50aa
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agosubparse: Add reference timestamp meta in GstBuffer for HLS webvtt
Gilbok Lee [Sat, 20 Nov 2021 06:39:08 +0000 (15:39 +0900)]
subparse: Add reference timestamp meta in GstBuffer for HLS webvtt

- When discontinuous buffer come in during HLS,
  send the input buffer pts to the reference timestamp meta data
- The reference timetamp meta data is added with the input buffer pts
  to synchronize with the mpeg ts stream

Change-Id: I5ff5b9523b44323f1d6aa37133e5341505d4ce55

2 years agohlsdemux: set discont. only at start fragment
Eunhye Choi [Sat, 20 Nov 2021 05:45:31 +0000 (14:45 +0900)]
hlsdemux: set discont. only at start fragment

- discont have to be set in case of start fragment
  to update pts correctly.

Change-Id: I482dd48012b8dc76d54e97b91e83b3083ad81d5b

2 years agotsdemux: update pmt info
Eunhye Choi [Wed, 17 Nov 2021 12:00:30 +0000 (21:00 +0900)]
tsdemux: update pmt info

- to handle new pmt as psi,
  the pmt info have to be removed from the previous pes list

Change-Id: Ibd7df6f945287cb8f1ca8e9b6c6f71c07a3dc486

2 years agofixup! webrtcbin: Remove transceiver from array when releasing pad
Sangchul Lee [Wed, 17 Nov 2021 08:08:54 +0000 (17:08 +0900)]
fixup! webrtcbin: Remove transceiver from array when releasing pad

Change-Id: Idd611bc2f66adf24abc51ae0ef0b000adbe8f48c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agowebrtcbin: Notify missing ice-gathering-state for COMPLETE
Sangchul Lee [Fri, 29 Oct 2021 06:45:18 +0000 (15:45 +0900)]
webrtcbin: Notify missing ice-gathering-state for COMPLETE

Occasionally, GATHERING_STATE_COMPLETE was obtained in _update_ice_
gathering_state_task() before consuming all the tasks for local ICE
candidates in _on_local_ice_candidate_task(). It missed notifying the
'ice-gathering-state' signal for gathering completion.
This patch fixes it.

Change-Id: Ie0a997e6976f48b876cb0741f488826a0c172116
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agohlsdemux: Add condition for setting stream discontinuity
Gilbok Lee [Tue, 16 Nov 2021 01:14:04 +0000 (10:14 +0900)]
hlsdemux: Add condition for setting stream discontinuity

- Set stream continuity when fragment time changes
- Change in the wrong define in the spec

Change-Id: I592f4cd915c2d186462f771714de797c4b424521

2 years agohlsdemux: Set stream discontinuity when the last PCR value differs by more than 1...
Gilbok Lee [Fri, 12 Nov 2021 05:45:42 +0000 (14:45 +0900)]
hlsdemux: Set stream discontinuity when the last PCR value differs by more than 1 second

Change-Id: I1747f7485c9f2eabae67f6f17e11005715a1a081

2 years agotsdemux: Handle invalid PCR_PID streams
Gilbok Lee [Fri, 12 Nov 2021 03:38:50 +0000 (12:38 +0900)]
tsdemux: Handle invalid PCR_PID streams

- If pcr_pid stream does not have PCR,
  find PCR in all streams and update the program PCR_pid

Change-Id: I53c7fcfc8c405eb9ff162d52000d56d7e9cf3bfb

2 years agoRelease 1.19.3 1.19.3
Tim-Philipp Müller [Wed, 3 Nov 2021 15:43:36 +0000 (15:43 +0000)]
Release 1.19.3

2 years agoUpdate ChangeLogs for 1.19.3
Tim-Philipp Müller [Wed, 3 Nov 2021 15:43:32 +0000 (15:43 +0000)]
Update ChangeLogs for 1.19.3

2 years agoqtdemux: Determine duration with reference to track header duration
Gilbok Lee [Wed, 3 Nov 2021 06:30:32 +0000 (15:30 +0900)]
qtdemux: Determine duration with reference to track header duration

- The maximum value of the duration of each tkhd is decided with the total duration.

Change-Id: I8a88cd63ed58ce6677b70943d71ee5df8bfa2013

2 years agoci: Do not clone in the trigger job
Nicolas Dufresne [Tue, 2 Nov 2021 20:09:52 +0000 (16:09 -0400)]
ci: Do not clone in the trigger job

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1298>

2 years agomultifilesink: Make minimum distance between keyframes in next-file=key-frame mode...
Sebastian Dröge [Tue, 2 Nov 2021 14:46:08 +0000 (16:46 +0200)]
multifilesink: Make minimum distance between keyframes in next-file=key-frame mode configurable

Previously this was hardcoded to 10s, which is not necessarily the
desired behaviour.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1292>

2 years agoqtmux: Fix deadlock in gst_qt_mux_prepare_moov_recovery
Erlend Eriksen [Mon, 1 Nov 2021 15:32:10 +0000 (16:32 +0100)]
qtmux: Fix deadlock in gst_qt_mux_prepare_moov_recovery

Regression from 5766731bd4200c3a374522a749386f740347661a

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1288>

2 years agoegl: handle configless contexts
Matthias Clasen [Mon, 1 Nov 2021 19:48:58 +0000 (15:48 -0400)]
egl: handle configless contexts

With EGL_KHR_no_config_context, EGL contexts may just not
have an EGLConfig to give you. Deal with it.

Fixes: #858
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1289>

2 years agoexamples: win32-videooverlay-playbin: Add a repeat option
Seungha Yang [Fri, 29 Oct 2021 16:55:38 +0000 (01:55 +0900)]
examples: win32-videooverlay-playbin: Add a repeat option

... in order to test pipeline/element reuse cases.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1275>

2 years agocodecs: mpeg2: Drain before a new_sequence get signalled
Nicolas Dufresne [Tue, 2 Nov 2021 13:40:43 +0000 (09:40 -0400)]
codecs: mpeg2: Drain before a new_sequence get signalled

The decoder may need to re-allocate the output buffer, it is easier if all
pictured have been outputed.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1013>

2 years agov4l2codecs: gstv4l2codecsmpeg2dec: implement a render delay
Daniel Almeida [Thu, 8 Apr 2021 19:24:49 +0000 (16:24 -0300)]
v4l2codecs: gstv4l2codecsmpeg2dec: implement a render delay

The v4l2 backend support delayed output for performance reasons.
It is then possible to use render delays to queue multiple requests
simultaneously, thus increasing performance.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1013>

2 years agocodecs: gstmpeg2decoder: add support for render delay
Daniel Almeida [Thu, 8 Apr 2021 19:07:23 +0000 (16:07 -0300)]
codecs: gstmpeg2decoder: add support for render delay

Some decoding APIs support delayed output for performance reasons.
One example would be to request decoding for multiple frames and
then query for the oldest frame in the output queue.
This also increases throughput for transcoding and improves seek
performance when supported by the underlying backend.

Introduce support in the mpeg2 base class, so that backends that
support render delays can actually implement it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1013>

2 years agov4l2codecs: Implement a MPEG2 V4L2 decoder element
Daniel Almeida [Tue, 6 Apr 2021 19:40:28 +0000 (16:40 -0300)]
v4l2codecs: Implement a MPEG2 V4L2 decoder element

Implement a MPEG2 V4L2 decoder element based on the previous h264
implementation.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1013>

2 years agov4l2codecs: mpeg2: update to the new uAPI
Daniel Almeida [Tue, 6 Apr 2021 19:42:54 +0000 (16:42 -0300)]
v4l2codecs: mpeg2: update to the new uAPI

The mpeg2 stateless api has undergone changes as it is being
destage. Update the v4l2-controls header to match.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1013>

2 years agosys: va: GstVaMpeg2Dec: use slice sc_offset and size
Daniel Almeida [Fri, 26 Mar 2021 18:52:21 +0000 (15:52 -0300)]
sys: va: GstVaMpeg2Dec: use slice sc_offset and size

Seeing as how GstMpeg2Slice will now record the start code offset
as well as its size with the above field taken into account, the
manual computation in this class is not needed.

Remove it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1013>

2 years agocodecs: GstMpeg2Slice: add field for sc_offset and size
Daniel Almeida [Fri, 26 Mar 2021 18:31:51 +0000 (15:31 -0300)]
codecs: GstMpeg2Slice: add field for sc_offset and size

Downstream might need the start code offset when decoding.

Previously this computation would be scattered in multiple sites. This
is error prone, so move it to the base class. Subclasses can access
slice->sc_offset directly without computing the address themselves
knowing that the size will also take the start code into account.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1013>

2 years agov4l2codecs: Handle allocator creation failure
James Cowgill [Wed, 20 Oct 2021 11:11:49 +0000 (12:11 +0100)]
v4l2codecs: Handle allocator creation failure

If `VIDIOC_REQBUFS` doesn't return enough buffers the allocator creation
function can fail and return `NULL`. Handle this by generating an error
and returning instead of segfaulting.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1220>

2 years agov4l2codecs: Fix segfault when destroying non-detached allocator
James Cowgill [Wed, 20 Oct 2021 11:08:49 +0000 (12:08 +0100)]
v4l2codecs: Fix segfault when destroying non-detached allocator

The GstV4l2CodecAllocator dispose function clears `self->decoder` but
the finalize function then tries to use it if the allocator has no been
detached yet.

Fix by detaching in the dispose function before we clear
`self->decoder`.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1220>

2 years agore-add gst-plugins-rs.wrap
Guillaume Desmottes [Tue, 2 Nov 2021 09:14:28 +0000 (10:14 +0100)]
re-add gst-plugins-rs.wrap

It's been lost during the monorepo migration.

Note that building Rust plugins as a subproject is currently broken,
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/171
but I'm going to fix that.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1290>

2 years agoalphacombine: use the same allocation query data for both decoders
Julian Bouzas [Fri, 29 Oct 2021 20:08:20 +0000 (16:08 -0400)]
alphacombine: use the same allocation query data for both decoders

This allows downstream elements to set allocation query parameters for both
decoders, which should be always the same.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1277>

2 years agoapplemedia: Add ARGB64_BE, RGBA64_LE support to vtenc/vtdec
Nirbheek Chauhan [Sun, 31 Oct 2021 08:13:40 +0000 (13:43 +0530)]
applemedia: Add ARGB64_BE, RGBA64_LE support to vtenc/vtdec

We can add this now that ARGB64_BE videoconvert support was added in:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1247

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1214>

2 years agovtenc: Add FieldDetail properties for interlaced input
Nirbheek Chauhan [Tue, 19 Oct 2021 20:49:33 +0000 (02:19 +0530)]
vtenc: Add FieldDetail properties for interlaced input

Standard interlace handling:
* If we have interlace-mode=interleaved and the field order, we just
  set it when creating the session
* If we have interlace-mode=(interleaved|mixed) and no field order, we
  set the field order on the first buffer

The encoder session does not support changing the FieldDetail after it
has started encoding frames, so we cannot support mixed streams
correctly.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1214>

2 years agovtenc: Add a property to forcibly ignore alpha values
Nirbheek Chauhan [Tue, 19 Oct 2021 20:19:29 +0000 (01:49 +0530)]
vtenc: Add a property to forcibly ignore alpha values

This PropertyKey is not documented in any headers anywhere, so we need
to define it ourselves.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1214>

2 years agovtenc: Set colorimetry information
Nirbheek Chauhan [Tue, 19 Oct 2021 18:23:39 +0000 (23:53 +0530)]
vtenc: Set colorimetry information

It looks like VideoToolbox doesn't support all our colorimetries.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1214>

2 years agoapplemedia: Add ProRes support to vtenc and vtdec
Nirbheek Chauhan [Sun, 17 Oct 2021 13:24:10 +0000 (18:54 +0530)]
applemedia: Add ProRes support to vtenc and vtdec

For vtdec, we continue to prefer NV12; else we pick whatever
downstream wants. In the special case where we're decoding 10-bit or
12-bit ProRes formats, we will prefer AYUV64.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1214>

2 years agovtenc: Improve error reporting in chain function
Nirbheek Chauhan [Sun, 17 Oct 2021 13:49:15 +0000 (19:19 +0530)]
vtenc: Improve error reporting in chain function

Otherwise it is quite difficult to figure out why the chain function
failed. Also assert not reached for case statements that should not be
hit.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1214>

2 years agovtdec: Remove dead code in switch statement
Nirbheek Chauhan [Thu, 14 Oct 2021 06:44:49 +0000 (12:14 +0530)]
vtdec: Remove dead code in switch statement

We never advertise these formats, so these cases will never be hit.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1214>

2 years ago[effectv] Enable effectv for Media Editing FW
Haesu Gwon [Mon, 1 Nov 2021 08:28:54 +0000 (17:28 +0900)]
[effectv] Enable effectv for Media Editing FW

Change-Id: I8f0920bb96f3b93eb60f61052a54d5a0c80414ea

2 years agomediatype-video-raw: add ARGB64_LE/BE and variants
Piotrek Brzeziński [Sun, 31 Oct 2021 19:20:08 +0000 (20:20 +0100)]
mediatype-video-raw: add ARGB64_LE/BE and variants

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1286>

2 years agoAllow Strawberry Perl on Windows with Meson >= 0.60.0
Xavier Claessens [Thu, 28 Oct 2021 14:09:21 +0000 (10:09 -0400)]
Allow Strawberry Perl on Windows with Meson >= 0.60.0

Meson now explicitly blacklists pkg-config.bat from Strawberry Perl and
thus building GStreamer on Windows has been fixed.

This allows for instance to build GStreamer on GitHub Action Windows
runners that have Strawberry Perl by default.

It is also useful when needing to build OpenSSL on the same Windows
machine because it requires Perl.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1263>

2 years agovideo: Fix order of new video formats
Sebastian Dröge [Sat, 30 Oct 2021 13:22:39 +0000 (16:22 +0300)]
video: Fix order of new video formats

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1282>

2 years agobase: Fix some annotations
Sebastian Dröge [Sat, 30 Oct 2021 12:50:30 +0000 (15:50 +0300)]
base: Fix some annotations

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1281>

2 years agoCouple more g_memdup() -> g_memdup2() fixes
Tim-Philipp Müller [Fri, 29 Oct 2021 23:58:55 +0000 (00:58 +0100)]
Couple more g_memdup() -> g_memdup2() fixes

Fixes deprecation warnings with newer GLib versions.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1279>

2 years agodtls: don't use deprecated g_binding_get_source() with newer GLib versions
Tim-Philipp Müller [Fri, 29 Oct 2021 23:52:42 +0000 (00:52 +0100)]
dtls: don't use deprecated g_binding_get_source() with newer GLib versions

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1279>

2 years agoUse g_pattern_spec_match() instead of g_pattern_match() which is deprecated since...
Tim-Philipp Müller [Fri, 29 Oct 2021 23:34:35 +0000 (00:34 +0100)]
Use g_pattern_spec_match() instead of g_pattern_match() which is deprecated since glib 2.70

Fixes compiler warnings with glib 2.70

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1279>

2 years agocodecs: h265decoder: Fix per-slice leak
Seungha Yang [Fri, 29 Oct 2021 16:41:51 +0000 (01:41 +0900)]
codecs: h265decoder: Fix per-slice leak

As documented, slice header parsed via gst_h265_parser_parse_slice_hdr()
should be cleared, otherwise it would result in memory leak.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1274>