François Laignel
375acaed51
gst: hamonise recent Caps function names with Structure counterparts
...
These functions were introduced as part of the GstIdStr MR:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7432
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7644 >
2024-10-16 23:14:50 +00:00
Sebastian Dröge
275134c883
base: audio: video: Use more efficient caps/structure API in various places
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7432 >
2024-09-26 19:26:18 +03:00
Nirbheek Chauhan
1913ff18b1
audioaggregator: Sync property values to output timestamp
...
This is what videoaggregator already does since 2019, and it makes
sense. The properties need to change at every output frame based on
the output time because they may change even though the input frame is
not changing. See:
6a8c15f3bd
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3851 >
2024-01-13 06:48:44 +00:00
Sebastian Dröge
c4789e6de5
audio: Consider the expected timestamp for discont-wait handling
...
Otherwise if there is a huge gap it will only be considered a
discontinuity after another discont-time amount of buffers has passed.
Like this it will be immediately a discontinuity if the gap between the
expected and received time becomes bigger than the discont-time.
The last part of the test was actually testing for this behaviour and
expected the previous behaviour. Most other tests also had to be
adjusted because discont will now happen at slightly different times
than before.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5759 >
2023-12-17 12:01:27 +00:00
Sebastian Dröge
f7d4ea6eec
audioaggregator: Make access to the pad list thread-safe while mixing
...
When mixing every single buffer the object lock is shortly released and
acquired again. In the meantime the pad list can become invalid because
a pad was removed or added, and equally the current pad might as well
have been finalized in the meantime.
To get around that, take a snapshot of all sinkpads before mixing and
work with that list of pads.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3052
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5510 >
2023-10-25 07:56:40 +00:00
Thibault Saunier
8d603b3e1d
bad: audioaggregator: Do not post message before being constructed
...
`gst_aggregator_set_latency` will post a message on the bus which
triggers traces for not constructed objects which fails in rust tracers
as object should have names in all traces.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4975 >
2023-07-06 05:48:31 +00:00
Mathieu Duponchelle
b5cd758230
aggregator: Implement force_live API
...
Setting force_live lets aggregator behave as if it had at least one of
its sinks connected to a live source, which should let us get rid of the
fake live test source hack that is probably present in dozens of
applications by now.
+ Expose API for subclasses to set and get force_live
+ Expose force-live properties in GstVideoAggregator and GstAudioAggregator
+ Adds a simple test
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3008 >
2022-11-18 18:14:26 +00:00
Vivia Nikolaidou
88e1b9081e
audioaggregator: Return NOT_NEGOTIATED when the configuration is invalid
...
Otherwise we just end up outputting garbage.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/957
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1558 >
2022-01-26 10:24:21 +00:00
Nirbheek Chauhan
945fd11907
audio: Add logging that was useful in figuring out the last commit
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1461 >
2022-01-08 05:15:30 +00:00
Mathieu Duponchelle
c3d878e990
audio/video aggregator: make use of new aggregator inactive pad API
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/867 >
2021-10-18 22:34:11 +00:00
Thibault Saunier
2fd28195ca
Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir
2021-09-24 16:13:26 -03:00