L. E. Segovia
06192c125b
ges: Fix Python library name fetching on Windows
...
The fix in 753aeccde7
is also needed here.
See #3368
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8199 >
2025-01-10 00:08:56 +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
Colin Kinloch
4a56c82f0c
wayland: Print table split when DMABuf format changes
...
The `zwp_linux_dmabuf_v1` doesn't specify an order for modifier events
to be sent.
In my case the linear format was sent last resulting in the first item
in each row being the previous format.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8272 >
2025-01-09 18:34:51 +00:00
Mathieu Duponchelle
a15c786db5
docs: implement pre-commit hook to check cache updates and since tags
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8231 >
2025-01-09 16:19:39 +00:00
Mathieu Duponchelle
c276f5daca
doc: store path to dynamic library in plugin configuration
...
This can then be used by the pre-commit hook to avoid rebuilding
complete plugin caches to check a change, thus minimizing the potential
diff and making analysis of completely-unrelated cache diffs much less
likely.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8231 >
2025-01-09 16:19:39 +00:00
Mathieu Duponchelle
7b4e6e67d3
docs: start using custom_target instead of run_command for sitemap
...
Intead of passing around the output of the config generator program,
which consists of paths joined by a separator we can have the generator
simply produce an extra file containing those paths.
This commit only implements the new approach for the core plugins, as
this was needed to avoid spurious meson rebuilds when the pre-commit
hook regenerates the core plugins_cache.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8231 >
2025-01-09 16:19:39 +00:00
Mathieu Duponchelle
506680c86c
docs: list doc sources explicitly for GStreamer core
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8231 >
2025-01-09 16:19:39 +00:00
Mathieu Duponchelle
8fa87f45f9
docs: start listing sources explicitly in hotdoc configuration files
...
A JSON configuration file is generated for core plugins, which maps
plugin names with sources to parse for docstrings.
The file is then opened by the configuration generator script, which
will now favor explicitly listed files to (usually wildcarded) paths
passed on its command line.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8231 >
2025-01-09 16:19:39 +00:00
Philippe Normand
14f6d9a53f
wpevideosrc: Clear cached SHM buffers after caps re-negotiation
...
Otherwise buffers not corresponding to the negotiated caps might be pushed
downstream.
Fixes #4094
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8212 >
2025-01-09 10:37:49 +00:00
Philippe Normand
0f667d140d
wpevideosrc: Post progress messages on the bus
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8217 >
2025-01-09 07:49:51 +00:00
Philippe Normand
e908d22c44
wpevideosrc: Handle latency queries
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8217 >
2025-01-09 07:49:51 +00:00
Seungha Yang
f7e70e5261
d3d12mipmapping: Add mip-levels property
...
Generating full levels would result in waste of GPU resource
depending on rendering usecase. Adding a property to make it
controllable
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8255 >
2025-01-08 22:46:14 +00:00
Seungha Yang
ca82e717c6
d3d12mipmapping: Add YUV and 64bits output formats
...
Add support for YUV and 64bits output formats to avoid
colorspace conversion and bitdepth loss
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8255 >
2025-01-08 22:46:13 +00:00
Olivier Crête
33259e7ea4
analytics: Tensor dimensions are always row-major or col-major
...
Simplify by removing the extra fields, as this is what all
frameworks give us.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8250 >
2025-01-08 21:47:52 +00:00
Thibault Saunier
bb6bf7d23b
ges: pipeline: Implement context sharing logic
...
That is the logic from `playbin2`
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4005
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7883 >
2025-01-08 21:01:17 +00:00
Tim-Philipp Müller
0cb829c589
svtjpegxsenc: add support for interlaced video
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8219 >
2025-01-08 19:48:31 +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
Tim-Philipp Müller
661c31f0bf
svtjpegxsenc: factor out encoding of codestream into separate function
...
Prepare for interlacing support where an interlaced image
is coded as two codestreams each representing a field.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8219 >
2025-01-08 19:48:31 +00:00
Tim-Philipp Müller
ef57213426
mpegtsmux: add support for interlaced JPEG XS
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8219 >
2025-01-08 19:48:31 +00:00
Tim-Philipp Müller
306200e10e
svtjpegxsdec: add support for interlaced video
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8219 >
2025-01-08 19:48:31 +00:00
Tim-Philipp Müller
71aacec532
svtjpegxsdec: drop frames that had decoding errors
...
Follow-up to !8163
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8219 >
2025-01-08 19:48:30 +00:00
Tim-Philipp Müller
a589575bd8
svtjpegxsdec: factor out decoding of codestream into separate function
...
Prepare for interlacing support where an interlaced image
is coded as two codestreams each representing a field.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8219 >
2025-01-08 19:48:30 +00:00
Tim-Philipp Müller
23ffffe57b
tsdemux: handle interlaced JPEG XS
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8219 >
2025-01-08 19:48:30 +00:00
Stéphane Cerveau
570c086254
vkh265dec: update only vps/sps on demand and pass pps always
...
As PPS can change over the stream, the pps should be always
updated to avoid missing picture parameters sets.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8124 >
2025-01-08 18:50:33 +00:00
Stéphane Cerveau
73c4eb3001
vkh264dec: update only sps on demand and pass pps always
...
As PPS can change over the stream, the pps should be always
updated to avoid missing picture parameters sets.
See CABA3_TOSHIBA_E.264 in fluster resources.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8124 >
2025-01-08 18:50:33 +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
Samuel Thibault
727424452a
meson: Fix build with gtk3 but not wayland
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8222 >
2025-01-08 07:53:36 +00:00
Mathieu Duponchelle
cc7c3183f4
docs/contribute: add section about fixing since tags
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7531 >
2025-01-07 20:05:19 +01:00
Alex Ashley
f3e9330575
dashdemux2: mpdparser: add test for ISO8601 durations that overflow
...
See https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/82
and https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2576
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8209 >
2025-01-07 14:49:26 +00:00
Piotr Brzeziński
8f5caeb86d
osxaudiosrc: Work around timestamps on iOS not starting from 0
...
On macOS, you always get your own 'timeline' for the AudioUnit session, so timestamps start from 0.
On iOS however, AudioUnit seems to give you a 'shared' timeline so timestamps start at a later, non-0 point in time.
Simply offsetting seems to do the trick.
This was causing osxaudiosrc to not output any sound on iOS.
Regressed in 2df9283d3f
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7856 >
2025-01-07 11:55:03 +00:00
Piotr Brzeziński
212290baf0
osxaudiosrc: Fix render callback removal when pausing/stopping
...
At least on iOS, the 'input' callback kept being called after going to PAUSED.
Specifying the right type (like in gst_core_audio_io_proc_start()) fixes that.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7856 >
2025-01-07 11:55:03 +00:00
Piotr Brzeziński
49489d35ae
osxaudio: Fix AudioOutputUnitStart() deadlock on iOS >=17
...
At some point in iOS 17, this call started waiting for the first render callback (io_proc) to finish.
In our case, that callback also takes the ringbuf object lock by calling gst_audio_ring_buffer_set_timestamp(),
which results in a deadlock.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7856 >
2025-01-07 11:55:02 +00:00
Piotr Brzeziński
307cfc2561
osxaudio: Automatically set up AVAudioSession on iOS
...
A correctly configured AVAudioSession is needed on iOS to:
- allow the application to capture microphone audio (in some cases)
- avoid playback being silenced in silent mode
Without this, initializing AudioUnit for capture can fail on iOS >=17 (from my testing).
Since AVAudioSession has a lot of settings, in most cases its setup should be handled by the user/app.
However, just to have a basic default scenario covered, let's configure the bare minimum ourselves,
and allow anyone to disable that behaviour by setting configure-session=false on src/sink.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7856 >
2025-01-07 11:55:02 +00:00
Ruben Gonzalez
47c29127b6
tracers: Fix issue in the BC layer added in refactor to simplify params handling
...
Issue added in refactor done in commit 5e18499372
, which includes a
logic to not break the backward compatibility. Issue found with Rust
pcap-writer tracer, fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/644
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8248 >
2025-01-06 20:29:00 +01:00
Dean Zhang (张安迪)
e000a1ec1f
v4l2videodec: release decode only frame in input list
...
For some frames with decode-only flag, the v4l2 decoder will not
put them in output list. The corresponding decode-only frames will
be still kept in input list, which may cause potential performance
issue when the input list is full. So release the decode-only frames
according to the decode-only flag after they are processed by decoder
driver.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8153 >
2025-01-06 16:27:53 +00:00
Sebastian Dröge
06a0ab7b33
matroskamux: Consider audio buffers as keyframes when writing out simpleblocks
...
Otherwise mpv complains and considers the file broken.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4142
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8225 >
2025-01-06 11:43:59 +00:00
Sebastian Dröge
32e79c1041
matroskamux: Fix audio-only stream conditions
...
The num_a_streams and related counters are used for pad numbers and don't give
the absolute number of streams in this run of the muxer.
Also, consider the output audio-only if there are more than 1 audio stream too.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4142
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8225 >
2025-01-06 11:43:59 +00:00
Christian Meissl
422fca76ca
qtdemux: fix accumulated base offset in segment seeks
...
analog to fix for matroska-demux
commit f3c126d07c
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8240 >
2025-01-06 09:44:00 +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
Sam James
775a2bd26f
codec2json: move option to right section
...
It has an external dependency (json-glib) so should be under
that heading.
Fixes: fd588a50e4
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8238 >
2025-01-04 20:30:07 +00:00
Sam James
fd54c57260
analyticsoverlay: move option to right section
...
It has an external dependency (pango/cairo) so should be under
that heading. Also, fix an inconsistency with the ':' style.
Fixes: 95464c8977
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8238 >
2025-01-04 19:53:00 +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
Daniel Morin
e272e229e8
python tests: Adapt analytics unit test
...
- Adapt test to batch size moved into dims field
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8191 >
2025-01-03 23:14:39 +00:00
Daniel Morin
0a343fa738
analytics: remove batch-size
...
- Batch-size will be the outer-most dimension. Presence of batch dimension can
be identified using `dims` and `id`.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8191 >
2025-01-03 23:14:39 +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
0aeba9275c
qtdemux: Add support for ISO/IEC 23003-5 raw PCM audio
...
And also support the ISO/IEC 14496-12 chnl channel layout box as required
by ISO/IEC 23003-5.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8171 >
2025-01-03 10:11:31 +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
f39812dc8f
pad: Reset not-linked last flow return on reconfigure events
...
The pad might actually be linked now and we'd only find out by actually pushing
a buffer downstream again.
The last flow return is used by GstFlowCombiner to detect if all pads are not
linked, and not resetting this when re-linking creates a race condition when
switching between pads where all pads are temporarily considered not linked.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3836
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8224 >
2025-01-02 16:23:19 +00:00
Jochen Henneberg
68cdeeb882
qtdemux: Undef helper macros after use
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8127 >
2025-01-02 15:22:47 +00:00
Jochen Henneberg
d86f60ffdf
qtdemux: Validate matrix before doing simplified multiply
...
The matrix multiplication makes some assumption about the element
values to simplify the math with fixpoint values. If this is allowed
for the given matrices is now checked first.
Then the debug output for matrix and a comment have been fixed.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8127 >
2025-01-02 15:22:47 +00:00
Jochen Henneberg
5c005733ea
qtdemux: Fixup for orientation matrix parsing
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8127 >
2025-01-02 15:22:47 +00:00
Jochen Henneberg
c4d0f4bbd9
qtdemux: Use mvhd transform matrix and support for flipping
...
The mvhd matrix is now combined with the tkhd matrix. The combined
matrix is then checked if it matches one of the standard values for
GST_TAG_IMAGE_ORIENTATION.
This check now includes matrices with flipping.
Fixes #4064
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8127 >
2025-01-02 15:22:47 +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
Seungha Yang
126d6f0815
d3d12screencapturesrc: Add support for HDR capture in DDA mode
...
Use IDXGIOutput5::DuplicateOutput1() if HDR is enabled.
Note that scRGB color space is not defined in GStreamer,
this element will output SDR tonemapped frame
with linear or reinhard filtering.
Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3834
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8227 >
2025-01-02 06:55:33 +09:00
Seungha Yang
2ff7b5a5ab
d3dshader: Add sampling pixel shader for scRGB SRV
...
Shaders required for HDR capturing
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8227 >
2025-01-02 05:57:38 +09:00
Albert Sjolund
97a3bba629
webrtc: add new post-rtp-aux-sender signal
...
Adds a new signal to webrtcbin, to allow for placement
of an object after rtp, before sendbin. This is usable for
objects such as congestion control elements, that don't want
to be burdened by the synchronization requirements of rtpsession.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7940 >
2025-01-01 19:34:55 +00:00
Albert Sjolund
90d99c7b52
rtpsession: send twcc struct in both directions
...
As there are signals around rtpsession in both directions,
send twcc data both upstream and downstream.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7940 >
2025-01-01 19:34:54 +00:00
Tim-Philipp Müller
a2119fb12e
aacparse: add test to make sure output caps are set also on reuse
...
See https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/350
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8214 >
2025-01-01 15:30:32 +00:00
Tim-Philipp Müller
9aab2ddd13
tsdemux: fix JPEG XS framerate handling for 29.97fps
...
.. and other framerate values with a 1.001 denominator.
The coded framerate denominator value is a code that maps to
either 1 (for 1) or 1.001 (for 2) not a direct value.
Before, 29.97fps would be announced as 15fps because it
would calculate 30/2 instead of 30/1.001.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8226 >
2024-12-31 16:19:16 +00:00
Samuel Thibault
faa4d572c4
meson: Also disable drm on GNU/Hurd
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8223 >
2024-12-30 22:53:02 +01:00
Seungha Yang
f1f5d6002e
docs: Update qsv plugin docs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8220 >
2024-12-29 14:24:55 +00:00
Seungha Yang
21606dac35
docs: Update d3d11 plugin docs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8220 >
2024-12-29 14:24:55 +00:00
Seungha Yang
9444a90bc9
docs: Update d3d12 plugin docs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8220 >
2024-12-29 14:24:55 +00:00
Seungha Yang
ca56fd285a
d3d12: Add "Since" markers
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8220 >
2024-12-29 14:24:55 +00:00
Seungha Yang
6f5d58da11
docs: Add asio plugin docs
...
Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3745
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8220 >
2024-12-29 14:24:55 +00:00
Seungha Yang
256005be13
asio: Add "Since" markers and fix typos in property description
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8220 >
2024-12-29 14:24:55 +00:00
Seungha Yang
9ed220bafb
docs: Add webview2 plugin docs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8220 >
2024-12-29 14:24:55 +00:00
Sebastian Dröge
9909654a9a
play: Fix stream id leaks on initial stream selection
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7650 >
2024-12-28 13:51:50 +02:00
Sebastian Dröge
13ed55f0ee
play: Actually check for valgrind for the tests
...
Other tests in gst-plugins-bad also assumed it to be checked.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7650 >
2024-12-28 13:51:50 +02:00
Sebastian Dröge
0464076b26
play: Fix tests after the switch to playbin3
...
And also fix various memory leaks and other issues that always existed
in the tests.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7650 >
2024-12-28 13:51:50 +02:00
Sebastian Dröge
1414b754c9
play: Port tests to libsoup 3
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7650 >
2024-12-28 11:49:42 +02:00
Sebastian Dröge
0b00cb04b3
play: Add stream-id based selection of streams to match better playbin3's API
...
As part of this
- Add accessors for the stream ID and selection API based on the
stream ID
- Deprecate the old index-based APIs
- Remove playbin support
- Implement the track enable API based on stream selection
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7648 >
2024-12-27 19:00:18 +00:00
Thibault Saunier
15e9573957
videoflip: Add support for Y444_16XX
...
Necessary code already existed, it was just a matter of advertising it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8177 >
2024-12-27 14:58:38 +00:00
Tim-Philipp Müller
a3cdfc06b5
srtpdec: fix build when libsrtp1 is being used
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8204 >
2024-12-23 21:38:35 +00:00
Philippe Normand
d4bfbdcfb4
wpe: Fix build for version 2.44
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8203 >
2024-12-23 18:54:28 +01:00
Philippe Normand
17e5491b60
videodecoder: Gracefully handle missing data without prior input segment
...
Exit early in case the decoder has been resetted and hasn't received a new
segment event yet.
This was detected with netsim dropping buffers in a WebRTC pipeline.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8200 >
2024-12-23 10:49:28 +00:00
Philippe Normand
7152d5c07a
srtpdec: Fix a use-after-free buffer issue
...
The gst_srtp_dec_decode_buffer() function modifies the input buffer after making
it writable, so the pointer might change as well, depending on the refcount of
the buffer.
This issue was detected using a netsim element upstream of the decoder in a
WebRTC pipeline.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8198 >
2024-12-22 15:00:07 +01:00
Robert Mader
04c6727fcd
v4l2: object: Add P010 format
...
For 10bit content. Tested with HEVC on a Pixel3a (qcom).
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8194 >
2024-12-21 18:26:46 +01:00
Sebastian Dröge
d08fb9c241
baseparse: Add bitrate tags to empty taglists too
...
It's unclear why empty taglists should be handled in a special way. If the
subclass or upstream did not provide any tags at all then we can still provide
bitrate tags at least.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8157 >
2024-12-21 13:07:44 +00:00
Hosang Lee
228dd25a0a
mssdemux: Use gsturi structure to form fragment urls
...
We can use gst_uri_from_string_with_base () to join base url
and the fragment url path.
The previous method of forming base url in update_base_url(),
by looking for the string 'manifest' or 'Manifest' is insufficient.
A query may include these string in their paths and thus an invalid
base url string will be kept.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8193 >
2024-12-21 10:29:48 +00:00
Sebastian Dröge
10fc594847
splitmuxsrc: Post messages when a fragment is started
...
This allows the application to keep track which fragment is currently active.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8184 >
2024-12-21 08:44:23 +00:00
Thibault Saunier
2c9a642b66
meson: Give the same name for api_version in all modules
...
There were 2 version of it, apiversion and api_version, I chose the one
with most occurencies: `api_version`
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8178 >
2024-12-20 20:19:28 +00:00
Thibault Saunier
8be9074b0f
doc: Handle gst_dep.get_variable('libexecdir') failure
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8178 >
2024-12-20 20:19:28 +00:00
Thibault Saunier
caa223baf4
doc: Allow updating the plugins cache for all modules even if hotdoc is not present
...
This was possible for some modules but not all, for no good reason.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8178 >
2024-12-20 20:19:28 +00:00
Robert Mader
6c29395ea4
v4l2codecs: decoder: Fix drm format query
...
A late change that slipped through as it mainly affects NC12
at the moment.
Fixes: 4b07d54931
("v4l2codecs: decoder: Translate V4L2 formats into DRM fourcc/mod pairs")
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8188 >
2024-12-20 17:13:23 +00:00
Edward Hervey
19cea52dbd
mpegts: Add provisional AV1 mapping
...
The main difference with the WIP av1-in-mpegts mapping is that the payload data
is not startcode-escaped. Most of the rest is sensible usage of it:
* Custom AV1G (AV1 Gstreamer) registration descriptor instead of AV01
* AV1CodecConfigurationRecord is stored in the same 0x80 custom descriptor and
conforms fully to the isobmff spec (i.e. does not the HDR fields from the
provisional mpegts specification which conflict with that one).
* Data is stored as OBU
* Access Unit is the frame level (same as provisional mpegts mapping)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4442 >
2024-12-20 14:19:00 +00:00
Edward Hervey
5480894dee
pbutils: New AV1 caps utility functions
...
Makes it easy to convert between caps and codec_data
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4442 >
2024-12-20 14:19:00 +00:00
Stéphane Cerveau
2a19805f7d
dash: handle 0 duration in gst_xml_helper_set_prop_duration
...
Add dash_mpdparser_check_mpd_client_set_period_to_0
unit test to demonstrate it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8114 >
2024-12-20 12:55:51 +00:00
Edward Hervey
f7d6822589
urisourcebin: Avoid deadlock on shutdown
...
The reason why the STATE lock was taken was to avoid issues where we would be
adding (and activating) elements at the same time as urisourcebin would be
brought down to READY. That would cause those new elements to potentially return
ERRORS because of not-negotiated/flushing-pads
But that creates a really bad deadlock (state lock is taken to deactivate the
streaming thread which .. is currently grabbing the state lock).
Instead, we can just ignore the warning/error messages that might occur when
shutting down.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4075
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8162 >
2024-12-20 08:01:01 +00:00
Nicolas Dufresne
988f806e7a
av1parse: Fix some debug trace and comment typo
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8026 >
2024-12-20 01:26:12 +00:00
Nicolas Dufresne
98d40251d8
av1parse: Don't immediatly reset timestamp in presence of TD
...
When a TD is being processed, it is not always pushed immediatly. Resetting
the time information lead to lost of timestamp in TU to Frame conversion. The
TU would be formed by buffer of [TD][Frame], and the timestamp taken from
the TU buffer was lost then the TD was handled.
The handling of TS should be entirely done by the 3 functions:
- gst_av1_parse_handle_obu_to_obu() (direct input to output)
- gst_av1_parse_handle_to_big_align() Reset DTS on detected TU or TD
- gst_av1_parse_handle_to_small_and_equal_align() PTS on show frame, flat DTS
Fixes: 79312357a6
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8026 >
2024-12-20 01:26:12 +00:00
He Junyan
c79f83f4ec
av1parse: Fix a typo in the comments about its usage
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5710 >
2024-12-20 08:22:31 +08:00
He Junyan
d63a9340b0
Doc: Update the plugin document for h266parse
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5710 >
2024-12-20 08:22:31 +08:00
He Junyan
b8a806d8a9
test: Add the h266parse element test
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5710 >
2024-12-20 08:22:31 +08:00
He Junyan
b5e4c8b774
h266parse: Add the new h266parse element
...
TODO: Need to refer to the new ISO/IEC 14496-15 for vvc1 and vvi1's
codec data
Co-authored-by: Zhong Hongcheng <spartazhc@gmail.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5710 >
2024-12-20 08:22:31 +08:00
He Junyan
51618400ec
libs: codecparsers: Add the missing ilrp_idx field in H266's ref list
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5710 >
2024-12-20 08:22:31 +08:00