Xavier Claessens
0172e47a79
python: Add Gst.Float wrapper
...
When the float python type is used inside a GstValueArray, it is
converted to a G_TYPE_DOUBLE GValue. Sometimes it is important to be
able to force G_TYPE_FLOAT GValue, for instance to set the the
"mix-matrix" property on audioconvert.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8957 >
2025-05-10 23:23:14 +00:00
Xavier Claessens
cff1d1962b
gstmessage: Debug error message is nullable
...
When debug is NULL, gst-launch-1.0 won't print
"Additional debug info:" line.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8943 >
2025-05-10 22:13:22 +00:00
Xavier Claessens
d5995b9302
python: Fix usage of our overrides from devenv
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8952 >
2025-05-10 21:38:06 +00:00
Xavier Claessens
6833932e92
python: Optimize ValueArray.get_size()
...
There is no need to call into C layer as we have the python list
already.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8952 >
2025-05-10 21:38:06 +00:00
Xavier Claessens
c2a4c3a53a
python: override Gst.ValueArray.append_value()
...
This ensures that self.array is kept up to date.
Add append() method that is more natural than the static method.
Allow creating empty ValueArray by omitting the constructor parameter.
Fixes : #3114
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8952 >
2025-05-10 21:38:05 +00:00
Xavier Claessens
20904a1b92
python: Fix coding style errors in unit tests
...
Otherwise pre-commit does not pass.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8952 >
2025-05-10 21:38:05 +00:00
Santosh Mahto
700b665bf7
gstanalytics: Add transform function to copy the tensor meta
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8825 >
2025-05-10 20:58:52 +00:00
Daniel Morin
57e8dbfeb4
analytics: change tensor-id and use new API
...
- tensor-id changed to match tensor-id-registry at https://github.com/collabora/tensor-id-registry
- Use new GstTensorMeta API to get tensor.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8548 >
2025-05-10 19:18:41 +00:00
Daniel Morin
ec60daa66d
tensordecoder: add general classifier tensor-decoder
...
- Classification output is more standard compare to other tensor-decoder.
- This tensor-decoder implement a standard classification tensor-decoder.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8548 >
2025-05-10 19:18:40 +00:00
Alexander Slobodeniuk
7f4282481e
removesilence: canonicalize property names
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8915 >
2025-05-10 12:09:38 +00:00
Alexander Slobodeniuk
da2e67d5d8
handdetect: canonicalize property names
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8915 >
2025-05-10 12:09:38 +00:00
Alexander Slobodeniuk
d437e92049
properties: add G_PARAM_STATIC_STRINGS where missing
...
"Hold on, I know you need to generate the registry, but let me just
create copies of all those strings first", Framework whispered
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8915 >
2025-05-10 12:09:38 +00:00
Seungha Yang
ee59564d5c
examples: cuda: Fix build with old CUDA SDK
...
Some symbols are not available in old cuda headers.
Use our stub headers instead
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8950 >
2025-05-10 11:06:16 +00:00
Seungha Yang
864068c045
cuda: Fix runtime PTX compile
...
Handle extra option args
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8950 >
2025-05-10 11:06:16 +00:00
Olivier Crête
14f833fdcf
rtph264pay: Reject stream-format=avc without codec_data
...
Without the codec_data, it's impossible to know the size of the field
for the number of NALu in a buffer. And since nal_length_size is unkown
the stream can't be parsed and payloaded and we risk an infinite loop.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8954 >
2025-05-10 10:23:30 +00:00
Pablo García
380a947155
curl: use CURL_SOCKET_BAD to ensure cross-platform
...
Solves this error in Windows build:
../ext/curl/gstcurlbasesink.c:1154:14: error: comparison of unsigned
expression in '< 0' is always false [-Werror=type-limits]
1154 | if (curlfd < 0) {
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8615 >
2025-05-09 00:16:11 +00:00
Tim-Philipp Müller
ee0f2a0bb2
ci: check-diff: fix curl command line to handle redirects
...
Seems to be needed now with the new caching/bot-protection layers.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8949 >
2025-05-08 11:14:40 +01:00
Tim-Philipp Müller
4f43ecc7c0
meson: fix check for .git directory
...
Use right variable for fs module.
Fixes regression introduced by commit d40619d, see
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8764/
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8942 >
2025-05-07 09:04:44 +00:00
Sebastian Dröge
999c43ada1
mikey: Avoid infinite loop while parsing MIKEY payload with unhandled payload types
...
Skip over the unhandled payload types for now, and error out if an unknown
payload type is found.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3314
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8917 >
2025-05-07 05:56:53 +00:00
L. E. Segovia
86ef06ddff
curl: Fix build with MSVC
...
See https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1740#note_2895537
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8932 >
2025-05-07 00:52:16 +00:00
Jakub Adam
ba87e0112f
qt6glwindow: add log message when a buffer pool gets set
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8938 >
2025-05-06 19:50:43 +00:00
Jakub Adam
9f4f543bf7
gldownload: improve logging of gl-dmabuf pool usage
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8938 >
2025-05-06 19:50:43 +00:00
Jakub Adam
f9941b135f
gldmabufferpool: disable "free cache" workaround in GstGLBufferPool
...
This pool isn't reusing its buffers, which makes it pointless to enable
the cache
Holding an extra buffer in free queue can also lead to a deadlock when
the pool's max buffer count is configured low (commonly 2).
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8939 >
2025-05-06 18:22:19 +00:00
L. E. Segovia
d40619ddbe
ci: Do swallow gitlint warning, when not found or unexpectedly failed
...
Gitlint returns error code 253 for a "wrong invocation" i.e. missing filename
for the commit message. That one signals a successful existing install.
Return a warning when either Git is not found (so no hooks will run) or Gitlint
failed its hook installation.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8764 >
2025-05-06 14:08:52 +00:00
Sebastian Dröge
fff260f1aa
qtdemux: Don't configure any channel-mask in fallback case with 1 channel
...
For mono we don't set any channel mask. Setting 0 would mean an unpositioned
layout with a single channel.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8928 >
2025-05-06 13:20:29 +00:00
Sebastian Dröge
7f8b27837c
qtdemux: Add channel layouts to three more raw audio fourccs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8928 >
2025-05-06 13:20:29 +00:00
Sebastian Dröge
737f653e7c
qtdemux: Parse chan box
...
This is another variant of providing channel positions.
Also if neither chan nor chnl boxes are found, configure a default channel
layout for raw audio tracks.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4403
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8928 >
2025-05-06 13:20:29 +00:00
Sebastian Dröge
5c16c8f0c1
qtdemux: Check length of JPEG2000 colr box before parsing it
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8930 >
2025-05-06 11:09:55 +00:00
Sebastian Dröge
f18123ea15
qtdemux: Remove obsolete TODO comment
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8930 >
2025-05-06 11:09:55 +00:00
Sebastian Dröge
b461115699
interleave: Don't hold object lock while querying caps downstream
...
This can easily lead to deadlocks.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8933 >
2025-05-06 09:44:03 +00:00
Xavier Claessens
352a8a8b12
unifxfdsink: Add an property to allow copying
...
By design, unixfd is meant to be used for zero-copy and failing when the data is
not FD based memory is wanted to help debug pipelines. Though, there exists
cases, notably with RTP payloader and demuxers, where its not possible
to get all the data into FD memory through allocation queries.
To allow using unixfd for these cases, introduce a property on the unixfdsink
that enable copying the non FD data into freshly allocated memfd.
Co-authored-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8861 >
2025-05-05 19:15:56 +00:00
Nirbheek Chauhan
d71d26d901
ci: Stop assuming that MR CI runs in a user namespace
...
This should un-break cerbero trigger pipelines.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8719 >
2025-05-05 11:53:47 +00:00
Víctor Manuel Jáquez Leal
7a14b9020c
y4m: support more color formats
...
These are unofficial yuv4mpegpipe formats, but used for 10bit streams.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8719 >
2025-05-05 11:53:47 +00:00
Víctor Manuel Jáquez Leal
1b023dee2e
y4m: add color mappings
...
Now the chroma subsampling tag will include the chroma site. Tests
where updated accordingly.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8719 >
2025-05-05 11:53:47 +00:00
Víctor Manuel Jáquez Leal
7c8a5cd28d
y4mdec: descend from GstBaseParse
...
This is an overhaul/simplification of the element.
Now it supports seek, while the performance remains more or less the same.
Fixes : #4373
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8719 >
2025-05-05 11:53:47 +00:00
Víctor Manuel Jáquez Leal
ef7829b6ad
tests: add y4mdec unit test
...
simple decoding of a i420 15x15 red square, shared with the y4menc unit test.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8719 >
2025-05-05 11:53:47 +00:00
Víctor Manuel Jáquez Leal
8d4a6a7d64
y4mdec: handle time segments
...
so chaining y4menc ! y4mdec is possible.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8719 >
2025-05-05 11:53:47 +00:00
Víctor Manuel Jáquez Leal
82e6c1c640
y4mdec: instead of memcmp, use gst_video_info_is_equal()
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8719 >
2025-05-05 11:53:47 +00:00
Víctor Manuel Jáquez Leal
4cf598bcf3
y4m: share common code among encoder and decoder
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8719 >
2025-05-05 11:53:47 +00:00
Víctor Manuel Jáquez Leal
6bcf0e3276
docs: update iOS player and tutorials, Android docs and symbols
...
docs: update symbols
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8719 >
2025-05-05 11:53:46 +00:00
Víctor Manuel Jáquez Leal
16d34468fb
y4m: move y4mdec to good to have a single y4m plugin
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8719 >
2025-05-05 11:53:46 +00:00
Alexander Slobodeniuk
b9a5efbe07
webrtc: fix build with -DGST_REMOVE_DEPRECATED
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8901 >
2025-05-04 22:19:55 +00:00
Alexander Slobodeniuk
14d4c249ad
qtmux: fix building with -DGST_REMOVE_DEPRECATED
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8901 >
2025-05-04 22:19:55 +00:00
Tim-Philipp Müller
128710caab
meson: rename meson_options.txt to meson.options
...
Which is supported since Meson 1.1:
https://mesonbuild.com/Release-notes-for-1-1-0.html#support-for-reading-options-from-mesonoptions
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8651 >
2025-05-03 10:38:25 +01:00
Olivier Crête
fcf9f9ea06
lcevcdec: Use portable printf formatting macros
...
This should fix 32bit builds
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8926 >
2025-05-02 20:12:10 +00:00
Olivier Crête
2a26b0e75c
lcevcenc: Use portable printf formatting macros
...
This should fix 32bit builds
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8926 >
2025-05-02 20:12:10 +00:00
Seungha Yang
80d9214747
examples: Add d3d12remap example
...
Adding a fisheye image transform example using d3d12remap element
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8887 >
2025-05-02 22:11:04 +09:00
Seungha Yang
5db574fc35
d3d12: Add d3d12remap element
...
Adding new element to support pixel remapping operation
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8887 >
2025-05-02 22:10:58 +09:00
Seungha Yang
9b295cf7a2
d3d12converter: Add support UV remap
...
Adding OpenCV's cv::remap() like feature
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8887 >
2025-05-02 20:56:45 +09:00
Guillaume Desmottes
f600959f3b
subprojects: add librsvg.wrap
...
Allow to build librsvg as a subproject.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6917 >
2025-05-02 05:54:56 +00:00