Thibault Saunier [Mon, 29 Aug 2022 14:20:55 +0000 (10:20 -0400)]
gl:meson: Minor typo fix
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2954>
Thibault Saunier [Mon, 29 Aug 2022 14:17:45 +0000 (10:17 -0400)]
doc: Do not build plugins to build the doc
It is not actually necessary
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2954>
Thibault Saunier [Fri, 26 Aug 2022 12:39:00 +0000 (08:39 -0400)]
docs: Generate gst-plugins-rs documentation
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2954>
Thibault Saunier [Mon, 29 Aug 2022 14:43:52 +0000 (10:43 -0400)]
doc: Add an option to enable fatal warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2954>
Thibault Saunier [Fri, 26 Aug 2022 12:39:16 +0000 (08:39 -0400)]
docs: plugin-scanner: Minor debug enhancement
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2954>
Thibault Saunier [Wed, 7 Sep 2022 14:36:09 +0000 (10:36 -0400)]
discoverer: Fix discovering source that expose raw audio/video
Exposes a "uridecodebin:post-stream-topology" property as the discoverer
needs to have topology information about all streams so we need
`uridecodebin` to always plug decodebins for that case.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3009>
Thibault Saunier [Wed, 7 Sep 2022 21:11:08 +0000 (17:11 -0400)]
uridecodebin: Fix some property documentation syntax
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3009>
Thibault Saunier [Wed, 7 Sep 2022 14:39:21 +0000 (10:39 -0400)]
uridecodebin: Ensure that pads caps are set before exposing them
We are supposed to guarantee that pads that are exposed have the caps
set, but for sources that have pad with "all raw caps" templates, we end
up exposing pads that don't have caps set yet, which can break code (in
GES for example).
To avoid that we let uridecodebin plug a `decodebin` after such pads and
let decodebin to handle that for us. In the end the only thing that
decodebin does in those cases is to wait for pads to be ready and expose
them, after that `uridecodebin` will expose those pads.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3009>
Tim-Philipp Müller [Thu, 15 Sep 2022 13:13:49 +0000 (14:13 +0100)]
subprojects: orc: bump to latest commit
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3032>
Tim-Philipp Müller [Thu, 15 Sep 2022 11:14:56 +0000 (12:14 +0100)]
tests: add a few more orc tests
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3029>
Xavier Claessens [Thu, 23 Jun 2022 15:50:00 +0000 (11:50 -0400)]
gst-full: Register GIO modules when glib-networking is a subproject
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2653>
Edward Hervey [Wed, 14 Sep 2022 08:15:41 +0000 (10:15 +0200)]
hlsdemux2: Fix crash on live playlist with single entry
If there is a single entry, we would end up computing a minimum distance of 0,
and would therefore read entries from after the segment array
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3024>
Seungha Yang [Tue, 13 Sep 2022 15:58:37 +0000 (00:58 +0900)]
nvdec: Fix for HEVC decoding when coded resolution is larger than display resolution
As documented in the SDK header, we should set coded width/height
values to the corresponding decoder configuration option,
instead of display resolution
Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1438
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3022>
Jordan Petridis [Thu, 28 Jan 2021 06:40:56 +0000 (08:40 +0200)]
gstinfo: remove the vasprintf fallback
We are always building our printf implementation, even when
GST_DEBUG is disabled, since we are exposing api (gst_print*)
that's dependant on our printf behavior.
We don't need to keep __gst_info_fallback_vasprintf around anymore.
Close #640
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/739>
Seungha Yang [Mon, 12 Sep 2022 19:06:02 +0000 (04:06 +0900)]
cudaupload,cudadownload: Fix document
* Fix typo, NVIDA -> NVIDIA
* Add cudadownload doc to the source file
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3018>
Seungha Yang [Mon, 12 Sep 2022 16:02:55 +0000 (01:02 +0900)]
cudaupload,cudadownload: Use shared GstD3D11Device context if possible
Handle d3d11 device context in set_context() method with
additional device compatibility check so that only NVIDIA GPU
associated d3d11 device can be configured in the element.
And clear old d3d11 device per set_info() for d3d11 device to be
updated as well.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3018>
Seungha Yang [Mon, 12 Sep 2022 16:02:50 +0000 (01:02 +0900)]
cuda: Remove GST_CUDA_HAS_D3D define from header
... and fix d3d11 specific enum type name
GST_CUDA_HAS_D3D is a build time define which indicates whether
GstD3D11 library is available or not, but DirectX SDK headers
must be available on the build system already.
Expose Direct3D related symbols if the build target is Windows
(i.e., if G_OS_WIN32 is defined)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3018>
Zebediah Figura [Wed, 24 Mar 2021 19:20:18 +0000 (14:20 -0500)]
meson: Build with -Wl,-z,nodelete to prevent unloading of dynamic libraries and plugins
GLib made the unfortunate decision to prevent libgobject from ever being
unloaded, which means that now any library which registers a static type
can't ever be unloaded either (and any library that depends on those,
ad nauseam).
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/778>
Víctor Manuel Jáquez Leal [Mon, 6 Jun 2022 08:56:12 +0000 (10:56 +0200)]
va: Remove from plugin cache.
GstVA is not currently build by CI, because libva version is lower
than expected. So, the gstva library is not build, thus some symbols
aren't documented, breaking the documentation CI.
To move things forward, let's just remove temporarly the va plugins
from cache. While we decide on how to update the libva package in
the CI.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1025>
Víctor Manuel Jáquez Leal [Mon, 27 Jun 2022 16:56:01 +0000 (18:56 +0200)]
va: allocator: Fix parameter name to match signature.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1025>
Víctor Manuel Jáquez Leal [Mon, 7 Feb 2022 16:34:57 +0000 (17:34 +0100)]
va: Complete library and plugin documentation.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1025>
Víctor Manuel Jáquez Leal [Tue, 13 Sep 2022 12:46:37 +0000 (14:46 +0200)]
va: Move gstvavideoformat out of library headers.
Since it's no needed for API consumers. Though it can be added later.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1025>
Víctor Manuel Jáquez Leal [Sun, 3 Oct 2021 08:17:00 +0000 (10:17 +0200)]
docs: Generate libgstva GI and pkg-config.
Currently libgstva is only exposed internally to gst-plugins-bad. No
headers are installed, no documentation generated, pkgconfig file,
neither gobject-introspection files.
This patch turn on all that.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1025>
Jan Schmidt [Mon, 12 Sep 2022 14:56:53 +0000 (00:56 +1000)]
adaptivedemux2: Always check bitrate in live
When advancing fragment in live, it's normal to return
GST_FLOW_EOS when playing at the live edge of the available
fragments. In that case, we still want to adjust bitrate
dynamically.
Fixes issue with dashdemux2 where the current bitrate of
each adaptation set is changed to the lowest one when
updating the mpd for a live stream.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3020>
Chris Wiggins [Mon, 5 Sep 2022 01:28:18 +0000 (13:28 +1200)]
rtsp-server: context: Add method to set the RTSPToken on some RTSPContext
Fixes #1399.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2979>
Matt Crane [Mon, 12 Sep 2022 18:18:47 +0000 (14:18 -0400)]
rtpjitterbuffer: Fix calculation of reference timestamp metadata
Add support for RTCP SRs that contain RTP timestamps later than the
current timestamps in the RTP stream packet buffers.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3019>
Seungha Yang [Wed, 18 May 2022 15:44:40 +0000 (00:44 +0900)]
Add H.264/H.265 timestamp correction element
Adding {h264,h265}timestamper element to correct timestamp of
encoded frames. This initial version supports only DTS
correction based on given PTS and SPS data.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2580>
Doug Nazar [Mon, 19 Apr 2021 14:49:42 +0000 (10:49 -0400)]
registry: skip integration testsuite directory during plugin scan
When using an uninstalled development environment and running the
validation tests, the number of log files can grow substantially,
slowing down startup.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/799>
Christoph Reiter [Sat, 10 Sep 2022 17:16:39 +0000 (19:16 +0200)]
meson: use python.get_install_dir() to find the pygobject overrides dir
Instead of trying to hardcode site-packages paths for different platforms
just use python.get_install_dir() from meson and let it deal with the rest.
Also no longer try to import pygobject, which would otherwise not be
required at build time.
python.get_install_dir() was at the beginning broken on Windows, but
that was fixed in 0.60 via https://github.com/mesonbuild/meson/pull/9156
and since ges now requires >0.60 this can be ignored.
This change was motivated by the install path being wrong under MSYS2, where
the unix install layout is used and the detection code not taking that into
account.
This MR is a continuation of https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/230
see the discussion there for extra context.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3012>
Yeongjin Jeong [Thu, 18 Oct 2018 03:32:03 +0000 (12:32 +0900)]
x264enc: Print full option-string applied to x264_encoder in debug log
x264 encoder transfers all options applied to the encoder
to the SEI payload when the headers(SPS, PPS) is requested.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3014>
Yeongjin Jeong [Wed, 17 Oct 2018 14:38:22 +0000 (23:38 +0900)]
x264enc: Don't assume the order of nal unit
Just for extra safety, let's check the index of the nal unit
through the enum value of the nal type provided by x264.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3014>
Xavier Claessens [Tue, 30 Aug 2022 14:48:18 +0000 (10:48 -0400)]
doc: Clarify that gst_buffer_pool_acquire_buffer() blocks by default
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2955>
Thibault Saunier [Wed, 7 Sep 2022 15:22:45 +0000 (11:22 -0400)]
testsrcbin: Add a way to specify caps for the output of the sources
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3007>
Thibault Saunier [Thu, 8 Sep 2022 21:29:37 +0000 (17:29 -0400)]
testsrcbin: Plug some leaks
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3007>
Thibault Saunier [Thu, 19 Nov 2020 21:34:00 +0000 (18:34 -0300)]
testsrcbin: Add an 'expose-sources-async' property
Which allows simluating usual source which require decoding etc in decodebin for example
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3007>
Thibault Saunier [Wed, 7 Sep 2022 19:43:11 +0000 (15:43 -0400)]
validate:scenario: Some minor fixes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3007>
Thibault Saunier [Wed, 7 Sep 2022 19:41:53 +0000 (15:41 -0400)]
validate: Add a 'check-current-pad-caps' check action type
Allowing to check that a specific pad has some specific caps set
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3007>
Thibault Saunier [Wed, 7 Sep 2022 19:19:05 +0000 (15:19 -0400)]
validate: Add a 'check' field to waits to allow running check actions after it get executed
Adding the notion of 'check' action types
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3007>
Filip Hanes [Thu, 8 Sep 2022 17:06:26 +0000 (17:06 +0000)]
pngenc: lower minimum width and height to 1x1
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3003>
Seungha Yang [Tue, 5 Jul 2022 19:18:37 +0000 (04:18 +0900)]
video-format: Workaround MSVC build error
../gst-libs/gst/video/video-format.c(6779): error C2219: syntax error:
type qualifier must be after '*'
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2719>
Edward Hervey [Tue, 30 Aug 2022 09:45:05 +0000 (11:45 +0200)]
dashdemux2: Remove bogus limitation checks for duration fields
Just like for the seconds field, there are no limitations on the hours and
minutes fields. The specification for xml schema duration fields doesn't forbid
specifying durations with only (huge) minutes or hours values.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2951>
Matthew Waters [Wed, 7 Sep 2022 06:35:38 +0000 (16:35 +1000)]
subparse: fix crash when parsing invalid timestamps in mpl2
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49245
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2989>
Víctor Manuel Jáquez Leal [Mon, 5 Sep 2022 16:32:20 +0000 (18:32 +0200)]
vajpegdec: Enhance explanation comment.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2948>
Víctor Manuel Jáquez Leal [Tue, 6 Sep 2022 12:53:41 +0000 (14:53 +0200)]
va: caps: Use G_STMT_START / END
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2948>
Víctor Manuel Jáquez Leal [Mon, 5 Sep 2022 14:59:12 +0000 (16:59 +0200)]
vajpegdec: Check if driver has internal color conversion.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2948>
Mathieu Duponchelle [Tue, 6 Sep 2022 16:49:02 +0000 (18:49 +0200)]
webrtcbin: fix picking available payload types
When picking an available payload type, we need to pick one that is
available across all media.
The previous code, when multiple media were present, looked at the first one,
noticed it had pt 96 as the media pt, then simply looked at the next media,
noticed it didn't, and decided 96 was available.
Instead, check if the pt is used by any of the media, if it is, decide
it is not available and go to the next pt. I'm fairly sure that was the
original intent.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2984>
Stéphane Cerveau [Tue, 6 Sep 2022 07:53:51 +0000 (09:53 +0200)]
docs: update to mono repo locations
Some links/repos in the documentation were still pointing to old
repositories, change to mono repository
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2982>
Jordan Petridis [Wed, 3 Aug 2022 16:36:11 +0000 (19:36 +0300)]
fluidsynth: correctly version guard methods
We bumped the minimum version to 2.1 but the api we used
wasn't introduced till version 2.2 of fluidsynth
Follow-up to gstreamer/gstreamer!2718
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2718
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2835>
Jan Schmidt [Sat, 20 Aug 2022 17:37:40 +0000 (03:37 +1000)]
dashdemux2: Preserve current representation on live manifest updates
When updating a manifest during live playback, preserve the current
representation for each stream.
During update_fragment_info, if the current representation changed
because it couldn't be matched, trigger a caps change and new
header download.
This reverts commit
e0e1db212fd0df2239583b9099fc4361adeded05
and reapplies "dashdemux: Fix issue when manifest update sets slow start
without passing necessary header & caps changes downstream" with
changes.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2920>
Jan Schmidt [Sat, 20 Aug 2022 17:37:40 +0000 (03:37 +1000)]
dashdemux: Preserve current representation on live manifest updates
When updating a manifest during live playback, preserve the current
representation for each stream.
During update_fragment_info, if the current representation changed
because it couldn't be matched, trigger a caps change and new
header download.
This reverts commit
e0e1db212fd0df2239583b9099fc4361adeded05
and reapplies "dashdemux: Fix issue when manifest update sets slow start
without passing necessary header & caps changes downstream" with
changes.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/507
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1729
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2920>
Nirbheek Chauhan [Sat, 3 Sep 2022 12:34:34 +0000 (18:04 +0530)]
examples: Disable bitcode support in iOS examples
For explanation, see:
https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/879
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2978>
Sebastian Dröge [Fri, 2 Sep 2022 14:21:43 +0000 (17:21 +0300)]
rtpjitterbuffer: Add test for crash caused by removing timers twice
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2973>
Sebastian Dröge [Fri, 2 Sep 2022 09:20:58 +0000 (12:20 +0300)]
rtpjitterbuffer: Make it more explicit that update_rtx_timers() takes ownership of the passed in timer
It is not valid anymore afterwards and must not be used, otherwise an
already freed pointer might be used.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2973>
Sebastian Dröge [Fri, 2 Sep 2022 09:20:30 +0000 (12:20 +0300)]
rtpjitterbuffer: Don't shadow variable
While this didn't cause any problems in this context it is simply
confusing.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2973>
Sebastian Dröge [Fri, 2 Sep 2022 09:19:26 +0000 (12:19 +0300)]
rtpjitterbuffer: Change RTX timer availability checks to assertions
It's impossible to end up in the corresponding code without a timer for
RTX packets because otherwise it would be an unsolicited RTX packet and
we would've already returned early.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2973>
Sebastian Dröge [Fri, 2 Sep 2022 09:17:39 +0000 (12:17 +0300)]
rtpjitterbuffer: Only unschedule timers for late packets if they're not RTX packets and only once
Timers for RTX packets are dealt with later in update_rtx_timers(), and
timers for non-RTX packets would potentially also be unscheduled a
second time from there so avoid that.
Also don't shadow the timer variable from the outer scope but instead
make use of it directly.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2973>
Tim-Philipp Müller [Wed, 31 Aug 2022 23:14:52 +0000 (00:14 +0100)]
subprojects: update openh264 wrap to v2.3.0
.. and use tarball instead of git checkout.
Also bump ci image tags so the images cache the new tarball.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2968>
Bruce Liang [Wed, 24 Aug 2022 11:50:19 +0000 (19:50 +0800)]
gst-rtsp-server: Fix pushing backlog to client
Check back pressure of a stream transport before popping buffer from its backlog.
If the stream transport is not experiencing back pressure, the buffer can be popped from backlog and pushed to client.
Fixes:#1298
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2936>
Xavier Claessens [Fri, 2 Sep 2022 14:46:45 +0000 (10:46 -0400)]
meson: Subprjects can define both "plugins" and "gst_plugins"
If "gst_plugins" is defined we can ignore the value of legacy "plugins"
variable, subprojects could be using it for something else, which is the
case of gst-plugin-rs.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2976>
Sebastian Dröge [Fri, 2 Sep 2022 13:31:54 +0000 (16:31 +0300)]
rtsp-server: stream: Don't loop forever if binding to the multicast address fails
The address/port is pre-defined by the caller of the function, so
retrying is only going to loop forever.
Ideally the multicast address should be checked after allocating but
this doesn't happen currently, so it's better to error out cleanly then
to loop forever trying the same address.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2975>
Florian Zwoch [Fri, 2 Sep 2022 09:55:20 +0000 (09:55 +0000)]
va: Fix log message when registering H264 encoder.
The log message would report an error for the H264 decoder when
registering failed, but we tried to register the H264 encoder instead.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2974>
Olivier Crête [Tue, 5 Jul 2022 21:14:37 +0000 (17:14 -0400)]
webrtcbin: Allow locked mlines with no caps, as the last ones
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2439>
Olivier Crête [Mon, 16 May 2022 22:05:25 +0000 (18:05 -0400)]
webrtcbin: Reject creating an offer if a locked mline has no caps
This avoids getting in a bunch of corner cases. We'd have to insert
a "rejected" line from the start as a place-holder to get around this,
but the rest of the code just becomes more complicated, so just
disallow it for now.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2439>
Olivier Crête [Mon, 16 May 2022 21:17:13 +0000 (17:17 -0400)]
webrtcbin: Store pending mid to make create-offer idempotent
If the mid is not stored in the transceiver, but it is stored in
last_offer, then a further create-offer call will just ignore that
transceiver.
Also include unit test for ensure it doesn't regress.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2439>
Patricia Muscalu [Tue, 5 Jul 2022 14:15:19 +0000 (16:15 +0200)]
rtph265: keep delta unit flag
Without this patch all buffers that pass the payloader
are marked as non-delta-unit buffers.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2969>
Mengkejiergeli Ba [Thu, 26 May 2022 10:17:16 +0000 (18:17 +0800)]
msdkvpp: Add va memory when fixating src caps
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2498>
Mengkejiergeli Ba [Wed, 8 Jun 2022 04:31:56 +0000 (12:31 +0800)]
msdkvpp : Use va pool at linux path and system pool for windows
We use msdkvpp's own pool to allocate buffers instead of external frame
allocator mfxFrameAllocator.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2498>
Mengkejiergeli Ba [Mon, 9 May 2022 10:34:38 +0000 (18:34 +0800)]
msdkvpp: Import buffer to msdk_surface
If the buffer is not msdk_buffer, we can try to directly import the
attached memory (i.e. va mem and dmabuf mem) by applying the common
uitl function: import_to_msdk_function ().
Here add a flag "from_qdata" in GstMsdkSurface to handle the cropping case,
we should avoid updating the crop values when msdk_surface is from the
memory's qdata, because the crop info from this surface is the already
updated one.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2498>
Mengkejiergeli Ba [Mon, 9 May 2022 10:19:01 +0000 (18:19 +0800)]
msdkvpp: Add va caps at sink and src pad
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2498>
Mengkejiergeli Ba [Thu, 25 Aug 2022 09:28:36 +0000 (17:28 +0800)]
msdkenc: Apply common util func to import mem as msdk_surface
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2498>
Mengkejiergeli Ba [Fri, 27 May 2022 09:56:33 +0000 (17:56 +0800)]
msdk: Add help functions to get mfxFrameSurface1 from GstBuffer and wrap it as GstMsdkSurface
Note that the memory abstraction for system memory is for windows path.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2498>
Mengkejiergeli Ba [Thu, 19 May 2022 11:18:21 +0000 (19:18 +0800)]
msdkenc: Use va pool on linux and system pool for windows
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2498>
Mengkejiergeli Ba [Thu, 19 May 2022 10:57:50 +0000 (18:57 +0800)]
msdkenc: Directly import dmabuf memory as mfx surface
When input buffer is of dmabuf memory but not a msdk buffer (i.e., the
allocator is not msdk_allocator), then we can try to get fd of this mem,
create the corresponding va surface and wrap it as mfx surface.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2498>
Mengkejiergeli Ba [Thu, 21 Apr 2022 09:27:09 +0000 (17:27 +0800)]
msdkenc: Directly import va memory as mfx surface
If input buffer is of va memory, we can directly obtain va surface from
the buffer and wrap it as mfx surface.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2498>
Mengkejiergeli Ba [Thu, 3 Mar 2022 02:07:19 +0000 (10:07 +0800)]
msdk: Use va libs API to get VA surface from buffer
Direct apply gst_va_buffer_get_surface to get VASurface from a buffer,
so remove corresponding functions which are not used.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2498>
Thibault Saunier [Thu, 1 Sep 2022 19:11:31 +0000 (15:11 -0400)]
meson: Call pkgconfig.generate in the loop where we declare plugins dependencies
Removing some copy pasted code
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
Thibault Saunier [Thu, 1 Sep 2022 15:51:48 +0000 (11:51 -0400)]
meson: Namespace the plugins_doc_dep/libraries variables
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
Thibault Saunier [Thu, 1 Sep 2022 14:28:13 +0000 (10:28 -0400)]
cuda: meson: Fix generating GstCuda gir file against gstreamer-full
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
Thibault Saunier [Wed, 31 Aug 2022 22:44:14 +0000 (18:44 -0400)]
meson: Rename plugins list and make them "dependency" objects
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
Raul Tambre [Thu, 18 Aug 2022 14:08:51 +0000 (17:08 +0300)]
rtpjitterbuffer: remove lost timer for out of order packets
When receiving old packets remove the running lost timer if present.
This fixes incorrect reporting of a lost packet even if it arrived in time.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2922>
Ádám Balázs [Wed, 31 Aug 2022 14:50:38 +0000 (14:50 +0000)]
gstaudioconvert: doc: Fix mix-matrix example
mix-matrix should contain float elements, modify the example to do so
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2966>
Martin Dørum [Wed, 31 Aug 2022 12:23:59 +0000 (14:23 +0200)]
gstpluginloader: Don't hang on short reads/writes
If read_one or write_one was called but the stream closed before it could
read/write a whole packet, read_one/write_one would hang indefinitely,
consuming 100% CPU. This commit fixes that by treating a short read/write
as an error.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2964>
Thibault Saunier [Wed, 31 Aug 2022 14:31:40 +0000 (10:31 -0400)]
validate: Fix gir generation
It broke in https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2555
where we stopped parsing some .c files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2965>
Jordan Petridis [Thu, 4 Aug 2022 18:12:08 +0000 (21:12 +0300)]
validate: don't look for the common supression file
We no longer have a common submodule
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2841>
Xavier Claessens [Wed, 31 Aug 2022 13:15:08 +0000 (09:15 -0400)]
gst_init: Initialize static plugins just before dynamic plugins
All plugins needs to be initialized after `gst_initialized = TRUE;`
otherwise they could complain that gst_init() has not been called.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2962>
Xavier Claessens [Wed, 31 Aug 2022 01:15:25 +0000 (21:15 -0400)]
meson: Make sure devenv uses tools linked on gst-full
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2959>
Sebastian Dröge [Fri, 26 Aug 2022 15:42:44 +0000 (18:42 +0300)]
rtpvp8depay: If configured to wait for keyframes after packet loss, also do that if incomplete frames are detected
This can happen if the data inside the packets is incomplete without the
seqnums being discontinuous because of ULPFEC being used.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2947>
Sebastian Dröge [Wed, 31 Aug 2022 07:57:39 +0000 (10:57 +0300)]
examples: webrtc: mp-sendrecv: Add missing semicolon
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2961>
Alireza Miryazdi [Tue, 30 Aug 2022 21:11:22 +0000 (21:11 +0000)]
examples/webrtc: add some missing unrefs
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2958>
Seungha Yang [Mon, 29 Aug 2022 20:02:31 +0000 (05:02 +0900)]
d3d11memory: Fix GstAllocator::mem_copy() implementation
We were checking possible bind flags for the DXGI format
of the source texture but that's never applied to
the destination texture desc.
Just use the already configured bind (and misc) flags of source texture
for the destination texture allocation without additional check.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2950>
Rafael Caricio [Tue, 30 Aug 2022 12:29:41 +0000 (14:29 +0200)]
audiovisualizer: fix buffer mapping to not increase refcount
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2953>
Stéphane Cerveau [Tue, 31 May 2022 13:18:03 +0000 (15:18 +0200)]
docs: disable in static build
Following gst-plugins-base, disable docs if static_build
in:
- gstreamer
- gst-plugins-good
- gst-plugins-ugly
- gst-libav
- gstreamer-vaapi
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2529>
Robert Rosengren [Wed, 24 Aug 2022 06:22:49 +0000 (08:22 +0200)]
curlbasesink: gst_curl_base_sink_transfer_thread_close is internal
gst_curl_base_sink_transfer_thread_close is moved from external header
to be static function, as it has no users.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2732>
Robert Rosengren [Thu, 7 Jul 2022 07:20:04 +0000 (09:20 +0200)]
curlhttpsink: Only set MIME as content-type if not set by property
Setting the content-type property shall override internally detected MIME
types, to make it possible to do as following example (where audio/basic to be
used prior to audio/x-mulaw):
gst-launch-1.0 ... ! mulawenc ! audio/x-mulaw,rate=8000,channels=1 !
curlhttpsink location=<url> content-type=audio/basic
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2732>
Seungha Yang [Thu, 25 Aug 2022 15:16:56 +0000 (00:16 +0900)]
d3d11: Update library doc
* Private header name is changed to gstd3d11-private.h to follow
naming convention
* Add Since mark everywhere
* Update member variable names to be consistent with the other
object implementations in this library
* Correct outdated documentation
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2945>
Jordan Petridis [Thu, 18 Aug 2022 12:25:08 +0000 (15:25 +0300)]
docker/windows: Pass a couple installargs to python3
From these, only PrependPath isn't enabled by default,
but its nice to explicitly enable the ones we need anyway.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2933>
Olivier Crête [Wed, 24 Aug 2022 16:42:12 +0000 (12:42 -0400)]
value: Use g_critical() when trying to serialize things that can't be
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2823>
Olivier Crête [Mon, 1 Aug 2022 18:00:20 +0000 (14:00 -0400)]
gstvalue: Don't loop forever when serializing invalid flag
The serialization code would loop forever if an invalid flag was sent into it.
With unit test for this corner case.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2823>
Sebastian Dröge [Tue, 23 Aug 2022 16:40:54 +0000 (19:40 +0300)]
bin: Don't propagate state change errors of elements in locked state
Theoretically having elements in locked state should not have any effect
at all when the surrounding bin is doing state changes. However
previously a state change error of a locked element would cause the
bin's state change to also fail, which is clearly not intended.
State change failures of locked elements are to be handled by whoever
set the element to locked state. By always returning them here it is
impossible for the owner of the element to handle state change failures
gracefully without potentially affecting the whole pipeline's state
changes.
Non-failure returns are still returned as-is as the distinction between
ASYNC/NO_PREROLL/SUCCESS has big consequences on the state changes of
the bin and overall pipeline. Theoretically SUCCESS should also be
returned in all cases but I can't estimate the effects this would have
on the overall pipeline.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2932>
Sebastian Dröge [Tue, 23 Aug 2022 16:12:17 +0000 (19:12 +0300)]
x(v)imagesink: Don't create invalid GstNavigationModifierType by simply passing through X11 event states
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2931>