platform/upstream/gstreamer.git
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 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 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 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 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 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 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 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 agowebrtcbin: Remove transceiver from array when releasing pad
Sangchul Lee [Fri, 15 Oct 2021 03:07:47 +0000 (12:07 +0900)]
webrtcbin: Remove transceiver from array when releasing pad

Previously, even after releasing a pad, 'create-offer' could not
get valid sdp message. It is fixed.

Change-Id: I21120e5a4064f0c51cdf6dce88f51079592f5161
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agodecodebin3: Avoid overriding explicit user selection
Eunhye Choi [Tue, 28 Sep 2021 07:08:28 +0000 (16:08 +0900)]
decodebin3: Avoid overriding explicit user selection

In case the user set a list of streams to select or answer explicitly
to all 'select-stream' event, we should respect the choice and not
try to add a stream per type.

related upstream commit :
b41b87522f59355bb21c001e9e2df96dc6956928
c9c93339fbd2d37f1ddfd054f7f9e26bce6df743
40fde5fcad0bcdb5429d7bf573690cfe55fc79c8

Change-Id: I63b75bb02fbe40392ae3edbf83a9830d7b606437

2 years agoMove files from gst-plugins-ugly into the "subprojects/gst-plugins-ugly/" subdir
Thibault Saunier [Fri, 24 Sep 2021 19:14:45 +0000 (16:14 -0300)]
Move files from gst-plugins-ugly into  the "subprojects/gst-plugins-ugly/" subdir

2 years agoMerging gst-plugins-ugly
Thibault Saunier [Fri, 24 Sep 2021 19:14:42 +0000 (16:14 -0300)]
Merging gst-plugins-ugly

2 years agoMove files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir
Thibault Saunier [Fri, 24 Sep 2021 19:14:36 +0000 (16:14 -0300)]
Move files from gst-plugins-bad into  the "subprojects/gst-plugins-bad/" subdir

2 years agoMerging gst-plugins-bad
Thibault Saunier [Fri, 24 Sep 2021 19:14:03 +0000 (16:14 -0300)]
Merging gst-plugins-bad

2 years agoMove files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir
Thibault Saunier [Fri, 24 Sep 2021 19:13:50 +0000 (16:13 -0300)]
Move files from gst-plugins-good into  the "subprojects/gst-plugins-good/" subdir

2 years agoMerging gst-plugins-good
Thibault Saunier [Fri, 24 Sep 2021 19:13:37 +0000 (16:13 -0300)]
Merging gst-plugins-good

2 years agoMove files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir
Thibault Saunier [Fri, 24 Sep 2021 19:13:26 +0000 (16:13 -0300)]
Move files from gst-plugins-base into  the "subprojects/gst-plugins-base/" subdir

2 years agoMerging gst-plugins-base
Thibault Saunier [Fri, 24 Sep 2021 19:13:17 +0000 (16:13 -0300)]
Merging gst-plugins-base

2 years agoMove files from gstreamer into the "subprojects/gstreamer/" subdir
Thibault Saunier [Fri, 24 Sep 2021 19:13:07 +0000 (16:13 -0300)]
Move files from gstreamer into  the "subprojects/gstreamer/" subdir

2 years agoRelease 1.19.2
Tim-Philipp Müller [Thu, 23 Sep 2021 00:36:02 +0000 (01:36 +0100)]
Release 1.19.2

2 years agoRelease 1.19.2
Tim-Philipp Müller [Thu, 23 Sep 2021 00:34:47 +0000 (01:34 +0100)]
Release 1.19.2

2 years agoRelease 1.19.2
Tim-Philipp Müller [Thu, 23 Sep 2021 00:34:00 +0000 (01:34 +0100)]
Release 1.19.2

2 years agoRelease 1.19.2
Tim-Philipp Müller [Thu, 23 Sep 2021 00:33:39 +0000 (01:33 +0100)]
Release 1.19.2

