Seungha Yang
66b35a984d
d3d12memory: Make D3D12 map flags inspectable
...
GIR scanner does not seem to be able to infer integer value
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9076 >
2025-05-26 18:29:47 +09:00
L. E. Segovia
7b8d4c0974
orc: Update pregenerated files
...
Fixes -Wtype-limits on gstbayer.orc when emulating convuuslw.
Regenerated Orc files use OrcOnce, which increases the minimum version to 0.4.34.
See https://gitlab.freedesktop.org/gstreamer/orc/-/merge_requests/212 (ORC_MIN)
See https://gitlab.freedesktop.org/gstreamer/orc/-/merge_requests/238 (AVX2 convussql)
See 8a86d51753
(OrcOnce)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9067 >
2025-05-25 14:36:17 +00:00
L. E. Segovia
00dfff821a
orc: Remove references to gst-indent-1.0
...
These are automatically handled by pre-commit now.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9067 >
2025-05-25 14:36:17 +00:00
Thibault Saunier
515bf888a9
python: Make use of the new structure.is_writable method
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9027 >
2025-05-25 15:16:37 +02:00
Thibault Saunier
78a44afc22
gst: Add a gst_structure_is_writable method
...
There are cases (in the gst-python bindings for example) where
it is interesting to know that the structure is not writable
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9027 >
2025-05-25 15:16:37 +02:00
Thibault Saunier
f0e1591111
python: Add overrides for Buffer/Query/Event/Context to handle writability
...
And make them look more like proper MiniObject
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9027 >
2025-05-25 15:16:37 +02:00
Thibault Saunier
0201423142
python: Factor out a MiniObject class that all mini object will be based on
...
Making the API closer to what it should be as Caps are MiniObject
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9027 >
2025-05-25 15:16:37 +02:00
Thibault Saunier
da9365176b
python: Add a Caps.get_value variant that does not copy the structures
...
Keeping the __getitem__ implementation the same way
This also now make structure.set_value() raise an exception if the structure
was not writable
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9027 >
2025-05-25 15:16:37 +02:00
Thibault Saunier
c3d2209c1f
python: Add overrides to be able to write into the GstStructure inside GstCaps
...
Add Python bindings for allowing to modify GstCaps structures with proper
writability checks.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9027 >
2025-05-25 15:16:37 +02:00
Thibault Saunier
9754f31fdb
meson: Do no run python-full test when GStreamer-full is not built
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9027 >
2025-05-25 15:16:36 +02:00
Seungha Yang
e10b460ed4
rtputils: Add debug category
...
Use rtputils specific debug category instead of "default"
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9070 >
2025-05-25 19:32:34 +09:00
Sebastian Dröge
60d9ad038c
meta: Add g_return_val_if_fail() for NULL valid_tags in gst_meta_api_type_tags_contain_only()
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9054 >
2025-05-25 06:45:27 +00:00
Robert Mader
31660c3ad2
glupload: Promote fixate caps results print to info
...
And include the input caps. The idea is that this info is
often among the most relevant and having it on INFO level
thus allows to avoid the more noisy DEBUG one.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8981 >
2025-05-25 00:23:44 +00:00
Doug Nazar
635e0ad5c1
dash: mpdclient: Re-enable test now that mpdclient is fixed
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8734 >
2025-05-24 12:10:59 +00:00
Doug Nazar
9a04896293
dash: mpdclient: Don't pass terminating NUL to adapter
...
libxml2 will complain if it detects any characters after the valid
XML, including a NUL byte.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8734 >
2025-05-24 12:10:59 +00:00
Jan Schmidt
8eb5e3771b
vtenc: Use strlcpy instead of strncpy
...
Silences a compiler warning, and there's no cross-platform
consideration as this plugin is apple-only
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9058 >
2025-05-23 19:00:32 +00:00
Jordan Petridis
a61ce97e48
ci: Use the existing checkout to create the subproject cache
...
Now that we have the monorepo, we always have a checkout
of gstreamer and we don't need to explicitly clone it again.
cbuild in ci-templates will always clone the repository in
/tmp/clone and we can use that to initialize the cache.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8994 >
2025-05-23 14:29:52 +00:00
Jordan Petridis
a74bda813b
ci: Always create the subproject cache from the upstream repo
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8994 >
2025-05-23 14:29:52 +00:00
Branko Subasic
73ef16864e
matroskamux: Write stream headers before finishing file
...
In the rare case when we get EOS on all pads before we get any buffer we
would finish the file without writing headers, i.e. the file would be
corrupt. This patch makes sure that a header is always written.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9061 >
2025-05-23 13:37:17 +00:00
Jordan Petridis
98e8d3a127
gsttracerutils: Fix leak in gst_tracer_utils_create_tracer()
...
Co-authored-by: Alicia Boya García <aboya@igalia.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9028 >
2025-05-23 12:37:15 +00:00
Jan Schmidt
4c6a0b655d
meson: Add build_rpath for qt6 plugin on macOS
...
This is the same fix for qt6 that was done for the qt5 plugin
in gstreamer/gstreamer!3708
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9059 >
2025-05-23 11:16:18 +00:00
Nirbheek Chauhan
e4d5cece28
meson: Add a monorepo-wide qt-method option and yield to it
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9046 >
2025-05-23 09:43:17 +00:00
Nirbheek Chauhan
32eaa0ae35
meson: Rework build files for qt examples in -base
...
The build files had quite a few things wrong:
* Not using the method: kwarg, which can cause the wrong Qt to be
used for building
* There was no way to enable the build for them
* Qt was being detected multiple times, differently
* Unnecessary check for libGL
* have_cxx was being used incorrectly
* Qt tool detection was outdated
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9046 >
2025-05-23 09:43:17 +00:00
Nirbheek Chauhan
0ba85c84a1
meson: Make qml/qml6 plugins use the right qt detection method
...
Otherwise they can pick up the wrong qt and cause two different Qt
instances to be used in the same program.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9046 >
2025-05-23 09:43:17 +00:00
Nirbheek Chauhan
331a381c66
meson: Fix qt detection for qt6d3d11 plugin
...
This now matches the code for the qml6gl plugin.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9046 >
2025-05-23 09:43:17 +00:00
Seungha Yang
099b8825a7
d3d12: Generate gir file
...
Prerequisite for rust binding
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9053 >
2025-05-23 06:45:37 +00:00
Seungha Yang
ac49baabb6
d3d12: Fix docs annotations
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9053 >
2025-05-23 06:45:37 +00:00
Doug Nazar
2dc485823c
rtsp-server: A few small memory cleanups
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9052 >
2025-05-22 10:53:33 +00:00
Thibault Saunier
feb3df61a7
debug: Use log contexts in some places
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6855 >
2025-05-22 09:53:35 +00:00
Thibault Saunier
c796abbf0a
gst: info: Add a GstLogContext API
...
Add a new API to control logging behavior, particularly for implementing
"log once" functionality and periodic logging. This helps avoid spamming
logs with repetitive messages.
The API provides:
- Static and dynamic context creation
- Configurable message identity calculation
- Periodic reset capability
- Context-aware logging macros
- Element message variants with context support
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6855 >
2025-05-22 09:53:35 +00:00
Doug Nazar
707024f940
ges: Free path and uri
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9043 >
2025-05-21 20:12:31 +00:00
Doug Nazar
1383140c5c
ges: Ensure we free the pad and the pad template
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9043 >
2025-05-21 20:12:31 +00:00
Doug Nazar
938a7a0de0
ges: Silence warning about invalid escape sequence
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9043 >
2025-05-21 20:12:31 +00:00
Robert Mader
47308092dd
wayland: Remove custom format mapping
...
As of Gst >= 1.24 we can just use GstVideoInfoDmaDrm APIs. Note
that SHM formats match DRM ones with only two exceptions.
No functional changes intended (for backporting) apart from
supporting a few more formats - those present in video-info-dma.c
but missing in the removed mapping.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8983 >
2025-05-21 18:11:12 +00:00
Sebastian Dröge
571f32eec0
qtdemux: cmpd box is only mandatory for uncompressed video with uncC version 0
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9039 >
2025-05-21 17:04:26 +00:00
Guillaume Desmottes
328b6bc55d
core: gstvalue: fix ANY/EMPTY caps (features) hash
...
They should be special cases as both do not have any actual caps/features.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9037 >
2025-05-21 16:03:15 +00:00
Guillaume Desmottes
8f627b1f9c
uridecodebin3: Don't hold play items lock while releasing pads
...
Releasing the pad can cause messages that call back into the message
handler of uridecodebin3 and take exactly the same lock again.
Fix #4443
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9032 >
2025-05-21 14:43:08 +00:00
Sebastian Dröge
7ffbb1ce34
subtitleoverlay: Remove 0.10 hardware caps handling
...
This also reverts c02d41c2. videoconvert and videoscale are supposed to support
raw video with any caps features as long as no conversion is actually necessary,
and assuming they don't breaks usage of GstVideoOverlayCompositionMeta with e.g.
dmabuf or GL memory caps.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4353
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9020 >
2025-05-21 13:07:51 +00:00
Sebastian Dröge
34efd430e4
videobalance: Implement basetransform meta transform function
...
This makes sure we can pass through more metas correctly, e.g.
GstVideoOverlayComposition meta.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9004 >
2025-05-21 12:13:56 +00:00
Sebastian Dröge
6072e54666
gl: Implement basetransform meta transform function
...
This makes sure we can pass through more metas correctly, e.g.
GstVideoOverlayComposition meta.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4422
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9004 >
2025-05-21 12:13:56 +00:00
Sebastian Dröge
1c3bc57d00
videoconvertscale: Use new gst_meta_api_type_tags_contain_only() API
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9004 >
2025-05-21 12:13:56 +00:00
Sebastian Dröge
bd3c267adb
meta: Add gst_meta_api_type_tags_contain_only()
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9004 >
2025-05-21 12:13:56 +00:00
Sebastian Dröge
8099c7e186
validate: Add a set of tests for checking if videooverlaycomposition reaches the sink
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9024 >
2025-05-21 11:42:52 +00:00
Matthew Waters
daae2c18a4
gl/window: add support for configuring whether a backing surface is needed
...
Fixes videotestsrc ! glimagesink videotestsrc ! glimagesink under Wayland (at
least).
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2997
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9007 >
2025-05-21 08:30:47 +00:00
Thibault Saunier
6fc32cbe0e
validate: Do not list test files that are not autogenerated in .testlist
...
It was useless, adding the .validatetest to the git repo should be enough
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9035 >
2025-05-20 21:43:14 +00:00
Hou Qi
749987be2b
v4l2: pool: Send drop frame signal after dqbuf success
...
This is a regression introduced by https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5479
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4424
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8969 >
2025-05-20 19:20:17 +00:00
Thibault Saunier
5658683881
imagefreeze: Reset 'flushing' state when receiving FLUSH_STOP
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9015 >
2025-05-20 16:47:09 +00:00
Thibault Saunier
5fc7340a70
imagefreeze: Set seqnum from segment too
...
This is the right behavior, setting from seeks is also OK but we should take the seqnums from segment into account too
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9015 >
2025-05-20 16:47:09 +00:00
Olivier Crête
9e3d251c23
tflite: Also look for C symbols in libtensorflow-lite
...
For some builds, there isn't a separate C library such as
some Yocto builds of tflite.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8523 >
2025-05-20 16:05:51 +00:00
Olivier Crête
25cf5262dd
tflite: Make VSI header build in C code
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8523 >
2025-05-20 16:05:51 +00:00