Alexander Slobodeniuk
33fc2d9c65
glvideomixer: fix missing GObject vtable chainups
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8452 >
2025-02-11 22:49:06 +01:00
Alexander Slobodeniuk
3cae6af025
examples/gl/gtk: fix chaining up GObject's constructed virtual method
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8416 >
2025-02-10 17:49:29 +00:00
Alexander Slobodeniuk
6016cdccf1
gl: fix chaining up GObject's constructed virtual method
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8416 >
2025-02-10 17:49:29 +00:00
Alexander Slobodeniuk
e9f488a2c5
audioaggregator: fix chaining up GObject's constructed virtual method
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8416 >
2025-02-10 17:49:29 +00:00
Carlos Bentzen
7faa031e0e
pbutils: add profile-tier-level functions for VVC/H.266
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5088 >
2025-02-10 09:20:22 +00:00
Tim-Philipp Müller
bf5f642841
Back to development after 1.25.50
2025-02-09 17:47:32 +00:00
Tim-Philipp Müller
3e8f88d756
Release 1.25.50
2025-02-09 17:35:17 +00:00
Nicolas Dufresne
5b1fb0e581
video: Add DRM for NV12_10LE40 to DRM_FORMAT_NV15
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8426 >
2025-02-07 22:17:17 +00:00
Nicolas Dufresne
388f86131f
video: dma-drm: Extend the format mapping
...
These formats were mapped in video4linux2 plugin, but not here. Add them
so te video4linux2 plugin can use the global mapping.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8404 >
2025-02-05 18:56:15 -05:00
Nicolas Dufresne
9eec7ddf19
video: Add support for big endian DRM formats
...
When a format is big endian, the 8bith of the fourcc is set. Handle this by
using a "_BE" suffix in serialization. The patch also update the design document
and introduce a unit test.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8404 >
2025-02-05 18:56:15 -05:00
Philippe Normand
5de3cfca31
oggdemux: Fix racy decode error
...
Sometimes the seek to the end of file to determine the duration would trigger a
reset of the source pads, that would confuse the decoder downstream and trigger
an error. So the proposed fix is to not reset pads when the segment event being
processed is the consequence of a seek performed to determine the duration.
Fixes #4212
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/937 >
2025-02-04 18:56:25 +00:00
Michael Tretter
1a8143f721
videotestsrc: fix build if adder is disabled
...
The videotestsrc is not build if the adder plugin is disabled. This is a
copy/paste error introduced in Commit 3de86b2b97
("docs: port plugins to
explicit sources").
Fix the check to actually test the 'videotestsrc' option.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8399 >
2025-02-03 18:57:34 +00:00
Ruben Gonzalez
df7a8c8c40
meson: use nls option to ENABLE_NLS
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7017 >
2025-02-01 12:27:01 +00:00
Tim-Philipp Müller
bc83c07727
scripts: update update-orc-dist-files.py scripts for new gst-indent
...
And fix python indentation with autopep8
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5192 >
2025-01-31 19:14:43 -03:00
Nicolas Dufresne
902f0eb9ea
video: Add DMA_DRM mapping for NV12_16L32S / MT2110T / MT2110R
...
This is used on Meditek SoC and Mesa Panfrost [0] has enabled the 8bit variant
with a faster GL shader implementation then ours.
[0] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31899
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7892 >
2025-01-29 17:20:33 +00:00
Nicolas Dufresne
2be6b66349
video: Import a verbatim copy of drm_fourcc.h
...
Imported from drm-tip [0] at commit 3ab334814dc7dff39075e055e12847d51878916e.
As the copied definition became bigger an bigger, it was quite apparent this
was more work then needed. Simply replace manual copies with a verbatim
official copy of it.
[0] https://gitlab.freedesktop.org/drm/tip/-/blob/drm-tip
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7892 >
2025-01-29 17:20:33 +00:00
Tomas Granath
49e4c0b451
oggdemux: Do not change total duration until new duration is found
...
After calculating a correct duration the oggdemux in some cases sets the duration to GST_CLOCK_TIME_NONE.
After that any seek will fail due to the oggdemux calculating a target time after the actual duration.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8296 >
2025-01-27 17:13:38 +00:00
Jochen Henneberg
73c61784d4
audiorate: Account for in buffer samples if fill samples are added
...
If fill buffers are added to compensate for missing samples the input
buffer is pushed as well and has to be added to output samples count.
This ensure that add - drop == out - in.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8358 >
2025-01-24 09:12:50 +01:00
Sebastian Dröge
55fa0a54a2
video-overlay-composition: Handle the SCALE meta transformation
...
Simply update the render rectangle according to the scale factor. As only the
render rectangle is changed, the seqnum of the rectangle stays intact and no
additional GPU uploads are necessary.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8288 >
2025-01-22 15:17:27 +00:00
Sebastian Dröge
8991140c5a
video-overlay-composition: Declare the video/size/orientation tags for the meta
...
If any of these change then the meta needs to be updated one way or another.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8288 >
2025-01-22 15:17:27 +00:00
Mathieu Duponchelle
b26a5ee088
docs: explicitly list gir files as depends for generating configs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8324 >
2025-01-20 13:24:44 +01:00
Mathieu Duponchelle
7983ecff1c
docs: generate hotdoc configs for libraries with our helper script
...
With this patch, configure time is identical no matter whether doc is
enabled or not.
The configuration files also now contain explicitly-listed sources with
no wildcards.
For the four libraries where hotdoc needs to use clang to generate the
documentation (as opposed to the rest of the libraries where hotdoc uses
the gir), the script will call pkg-config to determine the appropriate
C flags.
This means a side effect of this patch is that pkg-config files are now
generated for the gstadaptivedemux and gstopencv libraries.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8312 >
2025-01-17 20:36:06 +01:00
Mathieu Duponchelle
17e53f8c95
meson: bump minimum version to 1.4 in every subprojects
...
36c01d0579
bumped to 1.4 for gst-devtools
and the root project, but we usually keep those in sync everywhere.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8312 >
2025-01-17 20:22:34 +01:00
Thibault Saunier
aa78649635
videoconvertscale: Handle large pixel aspect ratios
...
Some pixel aspect ratios found in dash streams have very large numerators and
denominators (while being close to 1:1). These values can cause integer overflow
during multiplication, leading to negotiation failures.
Add fallback path using gdouble when integer multiplication would overflow,
trading some precision for reliability instead of failing outright.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8262 >
2025-01-17 15:13:14 +00:00
Tim-Philipp Müller
a059536b58
Back to development after 1.25.1
2025-01-14 15:00:43 +00:00
Tim-Philipp Müller
ca9d85c3b7
Release 1.25.1
2025-01-14 14:57:58 +00:00
Mathieu Duponchelle
3de86b2b97
docs: port plugins to explicit sources
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8273 >
2025-01-13 19:17:13 +01:00
Edward Hervey
a9984a0003
vorbisdec: Fix check for "-1" bitrate values
...
The check is exactly the same, but more explicit.
Original commit that introduced the check is
20fb58be19
:
---
vorbisdec: don't put invalid bitrate values into the taglist
Bitrates are stored as 32-bit signed integers in the vorbis
identification headers, but seem to be read incorrectly,
namely as unsigned 32-bit integers, into the vorbis structure
members which are of type long, which makes our check for
values <= 0 fail with files that put -1 in there for unset
values.
---
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229 >
2025-01-13 12:51:45 +00:00
Edward Hervey
a81371bf8b
base: Enable more warning flags
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229 >
2025-01-13 12:51:45 +00:00
Edward Hervey
568ae91a2a
compositor: Don't use CLAMP for unsigned values
...
Just use MIN, we already know it's above 0
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229 >
2025-01-13 12:51:45 +00:00
Edward Hervey
c0d35e14a5
gst-play: Move esc-handling to the right place
...
It's meant to fall through to the default handler of the switch (for
debugging). Some intermediary commits broke that.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229 >
2025-01-13 12:51:45 +00:00
Edward Hervey
989539830d
libvisual: Fix for libvisual headers
...
They use old style definition
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229 >
2025-01-13 12:51:44 +00:00
Edward Hervey
9e58164cfb
base: Do not use old-style definition
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229 >
2025-01-13 12:51:44 +00:00
Edward Hervey
319ff17300
base: Fix fallthrough declarations
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229 >
2025-01-13 12:51:44 +00:00
Edward Hervey
65b4d26db6
audiorate: Fix unsigned integer comparision
...
next_offset uses a magic "-1" value for unset values. Use that value and not
checking whether it's positive (it always is, it's unsigned)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8286 >
2025-01-13 08:08:00 +00:00
Edward Hervey
344ef36b5a
videorate: Avoid overflow in calculations
...
base_ts and next_end_ts are both guint64. Use explicit check to avoid "negative"
timestamps (which would overflow, not be negative).
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8286 >
2025-01-13 08:08:00 +00:00
Edward Hervey
84f995dd90
test: Fix unsigned integer usage
...
num_queued is unsigned, it'll never be below 0.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8286 >
2025-01-13 08:08:00 +00:00
Edward Hervey
9656ae6c0b
decodebin3: Add missing break in switch
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8286 >
2025-01-13 08:08:00 +00:00
Olivier Crête
1485a387a4
codec-utils: Add missing nullable annotation to new APIs
...
Those APIs are documented to sometimes return NULL.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8271 >
2025-01-09 22:43:54 +00:00
Tim-Philipp Müller
3dcc6f4807
video-info: add "field-order" field to serialised caps also for interlace-mode=fields
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8219 >
2025-01-08 19:48:31 +00:00
Tim-Philipp Müller
a62e517f6d
videoencoder: copy over the field order for more interlace modes
...
.. when copying over video info things from the input state
to the output state.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8219 >
2025-01-08 19:48:31 +00:00
Mathieu Duponchelle
33da5f0d5d
appsink: fix initial pile-up of caps events
...
appsink was queuing the caps event both in its GstBaseSinkClass.set_caps()
and its GstBaseSinkClass.sink_event() implementation, but only signaling
new_event from `sink_event`.
This caused `new_event` callbacks to start lagging by one.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7749 >
2025-01-08 09:00:31 +00:00
Guillaume Desmottes
94253529c4
glmixerbin: derivate the mixer name from the bin name
...
Make it easier to identify a specific instance in logs in complex
pipelines.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8183 >
2025-01-06 07:50:43 +00:00
Guillaume Desmottes
69cd1a2d60
glcontext: add trace log when scheduling function in GL thread
...
There is already a log when the function is executed. Adding one when
scheduled can be useful to know how long we are waiting.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8190 >
2025-01-06 06:56:50 +00:00
Tim-Philipp Müller
64970e721f
tcpclientsrc, tcpserversrc: don't try to get stats from NULL socket
...
Fixes criticals during gst-inspect.
Wasn't an issue before because the entire stats gathering
code path was inactive.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8211 >
2025-01-04 12:20:18 +00:00
Tim-Philipp Müller
b4bef7fd35
tcpclientsrc, tcpserversrc: fix tcp stats gathering
...
Fix-up after commit e56b78417
. Unclear how that could
ever have worked. Code only built because basically
everything was disabled due to the missing config.h
include.
- Include config.h so that HAVE_* defines are available.
- Fix missing variable declarations that somehow disappeared
when moving the stats gathering code block into a separate
function in a new file.
- Fix structure variable modified to match name in new function.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8211 >
2025-01-04 12:15:03 +00:00
Sebastian Dröge
2f3deb4009
message: Remove nullable annotation from gst_message_writable_details()
...
This function can never return NULL as the details are created for the message
if there are none yet.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8235 >
2025-01-03 13:21:28 +00:00
Sebastian Dröge
fd91abfc9a
audio: Add top-surround-left and right channel positions
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8171 >
2025-01-03 10:11:31 +00:00
Sebastian Dröge
9e3bb0a009
audio: Add new gst_audio_reorder_channels_with_reorder_map()
...
This allows reordering the samples with a pre-calculated reorder map instead of
calculating it again every time.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8171 >
2025-01-03 10:11:31 +00:00
Sebastian Dröge
f0a8938133
decodebin3: Free main input even if it is not part of the list of inputs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8216 >
2025-01-02 14:30:02 +00:00