2 years agoRelease 1.19.2
Tim-Philipp Müller [Thu, 23 Sep 2021 00:33:08 +0000 (01:33 +0100)]
Release 1.19.2

2 years agoRelease 1.19.2
Tim-Philipp Müller [Thu, 23 Sep 2021 00:32:32 +0000 (01:32 +0100)]
Release 1.19.2

2 years agoaudiobuffersplit: Remove unneeded buffer_clip wrapper
Nicolas Dufresne [Wed, 22 Sep 2021 18:17:35 +0000 (14:17 -0400)]
audiobuffersplit: Remove unneeded buffer_clip wrapper

This is just a small cleanup noticed while reading.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2544>

2 years agoopencv: cvtracker: add draw property
Vivek R [Fri, 10 Jul 2020 14:01:13 +0000 (19:31 +0530)]
opencv: cvtracker: add draw property

This property controls the drawing of rectangle around the tracked object.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2454>

2 years agoopencv: add cvtracker plugin
Vivek R [Sun, 24 May 2020 18:07:25 +0000 (23:37 +0530)]
opencv: add cvtracker plugin

This adds an object tracker plugin.
Tracker implementations from https://docs.opencv.org/3.4/d0/d0a/classcv_1_1Tracker.html

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2454>

2 years agoopencv: patch to ensure headers are detected
Vivek R [Mon, 25 May 2020 05:05:30 +0000 (10:35 +0530)]
opencv: patch to ensure headers are detected

This patch is used to ensure opencv headers are detected.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2454>

2 years agortph263pdepay: flag keyframes on output buffers
Tim-Philipp Müller [Wed, 22 Sep 2021 13:03:57 +0000 (14:03 +0100)]
rtph263pdepay: flag keyframes on output buffers

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1091>

2 years agoclocksync: Add some debug output to the clock waiting code
Sebastian Dröge [Wed, 23 Jun 2021 13:41:20 +0000 (16:41 +0300)]
clocksync: Add some debug output to the clock waiting code

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

2 years agompegtsmux, mpegpsmux: remove GPL from choice of licenses and add SPDX license identifiers
Tim-Philipp Müller [Sun, 19 Sep 2021 00:18:00 +0000 (01:18 +0100)]
mpegtsmux, mpegpsmux: remove GPL from choice of licenses and add SPDX license identifiers

Some people need to avoid inclusion of GPL code for their use cases and thus
get easily spooked by GPL license headers. This code is actually licensed
under different licenses, only one of which is GPL, and it's already possible
to just upgrade from LGPL to GPL anyway so having the GPL listed explicitly
as one of the choices doesn't really add anything. So remove GPL from the list
and also add SPDX license identifiers while we're at it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2539>

2 years agopbutils: codec-utils: fix g-ir-scanner warning
Tim-Philipp Müller [Tue, 21 Sep 2021 21:39:46 +0000 (22:39 +0100)]
pbutils: codec-utils: fix g-ir-scanner warning

Warning: GstPbutils: gst_codec_utils_h264_get_profile_flags_level:
unknown parameter 'codec_data' in documentation comment, should be 'codecs_data

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

2 years agowasapideviceprovider: Add support for dynamic device add/remove
Seungha Yang [Mon, 23 Aug 2021 18:54:27 +0000 (03:54 +0900)]
wasapideviceprovider: Add support for dynamic device add/remove

Adding IMMDeviceEnumerator::RegisterEndpointNotificationCallback
in order to support device monitoring.
On OnDeviceAdded(), OnDeviceRemoved(), and OnDefaultDeviceChanged()
callback, wasapi device provider implementation will enumerate
devices again and will notify newly added and removed device
via GstDeviceProvider API.

As a bonus point, this IMMDeviceEnumerator abstraction object
will spawn a dedicated internal COM thread, so various COM thread
related issues of WASAPI plugin can be resolved by this commit.

Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1649
Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1110
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2484>

