Doug Nazar
7bf94c4c46
videodecoder: Print correct frame variable
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9273 >
2025-06-30 12:19:19 +00:00
Doug Nazar
b490629528
rtph265pay: Fix valgrind warning about uninitialized usage
...
Skip NALs less than minimum size of 2.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9273 >
2025-06-30 12:19:19 +00:00
Doug Nazar
6ddb5b4ad9
selector: tests: Fix initialization of segment
...
If GST_DEBUG is enabled and it dumps the segment, valgrind will warn about
uninitialized memory.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9273 >
2025-06-30 12:19:19 +00:00
Doug Nazar
b06c9090a7
gstinfo: tests: Ensure that the target msg is one of the ones seen
...
If GST_DEBUG is enabled we will get multiple log messages. Signal
success if one of messages is correct.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9273 >
2025-06-30 12:19:19 +00:00
Doug Nazar
4c7b2fe4cc
memory: tests: Fix test to ensure all logs are less severe than WARN
...
If GST_DEBUG is enabled the existing test will fail as it gets INFO
log messages.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9273 >
2025-06-30 12:19:19 +00:00
Doug Nazar
aa71fbd4ae
transform: test: TestTransData is not an object
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9273 >
2025-06-30 12:19:19 +00:00
Sebastian Dröge
8711294ea0
analytics: Fix docs of gst_tensor_check_type()
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9311 >
2025-06-30 11:13:24 +00:00
Robert Mader
7e2b383553
matroskademux: Send tags after seeking
...
Similar to what qtdemux does in `gst_qtdemux_stream_update_segment()`,
in which case we want to resend tags according to our position.
By setting the changed flag for all stream tags we ensure they will all
be (re-)send as we progrees.
This notably ensures that rotation tags are not lost when video players
finish playback and jump back to the beginning of a video.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8429 >
2025-06-30 08:49:21 +00:00
Sebastian Dröge
bebec6d965
analytics: Fix transfer annotations of gst_tensor_check_type()
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9293 >
2025-06-30 08:00:17 +00:00
Sebastian Dröge
46df60ed1d
Revert "streamsynchronizer: Consider streams having received stream-start as waiting"
...
This reverts commit a1a189c07cb66af06d7047c74f6421bd36e3d66c.
It breaks the uriplaylistbin tests and needs further investigation.
See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4506
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9309 >
2025-06-30 09:26:29 +03:00
Tim-Philipp Müller
b0d952ef53
contributing: add section about deletion of merged branches
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9292 >
2025-06-28 11:21:44 +00:00
David Maseda Neira
188a9fa7a2
adaptivedemux2: Fixed reverse playback
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9298 >
2025-06-27 12:21:51 +00:00
David Monge
d22be5d383
mpegtsmux: fix double free caused by shared PMT descriptor
...
The PMT descriptor was owned by the stream object but also added to
the descriptors array without copying, leading to a double free and
core dump during cleanup
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9285 >
2025-06-27 09:55:33 +00:00
Thibault Saunier
51cbcfbc57
cuda: Lower debug log level on nvrtc compilation failure
...
We have a fallback to compile with cubin and that compilation failure
might very well not be fatal.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9232 >
2025-06-27 09:10:25 +00:00
Matthew Waters
87666a2d3b
rtph265pay: add profile-id, tier-flag, and level-id to output rtp caps
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9300 >
2025-06-27 07:36:47 +00:00
David Maseda Neira
73d57329e8
gst-inspect-1.0: Added type info for caps fields
...
gst-inspect-1.0 now shows the expected GType for each field of the
capabilities on a pad.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9270 >
2025-06-27 07:00:22 +00:00
He Junyan
eedd01ac3d
h266parser: Fix overflow when parsing subpic_level_info
...
1. non_subpic_layers_fraction, ref_level_idc and ref_level_fraction_minus1
fields should not have the GST_H266_MAX_SUBLAYERS limitation.
2. Should check max_sublayers_minus1, no more than GST_H266_MAX_SUBLAYERS-1
Fixes ZDI-CAN-27381, CVE-2025-6663
Closes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4503
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9294 >
2025-06-26 19:45:05 +01:00
Johan Sternerup
af63e991ec
hip: Add missing #ifdef
...
So that it compiles without gstreamer-gl.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9289 >
2025-06-26 11:37:30 +00:00
Sebastian Dröge
d236538d28
gstutils: Mark times array as static to avoid symbol conflict with the POSIX function
...
It works fine but there can be linker warnings, e.g. with mold.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9288 >
2025-06-26 09:22:14 +00:00
Xavier Claessens
472d528ffe
audioconvert: Fix setting mix-matrix when input caps changes
...
When the number of input channels changes, application might have to set
a new mix-matrix. Application must set the new matrix before
audioconvert receives updated caps, otherwise negotiation would fail.
That means it should be allowed to set an invalid mix-matrix until we
receive new caps or next buffer.
This fixes a regression in GStreamer >=1.24.9 caused by:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7363
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9215 >
2025-06-26 00:58:05 +00:00
Xavier Claessens
73d5b5b3db
audioconvert: Replace g_warning with GST_WARNING_OBJECT
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9215 >
2025-06-26 00:58:05 +00:00
Michael Olbrich
31f3e73066
waylandsink: Add force-aspect-ratio property
...
Similar to and inspired by glimagesink, xvimagesink and others.
The waylandsink never transform the buffer in any way but delegates this to the
Wayland compositor with the Wayland buffer transform API.
Rotation and window size are already supported, so this just changes the video
surface geometry that is communicated to the Wayland compositor.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9210 >
2025-06-25 18:38:54 +00:00
Jan Alexander Steffens (heftig)
9363054e63
srtsink: Fix header buffer filtering
...
Cleans up the code and fixes two issues:
- If there are no streamheaders in the caps but we have `HEADER`
buffers, it would run `gst_buffer_list_foreach` with `self->headers`
being `NULL`.
- The code forgot to unmap the buffer if it decided to ignore it.
Fixes: 0a562a92d7ee38d8919d1b802add84d3c93b59eb
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9284 >
2025-06-25 15:44:54 +00:00
Seungha Yang
e3d0a8d83e
d3d12screencapturesrc: Fix OS handle leaks/random crash in WGC mode
...
Multiple DispatcherQueues per thread seems to be causing OS handle leak
and random crashes were observed. Instead of creating
thread/DispatcherQueue per GstD3D12GraphicsCapture object,
reuse only single thread and DispatcherQueue
Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4351
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9153 >
2025-06-25 14:30:56 +00:00
Doug Nazar
c15a898742
vkvideoencodeh26x: ensure we call teardown() for each test
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9062 >
2025-06-25 10:43:51 +00:00
Doug Nazar
35bceff695
gstrtspsrc: Don't emit error during close if server is EOF
...
During a graceful close we try to notify the server that we're
finished. There is no reason to consider it an error if the
server has already closed the connection.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9278 >
2025-06-25 00:00:57 -04:00
Seungha Yang
67031a508c
hip: Add plugin docs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8923 >
2025-06-25 01:17:27 +09:00
Seungha Yang
1d6ae8791d
hip: Add hipcompositor element
...
Feature-wise it's the same as cudacompositor
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8923 >
2025-06-25 00:15:55 +09:00
Seungha Yang
2b0f4705a5
hip: Load memset symbols
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8923 >
2025-06-25 00:15:55 +09:00
Seungha Yang
be3d7b6f13
hipmemorycopy: Add support for GL interop
...
Enable memory copy between HIP and GL
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8923 >
2025-06-25 00:15:55 +09:00
Seungha Yang
baa9bc9d95
hip: Add GstHipGraphicsResource object
...
hipGraphicsResource_t wrapper object for graphics api interop
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8923 >
2025-06-25 00:15:55 +09:00
Seungha Yang
04fb36b2f9
hip: Load GL interop related symbols
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8923 >
2025-06-25 00:15:55 +09:00
Seungha Yang
ecaab82f11
hip: Pass GPU arch to kernel compile option args
...
Pass current GPU arch to compile option instead of relying on auto
detection
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8923 >
2025-06-25 00:15:55 +09:00
Seungha Yang
fc8f7c349b
hip: Add support for NVIDIA kernel precompile
...
... with "hip-nvidia-precompile" and "hip-nvcc-arch" build options
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8923 >
2025-06-25 00:15:55 +09:00
Seungha Yang
eb925e4212
hip: Add support for AMD kerenl precompile
...
Adding "hip-amd-precompile" build option. If enabled, AMD kernels
will be precompiled at build time. Also "hip-hipcc-arch" build option
(corresponding to --offload-arch hipcc option) is added
so that user can specify target GPU arch instead of auto-detection by hipcc
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8923 >
2025-06-25 00:15:55 +09:00
Seungha Yang
d26755f4d4
hip: Add support for memory copy between GstCuda and GstHip
...
Handle CUDA <-> HIP memory copy in hipupload and hipdownload elements
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8923 >
2025-06-25 00:15:55 +09:00
Seungha Yang
7254e812ac
hip: Add support for NVIDIA
...
Adding HIP <-> CUDA translation layer like the HIP SDK does
but uses dlopen() for CUDA as well
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8923 >
2025-06-25 00:15:55 +09:00
Seungha Yang
24b93f2c41
hip: Remove build-time SDK dependency
...
Use dlopen at runtime
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8923 >
2025-06-25 00:15:55 +09:00
Seungha Yang
0f9ce9de90
hip: Add AMD HIP plugin
...
Adding hipupload, hipdownload, and hipconvert family elements
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8923 >
2025-06-25 00:15:55 +09:00
Sebastian Dröge
79677043dd
ci: Update ABI tag
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9245 >
2025-06-24 08:00:14 +00:00
Sebastian Dröge
4bd4c4d4f7
buffer: Add optional info structure to GstReferenceTimestampMeta
...
This allows carrying additional per-timestamp information if needed.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9245 >
2025-06-24 08:00:14 +00:00
Sebastian Dröge
f40726597e
pad: Only remove TAG events on STREAM_START if the stream-id actually changes
...
Missing part from 88a36b53c5064d186acb317b0b72633ef5d886e3
See also https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4097
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9268 >
2025-06-23 13:11:18 +00:00
Doug Nazar
a8e3dc337b
analyticsoverlay: Fix memory leak
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9266 >
2025-06-23 12:29:06 +00:00
Doug Nazar
e8fda4b6b7
dashsink: test: Minor cleanups
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9266 >
2025-06-23 12:29:06 +00:00
Doug Nazar
794cae4b03
dashsink: Fix memory leak
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9266 >
2025-06-23 12:29:06 +00:00
Doug Nazar
805d532280
splitmuxsink: Only send closed message once per open fragment
...
We send a closed message on EOS. It's possible to receive multiple EOS
messages before opening the next fragment (from an element change state
for example).
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9266 >
2025-06-23 12:29:06 +00:00
Qian Hu (胡骞)
bbae7dba0a
imagefreeze: fix not negotiate error when stop
...
when the chain is called between reset and pad deactive in base
change state, a "not negotiation" error is produced.
so, we add a judge for flushing and reset
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8916 >
2025-06-23 10:28:06 +00:00
Matthew Waters
f7ad5cb570
decklink/clock: remove clock_offset
...
It is completely unused and only ever initialized to 0.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9267 >
2025-06-23 08:25:57 +00:00
Matthew Waters
cae2b38614
decklink: calculate internal using values closer to the current clock times
...
In a previous version of the clock time conversion code, scheduled playback used
to be started (from 0) when transitioning to PLAYING and stopped when
transitioning PLAYING->PAUSED. This worked fine when converting running times
using the internal clock. However, now the decklink clock will produce values
that are monotonically increasing and do not reset to 0 at the same moments as
running time anymore. This means that the clock adjustments could attempt to
convert a small running time based on a large clock time e.g. after pausing
for many hours. As the adjustment code is a simple linear interpolation based on
the current clock times (large) using the provided value (small), the small
differences in the rate could result in very large differences in the
output time.
Fix by instead using both internal and external clock times based on the values
that gst_clock_get_calibration() will return. By doing so, small changes in the
rate calculations between the internal and external clock times will not result
in potentially large differences in the output internal time from
gst_clock_unadjust_with_calibration().
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4197
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9267 >
2025-06-23 08:25:57 +00:00
Nirbheek Chauhan
d432dbd106
docs: Document that unnecessary rebases make reviewing harder
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9255 >
2025-06-20 13:36:35 +00:00