Eunhye Choi [Tue, 20 May 2025 08:05:11 +0000 (17:05 +0900)]
souphttpsrc: Fix seeking issue on specific server
Remove dependency on 'Range' header in response for seek capability
which is leftover patch related to previously revert commit.
This part expect that the 'range' header is always included in response
by adding range request in gst_soup_http_src_add_range_header().
but offset condition is added by this commit :
37be5030fe5afb313e5134f218691bfb0e9be31a.
[Version] 1.20.0-64
Change-Id: Idccac5c213501f4cdce6054e5404902235fb9e19
Gilbok Lee [Wed, 23 Apr 2025 06:05:58 +0000 (15:05 +0900)]
souphttpsrc: Revert some Tizen modifications
- If 'Range: bytes=0-' header in sending message is added (if offset = 0),
the data received from the hls live streaming is different, causing the problem
[Version] 1.20.0-63
[Issue Type] Fix bugs
Change-Id: I5b06cb30f25b9eb936108073cdbc624899a062d3
Gilbok Lee [Thu, 27 Mar 2025 02:29:02 +0000 (11:29 +0900)]
h264parser: Adjust NAL unit size for SEQ_END and STREAM_END nal types
- When dummy data is included in SEQ_END or STREAM_END NAL types,
errors occur during parsing operations for the remaining dummy data.
[Version] 1.20.0-62
[Issue Type] Fix bugs
Change-Id: Iba33d6f4db7028b80afafb72be69f66e1f1e7a37
Jeongmo Yang [Fri, 10 Jan 2025 07:15:03 +0000 (16:15 +0900)]
cameracontrol: Add new interface for switching device
[Version] 1.20.0-61
[Issue Type] New feature
Change-Id: I5bfc58601f9938421850e022959482473dd439e9
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Gilbok Lee [Mon, 15 Jul 2024 07:25:16 +0000 (16:25 +0900)]
aacparser: Revert 'Add codec_data in caps, even if stream-format is adts'
- revert
0cee0329b1e88a86fd63dd032f43f923da898abc commit in
gst-plugins-good
- When decoding 8-channel ADTS contents in avdec, an error occurs.
Change-Id: I14ec9dbc2f816ec415bcca1eb0fd5934de09358b
Eunhye Choi [Thu, 30 May 2024 11:13:29 +0000 (20:13 +0900)]
base:subparse: fix invalid mem access issue
- alloc memory include extra to avoid invalid memory access
during looping based on attr[idx]
Change-Id: I52e164f26748483331361849a56c8a0bedd8f312
Edward Hervey [Mon, 7 Nov 2022 08:49:02 +0000 (09:49 +0100)]
decodebin3: Don't leak collection when releasing inputs
And refactor the function slightly for clarity
Change-Id: Ie8781b7d5d4f409434b628c343082a7c137c7ae2
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2784>
Edward Hervey [Mon, 31 Oct 2022 15:06:45 +0000 (16:06 +0100)]
parsebin: Fix leak
Release the reference on the collection which was given to us when extracting it
from the event/message.
Change-Id: If586c8a815383a590c0a05c4c4762f1bf55263c6
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3319>
Jeongmo Yang [Fri, 29 Mar 2024 03:07:06 +0000 (12:07 +0900)]
libav:avviddec: Add videometa if there is no videometa in output buffer
- The buffer from internal pool in avviddec has video meta,
but, the output buffer is not from internal pool in avviddec
and it's from other buffer pool which is made in gst_video_decoder_decide_allocation_default().
As a result, the output buffer does not have video meta.
[Version] 1.20.0-56
[Issue Type] Improvement
Change-Id: I678ec172fdd92eddfe1a281f23d81f4106489f15
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongki Kim [Thu, 22 Feb 2024 14:41:12 +0000 (23:41 +0900)]
appsrc: clear eos flag on flush stop event
Change-Id: I36322b88848d130ae795664f3a2a0e0a55994026
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6186>
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Gilbok Lee [Tue, 27 Feb 2024 05:46:05 +0000 (14:46 +0900)]
subparse: Fix error in the calculation that compares start_time and end_time
Change-Id: I56361f3c1f627fd47cab2c8416299abf04e2918c
Gilbok Lee [Wed, 21 Feb 2024 00:47:54 +0000 (09:47 +0900)]
mpegtspacketizer: Changes to run upstream code if the ignore-pcr property is set
Change-Id: Ida2ca4dc55dcd204971701c82e2cdbec58086ab1
Jeongmo Yang [Tue, 5 Dec 2023 06:15:43 +0000 (15:15 +0900)]
base:tizenmemory: Export gst_tizen_video_meta_map/unmap API and fix memory leak
- Fixed memory leak
: The return value of "gst_buffer_get_memory()" should be released after use, but it was not.
This patch replaces it by "gst_buffer_peek_memory()" and we don't need to release it.
[Version] 1.20.0-53
[Issue Type] API export
Change-Id: I09e00e2282706e8d4e7a5ddf7cf87313b86277b0
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Eunhye Choi [Wed, 15 Nov 2023 09:46:21 +0000 (18:46 +0900)]
spec: remove excluding the debug path
- if debug path is excluded, debug info is added in main rpm
that is not intended and the info is added in /usr/lib/debug/.build-id/xx
- can not exclude /usr/lib/debug/.build-id/ explicitly
because the path is not recognized.
warning : file / dir not found
Change-Id: I10404f60dc276eec137de2cbbb2902b0ba2ae687
Jeongmo Yang [Wed, 23 Aug 2023 09:00:22 +0000 (18:00 +0900)]
base:tizenmemory: Fix memory leak when tbm_bo_export_fd() is failed
[Version] 1.20.0-51
[Issue Type] Bug fix
Change-Id: I1a494e45be6518271506bc735aab56a86b676d41
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 11 Aug 2023 06:00:44 +0000 (15:00 +0900)]
tizenmemory: Support gst_tizen_memory_get_fd() in all kinds of tizen memories
- Previously, gst_tizen_memory_get_fd() is only available with the tizen memory
which is created by gst_tizen_allocator_alloc_fd().
- The tizen memory which is created by other alloc functions
(gst_tizen_allocator_alloc(), gst_tizen_allocator_alloc_bo(), gst_tizen_allocator_alloc_surface())
also supports gst_tizen_memory_get_fd() now.
[Version] 1.20.0-50
[Issue Type] Improvement
Change-Id: I317a77381c84992e861cee32c4278b00a530f48b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Sebastian Dröge [Wed, 18 May 2022 07:23:15 +0000 (10:23 +0300)]
matroskademux: Avoid integer-overflow resulting in heap corruption in WavPack header handling code
blocksize + WAVPACK4_HEADER_SIZE might overflow gsize, which then
results in allocating a very small buffer. Into that buffer blocksize
data is memcpy'd later which then causes out of bound writes and can
potentially lead to anything from crashes to remote code execution.
Thanks to Adam Doupe for analyzing and reporting the issue.
CVE: CVE-2022-1920
https://gstreamer.freedesktop.org/security/sa-2022-0004.html
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1226
Change-Id: I3a219aec1695d5e369548d7422f7f837e8824b41
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2612>
Jeongmo Yang [Fri, 19 May 2023 02:29:15 +0000 (11:29 +0900)]
good:videoflip: Support SN12 format
[Version] 1.20.0-49
[Issue Type] New feature
Change-Id: I9193e1333e46b33955a8686951e8e8fc309c330f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 10 May 2023 01:15:21 +0000 (10:15 +0900)]
video-converter: Fix log warning
[Version] 1.20.0-48
[Issue Type] Bug fix
Change-Id: I5e232d6218344ff971efda832f1cb72db0b61a84
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 9 May 2023 05:04:58 +0000 (14:04 +0900)]
videoconvert: Fix prepare output buffer error
- It's not considered that tizen buffer pool is not created.
[Version] 1.20.0-47
[Issue Type] Bug fix
Change-Id: I9bc6435ba35829cf52d4a96111caf7551172ccab
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Seungbae Shin [Thu, 4 May 2023 11:07:29 +0000 (20:07 +0900)]
fixup! good:pulse: add null check for mainloop access while handling of query caps
Change-Id: I1827f37b103e0b40fa13e7931362686e21e93da5
Seungbae Shin [Thu, 27 Apr 2023 12:05:53 +0000 (21:05 +0900)]
good:pulse: add null check for mainloop access while handling of query caps
[Version] 1.20.0-46
[Issue Type] Bug fix
Change-Id: I7d80321f1ae0041407a6a6f429767f8eaf92fc0b
Gilbok Lee [Mon, 27 Mar 2023 08:12:49 +0000 (17:12 +0900)]
mpegtsbase: remember stream pid before remove stream
when do MPEGTS_BIT_UNSET, stream->pid is used but stream is already freed
[Version] 1.20.0-45
[Issue Type] Bug fix
Change-Id: Iebc891e86a975280abe67f24ee5d0f5b66e3c05c
jiyong.min [Wed, 8 Mar 2023 02:19:43 +0000 (11:19 +0900)]
Add "stream-info-message" property for GSTRTSPSRC
- The rtspsrc sent stream info message when stream open is completed.
But rtspsrc wait until stream open is completed in READY_TO_PAUSE case.
As a result, READY_TO_PAUSE state is changed lately.
- The added "stream-info-message" property allow the user to select the
above action.
- The default is TRUE.
[Version] 1.20.0-44
[Issue Type] Bug fix
Change-Id: Ib05d694d224ed486b8da2f0e5c84633a0f405246
Jeongmo Yang [Fri, 17 Feb 2023 10:06:01 +0000 (19:06 +0900)]
Add new package for V4L2 plugin
- The V4L2 elements are loaded automatically after scan device nodes in target,
but, in some targets, they are not supported although they are loaded.
As a result, the loaded elements can be used and it fails to work.
- This new package will be added to supported targets only.
- New package name/file : gst-plugins-good-v4l2/libgstvideo4linux2.so
- Additional change
: Do not create empty gst-plugins-good-cairo package for TV profile.
[Version] 1.20.0-43
[Issue Type] New package
Change-Id: I2cf955fde5cf71c42fbc9c3b1d752389f20b2004
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Sangchul Lee [Thu, 16 Feb 2023 06:14:33 +0000 (15:14 +0900)]
webrtcbin: Post error message when a RTP session ssrc timeout happens
If rtp session emits this notification with session_id and ssrc, forwards it
to let a user know this situation via message.
Change-Id: I49b63f34f6ea4033e6d63f6b5bfc80ed2123ffc5
Jeongmo Yang [Fri, 16 Dec 2022 06:22:30 +0000 (22:22 -0800)]
qtmux: Fix update_expected_trailer_size()
[Version] 1.20.0-41
[Issue Type] Bug fix
Change-Id: I387c43de3d9609aa8bc5a308ad5f6166f0dc364c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 8 Nov 2022 08:06:37 +0000 (17:06 +0900)]
Merge branch 'tizen' into tizen_7.0
Change-Id: I967c410c638cd3912388e73d1798cbb8bf60fb4b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 3 Nov 2022 11:18:29 +0000 (20:18 +0900)]
base:tizenmemory: Add new interface for fd
[Version] 1.20.0-40
[Issue Type] New feature
Change-Id: I4930955c18d8814e8ca6e54deab06b4f2d39b187
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 2 Nov 2022 02:25:05 +0000 (11:25 +0900)]
Merge branch 'tizen' into tizen_7.0
Change-Id: Ib0c670ed91147ad652f9aa6a39692156f43e9f56
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 13 Oct 2022 10:46:08 +0000 (19:46 +0900)]
base:video: Add zero copy format for YUY2 and UYVY
[Version] 1.20.0-39
[Issue Type] New feature
Change-Id: I9e12f32de7227310d8d0b19261227f1992769197
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Gilbok Lee [Wed, 28 Sep 2022 01:38:51 +0000 (10:38 +0900)]
queue2: remove Glib-CRITICAL log when gst-inspect
Change-Id: I5b19458862a68c0cef08063e6301d06d5c800577
Eunhye Choi [Tue, 20 Sep 2022 07:21:41 +0000 (16:21 +0900)]
spec: remove usrsctp dependency
- internal copy of usrsctp lib has been imported since 1.18
Change-Id: I116675323bf5e60a6e7900725be628bf281b74c9
Sangchul Lee [Wed, 20 Apr 2022 15:38:37 +0000 (00:38 +0900)]
webrtcbin: Avoid access of freed memory
Change-Id: I3489f2f718bdcd298ffc90c62a7352544293a70c
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2256>
Sangchul Lee [Fri, 1 Apr 2022 13:52:18 +0000 (22:52 +0900)]
webrtc/datachannel: Change initial data channel state to CONNECTING
It complies with http://w3c.github.io/webrtc-pc/#dom-rtcdatachannelstate.
Change-Id: I3cc114f435a6b6dde87e6a94b83e7419fa32e09b
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2099>
Eunhye Choi [Fri, 26 Aug 2022 11:20:12 +0000 (20:20 +0900)]
srt: add recv and peer latency property
Change-Id: I2b47605c206e1a00e28429d79c699f4d87beeb3b
Eunhye Choi [Fri, 26 Aug 2022 08:15:46 +0000 (17:15 +0900)]
rtsp-server: add mtpr media factory
- support setting custom element
Change-Id: I3cc3b0c3d9f245658c697a26acb1f63649905ee4
Stéphane Cerveau [Wed, 19 May 2021 14:03:22 +0000 (16:03 +0200)]
bad:srtsrc: add "keep-listening" property to avoid EOS on disconnect
The property 'keep-listening' avoids EOS
when the remote client disconnects.
It can be useful to a keep a pipeline alive
when the srt connection drops remotely.
Change-Id: I5dbdc4858ea4bf944dcae021709a0b45fcbe00a8
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/967>
Stéphane Cerveau [Wed, 19 May 2021 14:00:13 +0000 (16:00 +0200)]
bad:srtsrc: remove dead code
Remove code useless since
132e3a1af9deb1d2cdf84d22b954967207bcc03a
Change-Id: I56f6412982cb1b7f3c07336c4f18fb379566bdde
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/967>
Haesu Gwon [Wed, 24 Aug 2022 05:10:41 +0000 (14:10 +0900)]
gst-plugins-good: Split package for cairo to remove cairo dependency in headless profile
[Version] 1.20.0-33
[Issue Type] Improvement
Change-Id: Ia6f86fb7723d7e5f55c30ed811edeecb05aed38e
Hou Qi [Tue, 15 Mar 2022 01:49:59 +0000 (09:49 +0800)]
v4l2videodec: safely retrun from video_dec_loop with stream unlock
This is to avoid decoder hang when doing trick play between
different resolutions.
Change-Id: I5731d6f7f587955fd4c5ffd07e1bc57404f10b23
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1960>
Eunhye Choi [Wed, 3 Aug 2022 10:40:07 +0000 (19:40 +0900)]
bad:srt: enable srt plugin
- enable srt and rist plugin except tv product
Change-Id: I06a87e6e3db9485701b8225517762d97c69436aa
Eunhye Choi [Thu, 21 Apr 2022 11:08:52 +0000 (20:08 +0900)]
spec: disable introspection option
- add introspection option and disable it as default
Change-Id: I9561c16cd40360ea718d32a43124aa1cce976c5d
Sangchul Lee [Tue, 12 Jul 2022 07:52:16 +0000 (16:52 +0900)]
nice: Update plugin of libnice 0.1.19
Change-Id: Icb1ebb213cf87d81f62ee55fa2137242849bec39
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Fri, 1 Jul 2022 05:51:59 +0000 (14:51 +0900)]
webrtcbin: Do not decrease max_sink_pad_serial when releasing pad
If requesting a sink pad after releasing one, there is a chance to
give the same pad name which have been already used.
Change-Id: I03d7b555ff4427f8efcb9ae7f76b444bb745e915
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 28 Jun 2022 08:14:13 +0000 (17:14 +0900)]
Revert "webrtcdatachannel: Emit 'on-close' signal when calling 'close' action signal"
This reverts commit
a6cf067742c1206c073b5e0fe26386a09fda8769.
This patch fixed the issue that only occurred between gst to web API(chromium).
But it ignores a procedure of closing data channel specified in spec.
So, it is reverted.
Change-Id: I69d057af4d22a02a1d25cae358df43d5dc588df3
Gilbok Lee [Wed, 15 Jun 2022 02:23:07 +0000 (11:23 +0900)]
spec: Sort options and libraries in ascending order
Change-Id: I532cf2fecb3b6bb9148b8aa8cd4f0f111e67f55b
Gilbok Lee [Mon, 13 Jun 2022 02:12:52 +0000 (11:12 +0900)]
bad:rist: Add rist plugins
Change-Id: I87f57b3b8575b5f4e8e6f94cdb5b4eee9385a127
Jeongmo Yang [Wed, 8 Jun 2022 11:14:37 +0000 (20:14 +0900)]
base:tizenmemory: Remove GST_MEMORY_FLAG_NO_SHARE
- It can cause memory copy when it's pushed to source plugin like appsrc.
[Version] 1.20.0-29
[Issue Type] Improvement
Change-Id: I23b9bd8921a223219dbae103ebcc72ae3d28475b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunsoo Park [Fri, 3 Jun 2022 07:38:59 +0000 (16:38 +0900)]
gst-rtsp-server: Add build option
[Version] 1.20.0-28
[Issue Type] Add option
- Add tv profile option for branching TV dependent logic.
Change-Id: I9843cca6765b08ce405e9b3d757c4d8a15c5ad8b
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Thu, 2 Jun 2022 05:25:09 +0000 (14:25 +0900)]
rtsp-media.c: Sets c_mashaller to generic
[Version] 1.20.0-27
[Issue Type] bug fix
If c_marshaller is NULL,
g_cclosure_marshal_generic() will be used as the marshaller for this signal by default
Change-Id: Ib4f6b85c2dbcc62d2783fcee4c253674581e52f4
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Thu, 2 Jun 2022 05:20:52 +0000 (14:20 +0900)]
rtsp-client: block 'gst_rtsp_media_get_rates' in tv profile
[Version] 1.20.0-26
[Issue Type] Product issue
'gst_rtsp_media_get_rates' checks GET_EVENT_SEGMENT.
But VD plugins doesn't send GET_EVENT_SEGMENT before data flow.
It is temporary solution, after VD plugins resolve this issue,
this define would be removed.
Change-Id: Ic2d1e6a5f5742d61c2aa404492e17aad704d629a
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Gilbok Lee [Thu, 26 May 2022 02:17:51 +0000 (11:17 +0900)]
audiotestsrc: Fix crash in gst_audio_test_src_fill()
- src->process is changed to NULL,
during gst_audio_test_src_fill operation
Change-Id: I8e0943a48b1071f13243fac67945322f8fc90571
Haesu Gwon [Thu, 26 May 2022 09:23:28 +0000 (18:23 +0900)]
avenc_aac: Increase avenc_aac rank
- Support ges mp4 encoding
[Version] 1.20.0-24
[Issue Type] Improvement
Change-Id: Ia9648339f5c8823359c931ec4c99494b20d367e4
Haesu Gwon [Wed, 25 May 2022 08:37:53 +0000 (17:37 +0900)]
ges: Add new features for textoverlay outline and shadow
[Version] 1.20.0-23
[Issue Type] New feature
Change-Id: I7ff059402e286b980e4ce83a181b32a4fa1c0672
Jeongmo Yang [Tue, 10 May 2022 06:38:14 +0000 (15:38 +0900)]
omxdecoder: Fix crash and blocking issue
- Set proper foreign memory mode
- Set valid video info when start decoding
- Set valid pointer for tbm surface
- Remove duplicated release code for tbm surface
- Exclude upstream code to set omx buffer flag
[Version] 1.20.0-22
[Issue Type] Bug fix
Change-Id: I48bb2a68d7ba52c8bf37688b64a127d59c679462
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Eunhye Choi [Wed, 27 Apr 2022 06:28:34 +0000 (15:28 +0900)]
build: fix build error
- add missing appostrophe
Change-Id: I9d272b4e4f85104f8f7fc169e01a0c11972d40cb
Gilbok Lee [Wed, 27 Apr 2022 01:56:40 +0000 (10:56 +0900)]
Add the necessary cflags in gstreamer-1.0 pkgconfig
- missing related definition of tv-profile on gstreamer-1.0 pkgconfig
[Version] 1.20.0-20
[Issue Type] Fix bugs
Change-Id: I2423ea108b4c6b2b06a253db1387cf064ffd1752
Jeongmo Yang [Mon, 25 Apr 2022 02:43:21 +0000 (11:43 +0900)]
fix up! base:tizenmemory: Add new function to create GstTizenMemory with tbm bo
[Version] 1.20.0-20
[Issue Type] Bug fix
Change-Id: I89526c7782fd2dde82bb18a3d30101926f811866
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Sangchul Lee [Fri, 22 Apr 2022 02:51:07 +0000 (11:51 +0900)]
webrtcbin: Fix pointer dereference before null check
Unnecessary null check is also removed.
Typo of definition is fixed.
meson.build for bad plugin is revised to enable required
definition.
[Version] 1.20.0-19
[Issue Type] Coverity defects fix
Change-Id: Icfac5230bb9dddc7dc4d0572f10dd0bc306b20cc
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Haesu Gwon [Thu, 21 Apr 2022 06:24:01 +0000 (15:24 +0900)]
ges: Disable video hw decoder
[Version] 1.20.0-18
[Issue Type] Bug fix
Change-Id: Icec0a3da207b8644a9f54c3ecdb2f8c03f9d051e
Stéphane Cerveau [Mon, 14 Feb 2022 11:57:44 +0000 (12:57 +0100)]
tsdemux: unlock mutex on -1 start_offfset
Closing #1013
Change-Id: I3c7f046a533d48f5200e3c3762c2ea536378649c
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1718>
Seungha Yang [Fri, 11 Mar 2022 10:32:59 +0000 (19:32 +0900)]
h264decoder: Fix invalid memory access
gst_h264_dpb_needs_bump() can be called with null picture
in case of live
Change-Id: I451e3602e11ad584dbd4640ff90f0e2a939e7037
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1929>
Eunhye Choi [Thu, 21 Apr 2022 05:26:24 +0000 (14:26 +0900)]
spec: add libsoup as requires for good plugin
- libsoup is not installed on 7.0 headless
- add libsoup pkg dependency to enable souphttpsrc
in good plugin
Change-Id: I85e805e56b8dddd7352c88db275615098f1d84f3
Sangchul Lee [Wed, 20 Apr 2022 08:48:01 +0000 (17:48 +0900)]
webrtcbin: Avoid access of freed memory
[Version] 1.20.0-17
[Issue Type] Coverity defects fix
Change-Id: Ib6a92a06db1af09f33d879a196739d6b65f09885
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Jeongmo Yang [Wed, 13 Apr 2022 08:32:33 +0000 (17:32 +0900)]
good:v4l2h264enc: Add new feature for v4l2h264enc and disable it
[Version] 1.20.0-16
[Issue Type] New feature
Change-Id: Ie45e133815607e8f8d24d950b5d853aed8e7a892
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Sangchul Lee [Tue, 12 Apr 2022 07:15:15 +0000 (16:15 +0900)]
webrtcdatachannel: Emit 'on-close' signal when calling 'close' action signal
Previously, peer_closed variable set in _on_sctp_stream_reset() was a condition
to trigger the 'on-close' signal. To emit the 'on-close' signal also when after
calling 'close' action, the condition is removed.
[Version] 1.20.0-15
[Issue Type] Improvement
Change-Id: Ia592f005031490119996ed38ecdada703cf11cc0
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 7 Apr 2022 16:35:21 +0000 (01:35 +0900)]
fixup! webrtc: Fix to have valid values of RTCPeerConnectionStats
Change-Id: Iff88f892279ae622e1407f620abdef69c7932950
Jeongmo Yang [Fri, 25 Mar 2022 09:14:42 +0000 (18:14 +0900)]
base:tizenmemory: Add new function to create GstTizenMemory with tbm bo
[Version] 1.20.0-14
[Issue Type] New feature
Change-Id: I3443ba9cc0ee904420e0b79509d8d846101ac9d4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Sangchul Lee [Tue, 5 Apr 2022 11:46:50 +0000 (20:46 +0900)]
webrtc: Fix to have valid values of RTCPeerConnectionStats
Valid values corresponding to 'dataChannelsOpened' and 'dataChannelsClosed'
of https://w3c.github.io/webrtc-stats/#pcstats-dict* can now be obtained.
[Version] 1.20.0-13
[Issue Type] Improvement
Change-Id: Ib67095ceab32fe1e24c50722eecabca5158c1811
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Gilbok Lee [Wed, 6 Apr 2022 00:15:03 +0000 (09:15 +0900)]
hlsdemux: after update playlist, setup streams if current variant changes
- If the playlist update fails, the main playlist is downloaded newly
At this time, a new playlist is created and the previous playlist isn't updated.
[Version] 1.20.0-12
[Issue Type] Bug fix
Change-Id: If7313c529b411d9f6c86019e3e24c6f4f475dda7
Sangchul Lee [Mon, 28 Mar 2022 12:25:50 +0000 (21:25 +0900)]
webrtcstats: Unify 'packets-lost' data type to int64
Previously, 'packets-lost' member of RTCReceivedRtpStreamStats had
a value of G_TYPE_INT from rtpsource or a value of G_TYPE_UINT64
from rtpjitterbuffer.
Because of the negative value of estimated amount of packets lost
in rtpsource as well as the description in
https://www.w3.org/TR/webrtc-stats/#dom-rtcreceivedrtpstreamstats
it is fixed to set this value with G_TYPE_INT64.
Change-Id: Ife744ab6d039fda1647c893089d1cacbc04a508a
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2049>
Matthew Waters [Fri, 26 Nov 2021 11:11:06 +0000 (22:11 +1100)]
webrtc/datachannel: fix use-after-free in sctp state notification
g_signal_disconnect*() doesn't stop any existing callbacks from running
which means that if the notify::state callback is in progress in one
thread and the data channel object is finalize()ed in another thread,
then there could be a use-after-free trying lock the data channel
object.
We can't reasonably use a GWeakRef as we don't have a 'parent' object to
free the GWeakRef after the data channel is finalized. This is also
complicated by the fact that the application can hold a reference to the
data channel object that would live beyond the lifetime of webrtcbin
itself.
We solve this by implementing a ghetto weak-ref solution internally with
a list of outstanding data channels.
Change-Id: Id901ca1cbd3edf1a9b9337a65b414d91c803cc3c
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1664>
Sangchul Lee [Mon, 21 Mar 2022 15:30:28 +0000 (00:30 +0900)]
webrtcbin: Update documentation of 'get-stats' action signal
Some stats fields are updated according to the current implementation.
Change-Id: Id45e1984fa07c056dc26f01276ec38b84bc61cca
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2005>
Sangchul Lee [Thu, 10 Mar 2022 10:22:52 +0000 (19:22 +0900)]
webrtcbin: Check data channel transport for notifying 'ice-gathering-state'
Previously, it did not care about data channel's. It is fixed by adding
some conditions.
Change-Id: Ie388e25f40a43dcbd39ec2c477022f8984f04e98
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1957>
Jeongmo Yang [Mon, 28 Mar 2022 06:15:55 +0000 (15:15 +0900)]
good:v4l2videodec: Fix DRC issue
[Version] 1.20.0-11
[Issue Type] Bug fix
Change-Id: I75a392a7c3ae5ac6bd366924d73a670270f268d2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Ming Qian [Tue, 19 Oct 2021 08:10:06 +0000 (16:10 +0800)]
v4l2videodec : enable resolution change
The dynamic resolution changes when
the sequence starts when the decoder detects a coded frame with one or
more of the following parameters different from those previously
established (and reflected by corresponding queries):
1.coded resolution (OUTPUT width and height),
2.visible resolution (selection rectangles),
3.the minimum number of buffers needed for decoding,
4.bit-depth of the bitstream has been changed.
Although gstreamer parser has parsed the stream resolution.
but there are some case that we need to handle resolution change event.
1. bit-depth is different from the negotiated format.
2. the capture buffer count can meet the demand
3. there are some hardware limitations that the decoded resolution may
be larger than the display size. For example, the stream size is
1920x1080, but some vpu may decode it to 1920x1088.
Change-Id: I99c7e973c197490b462b5d3100b413007fc19c39
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1381>
Ming Qian [Tue, 26 Oct 2021 02:03:42 +0000 (10:03 +0800)]
v4l2videodec : refactor the setup process of capture
v4l2videodec do some refactoring so that it can support
dynamic resolution change event.
1.wrap the setup process of capture as a function,
as decoder need setup the capture again when
dynamic resolution change event is received.
2.move the function "remove_padding"
Change-Id: I31fc55b5247e80f4ee7692cf925ca4f06fac2d3b
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1381>
Gilbok Lee [Thu, 17 Mar 2022 00:35:28 +0000 (09:35 +0900)]
Fix build error in tv profile
- Add the necessary cflags in pkgconfig
- Add missed build define
[Version] 1.20.0-10
[Issue Type] Bug fix
Change-Id: Id86be2511a21c711e55ca2636d12625871b24d4a
Sangchul Lee [Thu, 10 Mar 2022 08:17:53 +0000 (17:17 +0900)]
webrtcbin: Check data channel transport for notifying 'ice-gathering-state'
Previously, it did not care about data channel's. It is fixed by adding
some conditions.
[Version] 1.20.0-9
[Issue Type] Bug fix
Change-Id: If1fd8047c1a944ccbe65c13b1cda7c0e34a7bec7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Jeongmo Yang [Mon, 14 Mar 2022 07:25:42 +0000 (16:25 +0900)]
good:v4l2: Add new feature to disable colorimetry
- V4L2 driver on RPI4 does not support some colorimetry,
it causes video playing failure with some contents.
[Version] 1.20.0-8
[Issue Type] New feature
Change-Id: I87026e658b44784cbcc427551275aa03f03012c1
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Eunhye Choi [Fri, 11 Mar 2022 07:26:45 +0000 (16:26 +0900)]
spec: apply tv profile requirement
Change-Id: Ia8b7a5869182bce4cbdd24c6fa96702bf5da556d
Jeongmo Yang [Thu, 10 Mar 2022 12:45:51 +0000 (21:45 +0900)]
good:v4l2: Add new property for TBM dump
[Version] 1.20.0-6
[Issue Type] New feature
Change-Id: Ia1233939ad58a9797840760cf2c35d4fa728f97c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 22 Feb 2022 09:49:55 +0000 (18:49 +0900)]
fix up! good:v4l2bufferpool: Fix crash when v4l2h264dec is stopped
- Add new parameter to check whether it's locked or not.
[Version] 1.20.0-5
[Issue Type] Bug fix
Change-Id: I5fabc83d3100b7ae3b46f48743a212311895f5b4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Eunhye Choi [Mon, 21 Feb 2022 06:18:12 +0000 (15:18 +0900)]
meson: apply latest build script
- revert
5b8d85d2d7268312a7e6ba40d08d53a0ffd7f209
- meson version have to be over 0.59.x
Change-Id: I9466034180183e7b1ee99e44ab6cca27f78e0815
Sangchul Lee [Mon, 21 Feb 2022 07:28:40 +0000 (16:28 +0900)]
fixup! gst-plugins-bad: Rename some definitions for TIZEN
[Version] 1.20.0-3
[Issue Type] Typo
Change-Id: I9a336c1f21322c503e4702f443013ac7ef1a77e3
Sangchul Lee [Mon, 21 Feb 2022 06:50:50 +0000 (15:50 +0900)]
rtpvp8depay: Fix crash when sending new custom event
This patch fixes a seg.fault with warnings as below.
GLib-GObject-WARNING **: 13:56:46.770: ../gobject/gtype.c:4330: type id '0' is invalid
GLib-GObject-WARNING **: 13:56:46.772: can't peek value table for type '<invalid>' which is not currently referenced
[Version] 1.20.0-2
[Issue Type] Crash
Change-Id: If33c7c63e6ef14f9f5bcfaea8d0e650311ff1f16
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
eunhae choi [Mon, 21 Feb 2022 03:45:34 +0000 (03:45 +0000)]
Merge "meson: Apply ASLR on Executable" into tizen
Jeongmo Yang [Sat, 19 Feb 2022 14:52:58 +0000 (23:52 +0900)]
good:v4l2bufferpool: Fix crash when v4l2h264dec is stopped
- When gst_v4l2_buffer_pool_streamoff() is called, mutex for pool is locked
and wait for buffer if there is a buffer which is not queued(=released) yet.
But the mutex is also used when buffer is going to queue,
so it cause deadlock and crash finally.
- This issue is occurred since below patch.
commit id:
ca61a76987e566555a2f7bc0f4c1bcf3a8ad6dcd
v4l2: Fix threading issues in orphaning mechanism
[Version] 1.20.0-1
[Issue Type] Deadlock and crash
Change-Id: I980dc29156a40102206038e58f762ae7f2314e11
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Eunhye Choi [Fri, 18 Feb 2022 11:17:18 +0000 (20:17 +0900)]
meson: Apply ASLR on Executable
Change-Id: I87f1c357ac0f925e2b9cf2794b14f8d7673dd9e2
Eunhye Choi [Wed, 16 Feb 2022 06:25:16 +0000 (15:25 +0900)]
spec: fix emul build error
- exclude omx build in case of ix86, x86_64
Change-Id: I3bbc650746a12b0dcd2459107af52f4c8b9790f3
Jeongmo Yang [Tue, 15 Feb 2022 12:46:35 +0000 (21:46 +0900)]
good:qtmux: Enable TIZEN_FEATURE_GST_MUX_ENHANCEMENT and fix build error
Change-Id: I88f573164982d78487b9975966eadb2fb40424a2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
(cherry picked from commit
b250b4bd1668640981b26df9cfd5d03a8ff16c32)
Gilbok Lee [Tue, 15 Feb 2022 08:45:42 +0000 (17:45 +0900)]
Merge branch 'tizen_gst_1.20.0' into tizen
Change-Id: I0593f0ccef22bc03857264fc421ad17fca21778c
Eunhye Choi [Tue, 15 Feb 2022 07:56:34 +0000 (16:56 +0900)]
build: downgrade of meson
- downgrade of meson temporarily for SR verification.
- this will be reverted as soon as meson 0.60.3 is applied
at tizen_base.
Change-Id: I458e1907c36011c45efc6cf9a49292eac281fabd
Jeongmo Yang [Tue, 15 Feb 2022 07:15:24 +0000 (16:15 +0900)]
good:v4l2videodecoder: Fix video decoding failure
1. not-negotiation
: Skip adding color space for output.
2. buffer drop
: Set missed timestamp.
Change-Id: I54058c9e917a3e6b6dbf5efbc03461782aee68e4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Eunhye Choi [Mon, 14 Feb 2022 11:04:18 +0000 (20:04 +0900)]
spec: remove release macro
- spec :
remove release macro which is not supported on Quick Build system
- core :
disable deprecated declaration temporarily to avoid build error
of related modules
Change-Id: Ib527e9aaf98d3c4c0d933eca30b77e4f70af6416
Gilbok Lee [Fri, 11 Feb 2022 08:59:10 +0000 (17:59 +0900)]
Use gst_branch define in spec
- Use _lib_gstreamer_dir define in spec
Change-Id: I34ece90b32f3ccd07e210b13b95b7cfa23596e79
Gilbok Lee [Fri, 11 Feb 2022 08:13:43 +0000 (17:13 +0900)]
gstreamer: enable check
Change-Id: Ia0f9d56d52c2bd73ef950b55db8d851c81f7d58f
Gilbok Lee [Fri, 11 Feb 2022 01:55:22 +0000 (10:55 +0900)]
Fix incorrect define
Change-Id: I3ea1d50c627203ff94cf0aead09ee3b1e300f21e
Sangchul Lee [Thu, 10 Feb 2022 10:20:56 +0000 (10:20 +0000)]
Merge "nice: Add gstreamer plugins from libnice (0.1.17)" into tizen_gst_1.20.0