2 years agox264enc: Strip trailing whitespace from x264's log messages
Jan Alexander Steffens (heftig) [Tue, 21 Sep 2021 13:05:58 +0000 (15:05 +0200)]
x264enc: Strip trailing whitespace from x264's log messages

x264 has linebreaks at the end of its log messages that we should
ignore.

Add G_GNUC_PRINTF to the callback to make sure GCC lets us forward the
format string to another function marked as printf (g_strdup_vprintf)
without triggering -Wformat-nonliteral.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/85>

2 years agox264enc: Add the func/line info to the log callback
Jan Alexander Steffens (heftig) [Tue, 21 Sep 2021 12:57:29 +0000 (14:57 +0200)]
x264enc: Add the func/line info to the log callback

It looks awkward when it's missing. At least point us at the callback
function.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/85>

2 years agox264enc: Reduce log spam about bit depth support
Jan Alexander Steffens (heftig) [Tue, 21 Sep 2021 12:56:23 +0000 (14:56 +0200)]
x264enc: Reduce log spam about bit depth support

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/85>

2 years agoalsasink: Allow stop() function to happen during failing writes
Nicolas Dufresne [Tue, 24 Aug 2021 19:27:32 +0000 (15:27 -0400)]
alsasink: Allow stop() function to happen during failing writes

In ALSA, there is possible temporary failures that may require a retry,
though in certain situation, this may leak to the write() function
holding on a lock forever preventing the pipeline from going to pause
or stop. Fix this by shortly dropping the lock between retries.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1261>

2 years agoalsasink: Improve logging in write() function
Nicolas Dufresne [Tue, 24 Aug 2021 19:26:12 +0000 (15:26 -0400)]
alsasink: Improve logging in write() function

This moves the "written X frames" lower so that we don't trace
confusing negative values on errors and add the error code in the
"Write error" log.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1261>

2 years agoopenjpeg: add unit test
Stéphane Cerveau [Mon, 1 Feb 2021 15:21:59 +0000 (16:21 +0100)]
openjpeg: add unit test

Test various format supported with subframes.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979>

2 years agojpeg2000parse + openjpeg: Switch striped mode to its own caps
Stéphane Cerveau [Fri, 22 Jan 2021 09:39:56 +0000 (10:39 +0100)]
jpeg2000parse + openjpeg: Switch striped mode to its own caps

It's not compatible with any other element that use the non-striped
mode. In addition, in this mode, we require that every frame have the
same number of stripes or that the MARKER bit be present, which is
different from the other
formats too.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979>

2 years agoopenjpegdec: Fix crash with AYUV64 in subframe mode
Stéphane Cerveau [Wed, 23 Dec 2020 10:03:34 +0000 (11:03 +0100)]
openjpegdec: Fix crash with AYUV64 in subframe mode

Remove useless generic fill_frame methods to use
the packed one for AYUV and AYUV64.

Fix gst-launch-1.0 -v videotestsrc  !
video/x-raw,width=640,height=480,format=AYUV64  !  openjpegenc
num-stripes=8   !  openjpegdec max-threads=8  ! videoconvert !
autovideosink sync=false

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979>

2 years agoopenjpegdec: support for a multithreaded decoding.
Stéphane Cerveau [Fri, 24 Apr 2020 14:15:42 +0000 (16:15 +0200)]
openjpegdec: support for a multithreaded decoding.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979>

2 years agoopenjpegdec: enable sub frame mode
Aaron Boxer [Mon, 13 Jan 2020 19:02:39 +0000 (14:02 -0500)]
openjpegdec: enable sub frame mode

Rebuild output frame from multiple stripes input.

Keep the first frame and fill it with the following stripes to finish
a complete frame only once.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979>

2 years agompegtsmux: Require frame alignment for JPEG 2000
Olivier Crête [Tue, 22 Dec 2020 23:19:40 +0000 (18:19 -0500)]
mpegtsmux: Require frame alignment for JPEG 2000

We have yet to implement stripe alignment with the required descriptor.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979>

