Mathieu Duponchelle
6305db1279
base/video-converter: downgrade log level
...
We don't need to know about routine operation of video conversion
at GST_DEBUG=5 level.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4993 >
2023-07-17 07:39:46 +00:00
Nirbheek Chauhan
3b3be40e40
ci: Build new windows image for cerbero MSYS2 switch
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5043 >
2023-07-17 05:52:24 +00:00
Nirbheek Chauhan
f61d56e9fa
ci: Add openssh to MSYS2 in the windows image
...
scp is needed to upload the cerbero deps artifact.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5043 >
2023-07-17 05:52:24 +00:00
Nirbheek Chauhan
585d719bd1
ci: Pick up the right branches when building a windows image
...
Now we will pick up the right gstreamer branch + namespace when
building an image, and also the right (matching, if any) cerbero
branch + namespace.
This solves the bootstrapping issue when doing an image update that
requires coordination between gstreamer and cerbero.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5043 >
2023-07-17 05:52:24 +00:00
Nirbheek Chauhan
cc6ccd881e
meson: Fix fontconfig build failure with MSYS2 gperf
...
The CI image now contains MSYS2 gperf, and the build fails due to CRLF
newlines in files generated by the build files.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5043 >
2023-07-17 05:52:24 +00:00
Nirbheek Chauhan
51cc04eafe
ci: Make deletion of cargo vendored sources less verbose
...
This is very fast under MSYS2 now, so we do not need it to be done
verbosely. There's a LOT of files in there.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5043 >
2023-07-17 05:52:24 +00:00
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