Nirbheek Chauhan
c686896438
ci: Force handle-subprojects-cache.py to print its output
...
Set python stdout to unbuffered when copying the subproject cache so
that we get updates while it is running, and not all at once when the
command ends.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5043 >
2023-07-17 05:52:24 +00:00
Nirbheek Chauhan
6d11e571d8
ci: Fix Python Windows Cert Store issue properly
...
Just import Mozilla's CA certs from certifi so that all root certs are
available. This fixes meson being unable to download any subproject
sources for caching.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5043 >
2023-07-17 05:52:24 +00:00
Nirbheek Chauhan
ab85826498
ci: Eliminate MSYS from the windows docker image
...
We require MSYS2 now
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5043 >
2023-07-17 05:52:24 +00:00
Nirbheek Chauhan
038a8c5308
ci: Speed up windows image builds a bit
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5043 >
2023-07-17 05:52:24 +00:00
Olivier Crête
e8731f26de
docs: Replace gst-omx with v4l2 in memory allocation example
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4976 >
2023-07-16 19:10:03 +00:00
Olivier Crête
48c43e5b7f
gst-omx: Retire the whole package
...
The OpenMAX standard is long dead and even the Raspberry Pi OS
no longer supports it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4976 >
2023-07-16 19:10:03 +00:00
Nirbheek Chauhan
62d3e8fc32
meson: Ensure that soup plugin is built on Windows
...
The libpsl subproject wasn't building successfully and CI didn't
notice because:
1. The plugin wasn't explicitly enabled
2. Even when the plugin is explicitly enabled, the dep is not required
at build time when not building a static plugin
So fix all of these issues.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5038 >
2023-07-15 05:06:35 +00:00
Seungha Yang
fdb3cdf1fd
qsv: Remove x86_64 constraint on Linux
...
Updated oneVPL SDK supports 32bit and ARM build
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5032 >
2023-07-14 13:12:29 +00:00
Seungha Yang
25d10acaa2
qsv: Re-apply MinGW build workaround
...
Apply the changes of the commits
c80132e4a3
and
23261bccbb
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5032 >
2023-07-14 13:12:29 +00:00
Seungha Yang
1bc5dc778c
qsv: Update oneVPL SDK version to v2023.3.0
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5032 >
2023-07-14 13:12:29 +00:00
Nirbheek Chauhan
a9e725bc3b
ci: Don't run integration testsuites and vs builds on vaapi changes
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5026 >
2023-07-13 20:54:49 +00:00
Michael Tretter
a92a64ae67
v4l2videoenc: remove empty sink_query
...
The sink_query() function simply calls the sink_query() function of the parent
videoencoder class. Remove the override to simply directly call the parent's
function.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5034 >
2023-07-13 16:25:06 +00:00
Michael Tretter
a28b81fb4f
v4l2videoenc: replace custom QUERY_CAPS handling with getcaps callback
...
The videoencoder base class uses getcaps() to ask a subclass for the caps in its
sink_query_default() implementation.
Replace the custom handling of the QUERY_CAPS in the v4l2videoenc with an
implementation of getcaps() that returns the caps that are supported by the
v4l2videoenc to return these caps in the query.
This getcaps() implementation also calls the provided proxy_getcaps(), which
sends a caps query to downstream. This fixes the v4l2videoenc element to respect
limits of downstream elements in a sink query.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5034 >
2023-07-13 16:25:06 +00:00
Olivier Crête
98217f1892
debug-viewer: Remove unnecessary call to gettext.bind_textdomain_codeset()
...
It has been deprecated in Python 3.8 and removed in 3.10
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5027 >
2023-07-13 15:07:20 +00:00
Seungha Yang
9a902afce4
codecs: Use release_frame() instead of drop_frame()
...
drop_frame() will post QoS message which is not intended here
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5024 >
2023-07-13 13:48:46 +00:00
Seungha Yang
45766f2448
codecs: Propagate downstream flow ERROR
...
Don't translate downstream flow ERROR to OK
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5024 >
2023-07-13 13:48:46 +00:00
Nirbheek Chauhan
b45317e247
ci: Speed up configure on windows jobs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5018 >
2023-07-12 21:17:26 +00:00
Nirbheek Chauhan
03011f5e5d
ci: Renormalize only meson diff files, not all files
...
It takes a few minutes to run normalize on *all* files in the git
checkout, we only want it for diff_files which are in packagefiles
See: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1754
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5018 >
2023-07-12 21:17:25 +00:00
Nirbheek Chauhan
576ec6e72e
d3d11: Fix build on MSYS2 GCC
...
```
../subprojects/gst-plugins-bad/tests/examples/d3d11/d3d11overlay.cpp:145:37: error:
invalid conversion from 'unsigned int' to 'D2D1_DRAW_TEXT_OPTIONS' [-fpermissive]
145 | D2D1_DRAW_TEXT_OPTIONS_CLIP | D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| unsigned int
```
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5018 >
2023-07-12 21:17:25 +00:00
Nirbheek Chauhan
20d150a3b4
libpsl.wrap: Fix MSYS2 build failure
...
Also switch from git repo to tarball.
https://github.com/rockdaboot/libpsl/pull/211
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5018 >
2023-07-12 21:17:25 +00:00
Nirbheek Chauhan
c9f31b8100
cairo.wrap: Bump to latest to fix MSYS2 build failure
...
```
../subprojects/cairo/src/win32/cairo-dwrite-font.cpp:722:50: error: 'MCW_PC' was not declared in this scope
722 | _controlfp_s(&control_word, _CW_DEFAULT, MCW_PC);
| ^~~~~~
```
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5018 >
2023-07-12 21:17:25 +00:00
Nirbheek Chauhan
c6d27a3ca7
fribidi.wrap: Move to tarball, bump, provide dep
...
Wrap needs to provide the dep now after the pango bump.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5018 >
2023-07-12 21:17:25 +00:00
Nirbheek Chauhan
5d30524c29
pango.wrap: Bump to 1.50.14, remove merged patch
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5018 >
2023-07-12 21:17:25 +00:00
Nirbheek Chauhan
9c882287d5
fontconfig.wrap: Bump and fix MSYS2 build failure
...
Apply upstream patch:
https://gitlab.freedesktop.org/fontconfig/fontconfig/-/merge_requests/283
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5018 >
2023-07-12 21:17:25 +00:00
Nirbheek Chauhan
20eef720f0
harfbuzz.wrap: Bump to latest to fix MSYS2 build failure
...
Need the following commit:
7dfa672dac
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5018 >
2023-07-12 21:17:25 +00:00
Nirbheek Chauhan
8e1b6accbd
meson: Always use forward slashes in defines with paths
...
Fixes the following build failure on MSYS2:
```
../subprojects/gstreamer/tests/check/elements/filesrc.c: In function 'test_seeking':
../subprojects/gstreamer/tests/check/elements/filesrc.c:107:53: error: incomplete universal character name \U
107 | g_object_set (G_OBJECT (src), "location", TESTFILE, NULL);
| ^
../subprojects/gstreamer/tests/check/elements/filesrc.c:107:53: warning: unknown escape sequence: '\A'
../subprojects/gstreamer/tests/check/elements/filesrc.c:107:53: warning: unknown escape sequence: '\g'
../subprojects/gstreamer/tests/check/elements/filesrc.c:107:53: warning: unknown escape sequence: '\s'
../subprojects/gstreamer/tests/check/elements/filesrc.c:107:53: warning: unknown escape sequence: '\g'
../subprojects/gstreamer/tests/check/elements/filesrc.c:107:53: warning: unknown escape sequence: '\c'
```
Due to: `-DTESTFILE=\"C:\\Users\\Administrator\[...]`
https://gitlab.freedesktop.org/nirbheek/gstreamer/-/jobs/45317733
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5018 >
2023-07-12 21:17:25 +00:00
Nirbheek Chauhan
ae73284a2d
ci: Re-enable MSYS2 job
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5018 >
2023-07-12 21:17:25 +00:00
Nirbheek Chauhan
1f5e92bc3c
ci: Fix windows visual studio x86 job
...
meson setup --vsenv will actually always pick the host arch (64-bit),
not 32-bit, so we have to force it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5018 >
2023-07-12 21:17:25 +00:00
Víctor Manuel Jáquez Leal
180465c005
vaapidecode,vaapipostproc: Disable DMAbuf from caps negotiation
...
Given the amount of complains about artifacts when negotiating dmabuf
given incompatible drm-formats, and that there's no enough bandwidth
for a proper and quick fix in gstreamer-vaapi, this patch disables,
from decoders and postprocessor, the DMABuf caps feature.
For those who needs DMABuf can use the va elements in -bad, increasing
their ranking for autoplugging by using the environment variable
GST_PLUGIN_FEATURE_RANK=vah264dec:MAX, for example.
This can be considered a first step to the deprecation of
gstreamer-vaapi in favor of the va plugin in -bad.
Fixes : #1137
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5010 >
2023-07-12 19:30:36 +00:00
Philippe Normand
4dc503e1e4
decodebin3: Remove spurious input locking during parsebin reconfiguration
...
Commit 22917b140f
added extra locks in
`reset_input_parsebin()` but all call sites of that function already take the
input lock.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5022 >
2023-07-12 18:33:00 +00:00
Michael Tretter
5de27e0620
v4l2videoenc: always allocate CAPTURE buffer from our pool
...
The videoencoder base class always uses the negotiated allocator for allocating
coded buffers and ignores the negotiated buffer pool. Therefore, the
v4l2videoenc always has to copy buffers from the pool into the allocated
output buffers.
This breaks downstream elements that want to import the CAPTURE buffers of the
v4l2videoenc, since the v4l2videoenc copies the exported CAPTURE buffers and
sends the copies downstream.
Always use the CAPTURE buffer pool for acquiring CAPTURE buffers instead of
allocating the buffers in the base class.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4230 >
2023-07-12 16:15:06 +00:00
Alicia Boya García
9ca194d8cc
harness: Fix race condition when torn down during the handling of a non-serialized query or event
...
It's possible and normal to tear down a harness while the pipeline is
running. At the same time, it's desired for the
`gst_harness_pad_link_tear_down()` function to be synchronous.
This has created the conflict where the main thread may request a
harness to be torn down while it's in use or about to be used by a pad
in the streaming thread.
The previous implementation of `gst_harness_pad_link_tear_down()` tried
to handle this by taking the stream lock of the harnessed pad and
resetting all the pad functions while holding it. That approach was
however insufficient to handle the case where a non-serialized event
or query is being handled or about to be handled in a different thread.
This edge case was one race condition behind the flakes in the flvmux
check tests -- the rest being covered by https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2803 .
This patch fixes the problem by adding an intermediate ref-counted
object, GstHarnessLink, which replaces the usage of the HARNESS_KEY
association. GstHarnessLink allows the pad functions such as event,
query and chain to borrow a reference to GstHarness and more
importantly, to lock the GstHarnessLink during their usage to block
(delay) its destruction until no users are left, and guarantee that any
future user will not receive an invalid GstHarness handle past its
destruction.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5017 >
2023-07-12 13:18:00 +00:00
Carlos Rafael Giani
da3b51c0c4
gl: Take into account viv-fb vs. viv_fb naming in meson scripts
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5020 >
2023-07-12 21:35:57 +10:00
Matthew Waters
a2d9584b27
gl: provide a pkg-config/gir file for the viv-fb backend
...
Required to be able to generate coherent bindings for window system
specific APIs due to limitations in gobject-introspection.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5020 >
2023-07-12 21:35:55 +10:00
Matthew Waters
ffb2e87fd4
gl: don't install the viv-fb window header file
...
It is not needed at all by any external implementations and should not
be exposed to the outside world.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5020 >
2023-07-12 21:31:45 +10:00
Stéphane Cerveau
0502897d3f
readme: cleanup the static build paragraph style
...
Respect the 80 chars limit and cleanup the markdown format.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5011 >
2023-07-11 20:18:31 +00:00
Nicolas Dufresne
60afc6cc95
python: Fix variable name for gst_element_factory_make
...
In order to use keyword argument, the names shoudl match the documentation. Both
arguments name was changed in the override.
Fixes : #2779
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4982 >
2023-07-11 14:39:30 +00:00
Seungha Yang
31c1cf0150
qt6d3d11: Set sampler filtering method
...
QQuickItem::smooth property doesn't seem to be propagated to
newly created QSGSimpleTextureNode automatically.
Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2793
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5004 >
2023-07-11 12:14:17 +00:00
Seungha Yang
521ba8f65a
qt6: Set sampler filtering method
...
QQuickItem::smooth property doesn't seem to be propagated to
newly created QSGSimpleTextureNode automatically.
Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2793
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5004 >
2023-07-11 12:14:17 +00:00
David Craven
c79d16ae80
matroska: demux: Strip signal byte from encrypted blocks
...
Removes the signal byte when the frame is unencrypted to
be consistent with when the frame is encrypted.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4997 >
2023-07-11 10:26:36 +00:00
Jordan Petridis
a406b9e766
ci: Update ref for ci-templates include
...
This should help with the spurious CI failures when gitlab,
responds with a 500 temporarily.
https://gitlab.freedesktop.org/freedesktop/ci-templates/-/merge_requests/178
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4947 >
2023-07-11 08:50:37 +00:00
Maksym Khomenko
831737124f
appsink: add missing make_writable call
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4991 >
2023-07-11 07:08:38 +00:00
Edward Hervey
654609ef15
dsd: Fix documentation parameters
...
There were some inconsistencies between documentation and function signatures
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5002 >
2023-07-11 05:17:55 +00:00
Stéphane Cerveau
e84e7df950
readme: add gstreamer-full static documentation
...
Add `-Dgst-full-target-type=static_library` documentation
to explain how to create a self contained GStreamer application
or library.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4893 >
2023-07-10 23:40:25 +00:00
Tim-Philipp Müller
15957bcdc9
Revert "base: videosink: Avoid positing message on the bus before being constructed"
...
This reverts commit 893e4ed0dd
.
This caused regressions in existing elements which override/set things
like QoS and such in their own init functions. If the base class does
this in ::constructed() now it will override the subclass settings
again with its own, which can have unintended side-effects.
Case in point is gdkpixbufsink which disabled QoS there, and this
patch would reliably make the unit test fail in valgrind because
now frames are dropped because of QoS (when QoS should really be
disabled).
Fixes #2794
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5006 >
2023-07-10 21:54:51 +00:00
Philippe Normand
424a78c9b9
webrtcbin: Prevent critical warning when creating an additional data channel
...
The max_channels value wasn't clamped to 65534 in all situations.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5001 >
2023-07-10 14:08:09 +00:00
Doug Nazar
462aaa3a6a
ges: validate: Use correct types when getting structure values
...
From https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/247
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4995 >
2023-07-10 09:40:27 +01:00
Doug Nazar
7c8397fb11
ges: tests: Use correct variable types when setting properties
...
From https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/247
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4995 >
2023-07-10 09:40:20 +01:00
Nicolas Dufresne
bc294bd89d
v4l2: videodec: Don't wait for src_ch if active
...
If the capture pool is already active, like when handling gaps at the
start of a stream, do not setup the decoder to wait for src_ch event.
Otherwise the decoder will endup waiting for that at the wrong moment
and exit the decoding thread unexpectedly.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4590 >
2023-07-07 16:23:48 -04:00
Nicolas Dufresne
c293ebc039
v4l2: videodec: Move pool setup inside negotiate()
...
Move all the pool configuration inside the negotiate() virtual function.
This allow settting up a pool with default format whenever the base
class wants to start without input data, like gaps.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4590 >
2023-07-07 16:23:48 -04:00