2 years agoopenjpegdec: Reject stripes for now
Olivier Crête [Tue, 22 Dec 2020 23:15:52 +0000 (18:15 -0500)]
openjpegdec: Reject stripes for now

They're not implemented.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979>

2 years agoopenjpegenc: Only allow stripe with image/x-jpc format
Olivier Crête [Tue, 22 Dec 2020 23:20:35 +0000 (18:20 -0500)]
openjpegenc: Only allow stripe with image/x-jpc format

It's the only format that our MPEG-TS muxer allows and the carriage of
JPEG 2000 stripes is only defined for MPEG-TS as far as I know.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979>

2 years agoopenjpegenc: support for a multithreaded encoding.
Stéphane Cerveau [Tue, 21 Apr 2020 18:56:03 +0000 (20:56 +0200)]
openjpegenc: support for a multithreaded encoding.

This commit introduces a multithreaded encoder allowing
to encode mulitple stripes or subframes in separated threads.
This feature aims to enhance the overall latency of a codec
pipeline.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979>

2 years agowpe: context thread dispatch fixes
Philippe Normand [Sat, 18 Sep 2021 11:02:15 +0000 (12:02 +0100)]
wpe: context thread dispatch fixes

Use dedicated mutex/cond/flag for jobs being dispatched in the context thread.
The previous code was signalling the thread startup condition, which is wrong.
When WPEContextThread::dispatch() is invoked it means the thread has already
correctly been started up.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2533>

2 years agowpe: Properly wait on context thread startup condition
Philippe Normand [Sat, 18 Sep 2021 11:01:39 +0000 (12:01 +0100)]
wpe: Properly wait on context thread startup condition

Fixes #1661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2533>

2 years agodoc: Update kmssink caps cache
Nicolas Dufresne [Mon, 20 Sep 2021 13:41:32 +0000 (09:41 -0400)]
doc: Update kmssink caps cache

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2530>

2 years agokmssink: Add RGB16/BGR16 support
Nicolas Dufresne [Fri, 17 Sep 2021 20:21:39 +0000 (16:21 -0400)]
kmssink: Add RGB16/BGR16 support

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2530>

2 years agokmssink: Sort format according to GST_VIDEO_FORMATS_ALL
Nicolas Dufresne [Fri, 17 Sep 2021 20:14:36 +0000 (16:14 -0400)]
kmssink: Sort format according to GST_VIDEO_FORMATS_ALL

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2530>

2 years agokmssink: Remove big endian format inversion
Nicolas Dufresne [Fri, 17 Sep 2021 19:42:25 +0000 (15:42 -0400)]
kmssink: Remove big endian format inversion

This has been a bad interpretation of the DRM docuemntation. The formats are
fixed regardless the CPU, but for some formats, they expressed in the opposite
order as GStreamer. Same change was done in waylandsink 2 years ago.

https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/commit/b393b650ab9bfb9654fc116163ab331907216d74

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2530>

2 years agokmssink: Add NV61 support
Nicolas Dufresne [Fri, 17 Sep 2021 19:41:41 +0000 (15:41 -0400)]
kmssink: Add NV61 support

This identically handled to NV16, so no reason not to inclue it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2530>

2 years agokmssink: Add NV24 support
Nicolas Dufresne [Fri, 17 Sep 2021 19:39:54 +0000 (15:39 -0400)]
kmssink: Add NV24 support

This was tested on RK3566 platform, using vendor DRM driver.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2530>

2 years agocodecs: av1decoder: Use GstFlowReturn everywhere
Seungha Yang [Fri, 17 Sep 2021 15:33:12 +0000 (00:33 +0900)]
codecs: av1decoder: Use GstFlowReturn everywhere

The same modification as that of VP8 decoder

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2528>

2 years agocodecs: vp9decoder: Use GstFlowReturn everywhere
Seungha Yang [Fri, 17 Sep 2021 15:09:24 +0000 (00:09 +0900)]
codecs: vp9decoder: Use GstFlowReturn everywhere

The same modification as that of VP8 decoder

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2528>