Víctor Manuel Jáquez Leal [Wed, 13 Apr 2022 03:58:46 +0000 (05:58 +0200)]
vah264enc: Use GstVaFeature enum for enabling MBBRC.
GstVaFeature is a common enumeration for auto/disabled/enabled kind of
property setting.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2169>
Víctor Manuel Jáquez Leal [Wed, 13 Apr 2022 03:56:59 +0000 (05:56 +0200)]
vah264enc: Move rate-control enum to encoder class helper.
Since it's a common enumeration used, as user setting property, for
most of codecs.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2169>
Víctor Manuel Jáquez Leal [Wed, 13 Apr 2022 03:52:31 +0000 (05:52 +0200)]
vah264enc: Add device-path property.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2169>
Guillaume Desmottes [Fri, 15 Apr 2022 15:00:24 +0000 (17:00 +0200)]
gstleaks: fix pthread_atfork return value check
pthread_atfork() returns 0 on success.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2195>
Fabrice Fontaine [Fri, 15 Apr 2022 16:58:49 +0000 (18:58 +0200)]
gst-python: fix build on systems without C++ compiler
Fix the following build failure on systems without C++ compiler:
The following exception(s) were encountered:
Running "/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++'"
Fixes:
- http://autobuild.buildroot.org/results/
eebf65036f79d21d347714d62afecd0108393308
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2200>
Corentin Damman [Fri, 15 Apr 2022 13:19:36 +0000 (13:19 +0000)]
cudautils: fix critical typo in gst_cuda_buffer_fallback_copy
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2194>
hoonhee.lee [Fri, 15 Apr 2022 05:03:08 +0000 (14:03 +0900)]
playbin3: fix missing lock when unknown stream type in pad-removed cb
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2193>
Edward Hervey [Thu, 14 Apr 2022 13:21:48 +0000 (15:21 +0200)]
decodebin3: Don't duplicate stream selections
Make sure that the requested stream selection isn't identical to the current
one. If that's the case, just carry on as usual.
This avoids multiple `streams-selected` posting ... when the selection didn't
change.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2185>
Sebastian Dröge [Fri, 15 Apr 2022 13:53:25 +0000 (16:53 +0300)]
x264enc: Don't try to fixate ANY allowed caps
Instead fall back to the template caps.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2197>
Tim-Philipp Müller [Thu, 14 Apr 2022 17:44:48 +0000 (18:44 +0100)]
appsrc: fix annotations
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2188>
Sebastian Dröge [Fri, 15 Apr 2022 16:55:34 +0000 (19:55 +0300)]
rtpbasepayload: Don't write header extensions if there's no corresponding input buffer for the packet
The GstRTPHeaderExtension API requires the input buffer to exist.
This can happen if the output packet is generated e.g. from a caps or
tags event like in the case for rtpgstpay.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2198>
Brad Hards [Thu, 14 Apr 2022 10:10:46 +0000 (20:10 +1000)]
tests: rename 'icles' subdir to be more descriptive
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2178>
Havard Graff [Thu, 7 Apr 2022 01:12:47 +0000 (11:12 +1000)]
qtdemux: fix leak of channel_mapping
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2179>
Edward Hervey [Thu, 14 Apr 2022 06:23:51 +0000 (08:23 +0200)]
tsdemux: Fix AC-4 detection
This regression was introduced by
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1102
and has been present since 1.18
* Stream Type 0x06 is defined in the base mpeg-ts specification as Private PES
Packets. Determining the content should be solely based on descriptors found
within the PMT.
* This was abused in that commit by defining a "bluray-only" stream type for AC4
: `ST_BD_AUDIO_AC4`
* This should be entirely handled in the regular private pes handling further
down in the code
Fixes #1154
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2175>
Seungha Yang [Sat, 9 Apr 2022 19:11:02 +0000 (04:11 +0900)]
docs: Update for Windows specific parts
* glimagesink is not a recommended one on Windows
* Remove directdrawsink section
* d3dvideosink is legacy and should not be recommended
* Add d3d11videosink part
* directsoundsink should be deprecated
* Add wasapisink/wasapi2sink part
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2144>
Sebastian Dröge [Wed, 13 Apr 2022 13:59:50 +0000 (16:59 +0300)]
ptpclock: Fix wrong condition order from last commit
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2171>
Marc Leeman [Wed, 13 Apr 2022 12:34:57 +0000 (14:34 +0200)]
gst-rtsp-server: minor spelling fixes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2170>
He Junyan [Sun, 10 Apr 2022 09:28:03 +0000 (17:28 +0800)]
va: h264enc: Correct the hierarchical level name for pyramid-b frames.
The current way names the level by the number of B frames it contains, the
less it contains, the higher level it is. So the non ref B frames are in the
lowest layer and the B frames in the highest level refer to I/P frames.
But the widely used way is just the opposite, the ref B frames are in the
lower level and non ref B frames are at the highest level.
The is just a terminology change, and does not have any effect for compression
result and quality.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2149>
Ming Qian [Wed, 13 Apr 2022 02:17:15 +0000 (10:17 +0800)]
doc: Update cache after NV12_8L128 and NV12_10BE_8L128 addition
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2158>
Ming Qian [Tue, 12 Apr 2022 06:15:01 +0000 (14:15 +0800)]
v4l2: Add NV12_8L128 in gst_v4l2_object_get_caps_info
It should be included in
<https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1379>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2158>
Ming Qian [Tue, 12 Apr 2022 02:35:26 +0000 (10:35 +0800)]
v4l2: Add a missed break
Fix a typo that miss a break in the switch statement
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2158>
He Junyan [Tue, 12 Apr 2022 02:34:27 +0000 (10:34 +0800)]
codecs: av1parser: Fix a typo in seq_level_idx check.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2157>
Seungha Yang [Mon, 11 Apr 2022 16:35:43 +0000 (01:35 +0900)]
meson: gst-play: Restore Windows high-resolution timer support
Fix regression of the commit
2952a73f4083487f33ae83407bef5245d2f8fef2
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2154>
Sebastian Dröge [Tue, 12 Apr 2022 16:22:51 +0000 (19:22 +0300)]
ptpclock: Allow at least 100ms delay between Sync/Follow_Up and Delay_Req/Delay_Resp messages
It doesn't matter for measurement purposes whether receiving them takes
a while and various PTP servers are not prioritizing to send them,
causing them to be dropped unnecessarily and preventing proper
synchronization with such servers.
This is especially a problem if the RTTs in the network are very low
compared to the additional delay imposed by the server.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2161>
Seungha Yang [Tue, 12 Apr 2022 16:46:34 +0000 (01:46 +0900)]
amfh265enc: Handle preset option
Add missing preset option handling
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2165>
Seungha Yang [Tue, 12 Apr 2022 16:39:43 +0000 (01:39 +0900)]
amfencoder: Do shared resource copy only if texture belongs to other device
Staging texture from the same d3d11device can be copied without
shared resource handling
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2165>
Seungha Yang [Mon, 11 Apr 2022 16:01:23 +0000 (01:01 +0900)]
win32: Enable high-resolution timer for MinGW build
timeapi.h is missing in our MinGW toolchain. Include mmsystem.h
header instead, which defines struct and APIs in case of our MinGW
toolchain. Note that in case of native Windows10 SDK (MSVC build),
mmsystem.h will include timeapi.h
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2153>
Sebastian Dröge [Tue, 12 Apr 2022 12:23:08 +0000 (15:23 +0300)]
Fix `transfer` gobject-introspection annotation typos
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2160>
Olivier Crête [Mon, 11 Apr 2022 21:03:41 +0000 (16:03 -0500)]
wpevideosrc: Give WebKit the keyboard, touch and pointer modifiers
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2156>
Olivier Crête [Mon, 11 Apr 2022 20:56:19 +0000 (15:56 -0500)]
wpesrc: Convert from utf32 to support other keys
This makes all of the non-letter keys work.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2156>
Olivier Crête [Mon, 11 Apr 2022 20:54:05 +0000 (15:54 -0500)]
wpesrc: Initialize key event to 0
Otherwise, WebKit sees random modifiers
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2156>
Andoni Morales Alastruey [Tue, 12 Apr 2022 09:20:00 +0000 (11:20 +0200)]
amfcodec: fix setting quality presets
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2159>
Edward Hervey [Mon, 11 Apr 2022 08:32:40 +0000 (10:32 +0200)]
mxfdemux: Fix issue with re-syncing
In case of re-syncing (i.e. moving to another partition to avoid too much of an
interleave), there was previously no checks to figure out whether a given
partition was already fully handled (i.e. when coming across it again after a
previous resync).
In order to handle this at least for single-track partitions, check whether we
have reached the essence track duration, and if so skip the partition.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2150>
Edward Hervey [Mon, 11 Apr 2022 08:31:15 +0000 (10:31 +0200)]
mxfdemux: Don't double-increase track position
The essence track position should only be overriden if we sucesfully switched to
another position. In case of EOS we do not want to override it else we would
increase the track position *again* at the end of this function
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2150>
Seungha Yang [Mon, 11 Apr 2022 16:49:17 +0000 (01:49 +0900)]
amfcodec: Fix for MinGW build
timeapi.h header might not be missing depending on toolchain.
Also do hard meson error if winmm dep is not available but
amfcodec is explicitly enabled.
And fixing various GCC build warning errors.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2155>
Andoni Morales Alastruey [Mon, 11 Apr 2022 13:55:07 +0000 (15:55 +0200)]
gstreamer-sharp: fix typo in script name
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2152>
Robert Rosengren [Mon, 11 Apr 2022 11:40:56 +0000 (13:40 +0200)]
rtpbin: Fix division by zero when using ts-offset-smoothing-factor
avg_ts_offset may cause division by zero when calculating potential
overflow protection. This fix will avoid the division.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2151>
Seungha Yang [Sat, 9 Apr 2022 14:32:19 +0000 (23:32 +0900)]
qsv: Add JPEG encoder
Note that YUY2 is not supported yet, since the format support is not
implemented now.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2142>
Matthew Waters [Sun, 10 Apr 2022 00:55:02 +0000 (10:55 +1000)]
subparse: don't try to index string with -1
If the len of the string turns out to be 0, str[len - 1] resolved to
str[-1] which is not a good idea.
Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=46543
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2147>
Tim-Philipp Müller [Sat, 9 Apr 2022 19:54:58 +0000 (20:54 +0100)]
Update openh264 wrap to v2.2.0 + fixes from master
Commit
0819f288dc5fc24fb34089113bc230aea65c8375 to be precise.
We need post-v2.2.0 build fixes from master, otherwise linking
fails because of missing symbols.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2145>
Seungha Yang [Sat, 9 Apr 2022 17:34:17 +0000 (02:34 +0900)]
amfcodec: Update plugin cache
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2143>
Seungha Yang [Fri, 8 Apr 2022 15:52:07 +0000 (00:52 +0900)]
nvencoder: Update property names and default values
Update properties of newly written D3D11/CUDA mode encoders
to be consistent with Intel QSV plugin. And rename "zerolatency"
to "zero-reorder-delay" because previous "zerolatency" may
misleading
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2140>
Seungha Yang [Fri, 8 Apr 2022 15:00:59 +0000 (00:00 +0900)]
qsvencoder: Update property names and default values
Stop using MSDK plugins property naming, instead use unified names
and default values to be consistent with newly written NVIDIA encoders.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2140>
Seungha Yang [Wed, 30 Mar 2022 19:16:24 +0000 (04:16 +0900)]
amfcodec: Add support for h264/h265 encoding
New encoder implementations for AMD GPU using AMF API
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2109>
Seungha Yang [Wed, 30 Mar 2022 16:36:37 +0000 (01:36 +0900)]
amfcodec: Import AMF SDK headers
SDK version v1.4.24 at the commit of
https://github.com/GPUOpen-LibrariesAndSDKs/AMF/commit/
fbf12cd39fe1812ed902525a1c001307b94871b9
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2109>
Seungha Yang [Fri, 8 Apr 2022 17:13:57 +0000 (02:13 +0900)]
msdk: Fix Windows build
Headers of gstva should not be included on Windows
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2141>
Tristan Matthews [Wed, 6 Apr 2022 13:46:30 +0000 (09:46 -0400)]
rtpopusdepay: assume 2 channels if sprop-stereo is missing
Fixes #1064
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2125>
Seungha Yang [Thu, 7 Apr 2022 19:24:36 +0000 (04:24 +0900)]
d3d11window: Use ANSI version WIN32 API explicitly
We were using ANSI version APIs implicitly because UNICODE is not
defined by ourselves. But potentially it can be broken if user
defines UNICODE.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2131>
Seungha Yang [Thu, 7 Apr 2022 19:02:55 +0000 (04:02 +0900)]
d3d11: Run indent
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2131>
Matthew Waters [Fri, 8 Apr 2022 01:10:49 +0000 (11:10 +1000)]
ogg: fix possible buffer overrun
If an ogg stream does not match our expectations of how the end of a
buffer may be structured, it was possible to read memory past the end of
the buffer parsed by libogg. Include a bounds check for this case and
stop parsing.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3930
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2134>
Mathieu Duponchelle [Thu, 7 Apr 2022 23:52:32 +0000 (01:52 +0200)]
rtpbasepayload: fix transfer annotation for push and push_list
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2133>
Matthew Waters [Fri, 8 Apr 2022 03:44:53 +0000 (13:44 +1000)]
gst: remove custom logger for critical/warnings/fatals
It's not really needed anymore (only calls out to
g_log_default_handler() and interferes with applications using
g_log_set_default_handler().
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2135>
hoonhee.lee [Thu, 7 Apr 2022 01:08:37 +0000 (10:08 +0900)]
riff-media: fix memory leak after usage for g_strjoin
This leak is observed with valgrind.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2129>
Seungha Yang [Fri, 11 Mar 2022 11:46:11 +0000 (20:46 +0900)]
h265parser: Fix short_term_ref_pic_set() size calculation
This field is used by DXVA/NVDEC/VA, and each specification
describes (NVDEC is not well documented) that it's the number of
bits used in short_term_ref_pic_set().
DXVA doesn't explicitly mention that whether the size of
emulation preventation bytes (EPB) is inclusive or not, but
VA is clearly specifying that it's the size after removing
EPB. Excluding EPB size here makes more sense therefore.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1930>
Matthew Waters [Wed, 6 Apr 2022 09:22:44 +0000 (19:22 +1000)]
build/fuzzing: integrate fuzz targets into the build system
Currently disabled but may be enabled later.
Updates the existing fuzzing to use shared libraries as that's easier
for meson to deal with if there is a mix of static and shared libraries
on the system.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2123>
Stéphane Cerveau [Thu, 31 Mar 2022 09:45:13 +0000 (11:45 +0200)]
meson: add the list of tools to summary
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2078>
Bastian Krause [Wed, 6 Apr 2022 16:08:46 +0000 (18:08 +0200)]
gltransformation: let graphene alloc its structures memory aligned
With NEON instructions enabled, graphene expects the memory passed to it
16-byte-aligned. Otherwise unaligned memory access faults occur causing
SIGBUS signals.
graphene has alloc functions for its structures that take care of this,
so use them.
See also: https://github.com/ebassi/graphene/issues/215#issuecomment-
794744829
Suggested-by: Sebastian Dröge <sebastian@centricular.com>
Signed-off-by: Bastian Krause <bst@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1321>
Matthias Fuchs [Fri, 11 Mar 2022 14:13:21 +0000 (15:13 +0100)]
qmlglsrc: Fix deadlock when stopping
This fix makes sure that streaming thread stops waiting when the
qmlglsrc element transitions from playing to paused.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2115>
Edward Hervey [Wed, 6 Apr 2022 09:21:25 +0000 (11:21 +0200)]
mxfvanc: Handle empty VANC packets
Some XDCAM recorders store empty packets for VANC, and don't even include the
2byte length.
Handle them in the same way as VANC packets with 0 packets.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2122>
Matthias Fuchs [Mon, 14 Mar 2022 16:20:38 +0000 (17:20 +0100)]
qmlglsrc: Fix missing depth & stencil buffer
Qt Quick primitives which have some kind of alpha blending
(transparency, rounded corners) are z-sorted by Qt and rendered in the
correct order. For opaque primitives Qt relies on the OpenGL depth
buffer to correctly determine the visibility of stacked elements.
This change enables the depth buffer to make sure that opaque primitives
are correctly z-stacked.
https://doc.qt.io/qt-6/qtquick-visualcanvas-scenegraph-renderer.html#opaque-primitives
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2114>
Fuga Kato [Wed, 6 Apr 2022 06:45:44 +0000 (06:45 +0000)]
docs: design: negotiation: Fix indentation in pseudo-code
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2120>
Sebastian Dröge [Wed, 6 Apr 2022 07:14:19 +0000 (10:14 +0300)]
rtpstats: Remove non-existing twcc field docs from RTPPacketInfo and add missing field docs
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2121>
Sebastian Dröge [Tue, 5 Apr 2022 17:28:36 +0000 (20:28 +0300)]
rtpsession: Remove unused twcc fields from the struct
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2121>
Fabrice Fontaine [Mon, 4 Apr 2022 21:32:56 +0000 (23:32 +0200)]
gst-libav: fix build on systems without C++ compiler
Fix the following build failure on systems without C++ compiler:
The following exception(s) were encountered:
Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'"
Fixes:
- http://autobuild.buildroot.org/results/
8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2112>
Nirbheek Chauhan [Mon, 4 Apr 2022 05:16:24 +0000 (10:46 +0530)]
appsrc: Clarify buffer ref semantics in signals
The documentation could be read to mean that the caller continuous to
'own' the buffer, and that there is some other mechanism to find out
when to unref it.
Clarify that "not taking ownership" here means "taking a reference",
and specify that you can unref it at any time after calling the
function.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2110>
Andoni Morales Alastruey [Wed, 23 Mar 2022 20:46:23 +0000 (21:46 +0100)]
csharp: check format in the pre-commit hook
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/983>
Andoni Morales Alastruey [Thu, 30 Sep 2021 11:02:26 +0000 (13:02 +0200)]
gstreamer-sharp: apply new code style to alll sources
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/983>
Andoni Morales Alastruey [Thu, 30 Sep 2021 11:01:26 +0000 (13:01 +0200)]
gstreamer-sharp: ensure a consitent code format
Use EditorConfig and dotnet-format to ensure a consistent
code style.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/983>
Sangchul Lee [Fri, 1 Apr 2022 13:52:18 +0000 (22:52 +0900)]
webrtc/datachannel: Change initial data channel state to CONNECTING
It complies with http://w3c.github.io/webrtc-pc/#dom-rtcdatachannelstate.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2099>
Seungha Yang [Mon, 4 Apr 2022 11:47:03 +0000 (20:47 +0900)]
qsvencoder: Don't use USAGE_HINT_ENCODER and enable derived image support
Peformance issue by disabled derived image support was reported
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2111>
Seungha Yang [Mon, 4 Apr 2022 11:36:14 +0000 (20:36 +0900)]
Revert "vah264enc: Disable derived image support"
This reverts commit
0011feb0d660f331abde5b1e36f1c56e9cf3b014.
The commit caused performance-wise regression for some platforms
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2111>
Tong Wu [Fri, 1 Apr 2022 07:35:17 +0000 (15:35 +0800)]
msdk: use mfxU32 instead of uint32_t
Msdk should use mfx variables defined in mfxdefs.h. Replace uint32_t
with mfxU32.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2091>
Stéphane Cerveau [Mon, 4 Apr 2022 08:12:20 +0000 (10:12 +0200)]
gst-examples: add -xobjective-c for darwin
To avoid error when including #include <AppKit/AppKit.h>
the build should include the c args xobjective-c
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2095>
Stéphane Cerveau [Fri, 1 Apr 2022 13:00:01 +0000 (15:00 +0200)]
bad: examples: fix unused res warning
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2095>
Zhao Zhili [Thu, 21 Jan 2021 08:01:38 +0000 (16:01 +0800)]
examples: fix build on macOS with gtk+-quartz-3.0
gdk_quartz_window_get_nsview is not declared in the header file now:
error: implicit declaration of function 'gdk_quartz_window_get_nsview'
is invalid in C99 [-Werror,-Wimplicit-function-declaration]
fixes #979
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2095>
Haihua Hu [Fri, 1 Apr 2022 13:47:59 +0000 (21:47 +0800)]
ximagesink/xvimagesink: use GST_XINITTHREADS to ensure call to XInitThreads
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2098>
Johan Sternerup [Tue, 29 Mar 2022 12:42:04 +0000 (14:42 +0200)]
webrtc: Improve robustness of nice agent signal handlers
NiceAgent and it's associated thread is alive for as long as
GstWebRTCICE is alive so make sure any signal handlers connected to
NiceAgent do not access data that is deleted earlier.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2073>
Seungha Yang [Sun, 3 Apr 2022 13:12:33 +0000 (22:12 +0900)]
nvcodec: Fix typos
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2107>
Seungha Yang [Sun, 3 Apr 2022 13:08:51 +0000 (22:08 +0900)]
nvencoder: Fix operator overloading
GUID equality check was inverted
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2107>
Tim-Philipp Müller [Fri, 1 Apr 2022 20:09:10 +0000 (21:09 +0100)]
libs: va: make sure va-enumtypes.h is generated before it's used
Need to add a dep for the generated header file to the dependency()
so that it gets generated before anyone tries to #include files
from it (which may happen before the actual lib is built because
that's only needed when stuff is linked together later).
See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2057#note_1323236
and CI build failures in https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2096
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2103>
Seungha Yang [Thu, 31 Mar 2022 20:02:58 +0000 (05:02 +0900)]
vah264enc: Disable derived image support
Behavior of derived image seems to be platform dependent and
it's buggy in some cases.
Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1110
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2086>
He Junyan [Fri, 1 Apr 2022 14:47:07 +0000 (22:47 +0800)]
va: h264enc: Do not use USAGE_HINT_ENCODER for input pool.
It seems that the VA_SURFACE_ATTRIB_USAGE_HINT_ENCODER is used only
for the recon surfaces, if we set this flags for input raw surfaces,
the alignment is wrong and we get broken result.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2100>
Tim-Philipp Müller [Tue, 29 Mar 2022 18:26:34 +0000 (19:26 +0100)]
ci: Don't check indentation on post merge pipelines
We're probably safe to assume that it hasn't changed
since the MR pipeline last checked it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2063>
Tim-Philipp Müller [Tue, 29 Mar 2022 17:57:21 +0000 (18:57 +0100)]
ci: stop automatically running tests post-merge
We did that in order to find flaky tests so we could add
them to our ignore lists, but that's all done now and I
doubt anyone still looks at the results, so this is just
wasting runner cycles at this point.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2063>
Nicolas Dufresne [Fri, 1 Apr 2022 19:59:58 +0000 (15:59 -0400)]
va: Fix printf format modifier for drm modifiers
DRM modifiers are 64bit, the printf modifier is platform dependant. Use
the G_GINT64_MODIFIER macro to make this printf portable.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2102>
Jan Schmidt [Fri, 1 Apr 2022 13:16:29 +0000 (00:16 +1100)]
aggregator: Improve debugging of arriving buffers
Log some details about the buffers that are arriving and
being enqueued on each sink pad.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2096>
Jan Schmidt [Fri, 1 Apr 2022 13:46:21 +0000 (00:46 +1100)]
gstreamer: Remove GST_DATAFLOW debug category
Nothing has logged anything to this category since event and
buffer dataflow was de-unified in 2005.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2097>
Xavier Claessens [Wed, 30 Mar 2022 15:06:02 +0000 (11:06 -0400)]
Use gmodule-no-export-2.0
We don't need `-Wl,--export-dynamic`, that's used only for executables
that needs to export an API to be used by plugins they load.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2031>
Xavier Claessens [Fri, 25 Mar 2022 19:00:20 +0000 (15:00 -0400)]
Remove glib and gobject dependencies everywhere
They are part of gst_dep already and we have to make sure to always have
gst_dep. The order in dependencies matters, because it is also the order
in which Meson will set -I args. We want gstreamer's config.h to take
precedence over glib's private config.h when it's a subproject.
While at it, remove useless fallback args for gmodule/gio dependencies,
only gstreamer core needs it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2031>
Xavier Claessens [Thu, 24 Mar 2022 18:15:00 +0000 (14:15 -0400)]
Fix cross build with mingw32
At least on Ubuntu 20.04 the x86_64-w64-mingw32-gcc toolchain defaults
to WinXP. We require at least Vista for FILE_STANDARD_INFO.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2022>
Xabier Rodriguez Calvar [Thu, 31 Mar 2022 10:49:48 +0000 (12:49 +0200)]
ges-smart-video-mixer: use the proper pad to get the positioner meta
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2094>
Xabier Rodriguez Calvar [Thu, 31 Mar 2022 10:47:06 +0000 (12:47 +0200)]
glcolorconvert: should copy metadatas from the incoming buffer
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2094>
Xavier Claessens [Wed, 30 Mar 2022 17:07:10 +0000 (13:07 -0400)]
Update android cross file
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/617>
Xavier Claessens [Sat, 5 Sep 2020 00:52:47 +0000 (20:52 -0400)]
Android: Implement JNI_OnLoad()
When building for Android, chances are that gstreamer is going to be
loaded from Java using System.loadLibrary(). In that case we can
initialize GStreamer (including static plugins), redirect log functions,
etc.
This code is copied from cerbero because it can be used with
gstreamer-full-1.0 too. Cerbero needs to be adapted to drop that code
and generate gst_init_static_plugins() function.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/617>
Sebastian Dröge [Fri, 1 Apr 2022 07:25:23 +0000 (10:25 +0300)]
playbin/playbin3: Allow setting a NULL URI
The URI is already initialized to NULL at the beginning and GstPlayer
was assuming that it is possible to set to NULL at a later time too.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1124
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2090>
Thibault Saunier [Thu, 31 Mar 2022 21:41:41 +0000 (23:41 +0200)]
navigation: Rename parse_state to parse_modifier_state
`parse_state` sounds a bit weird and `parse_modifier_state` is clearer.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2087>
Stéphane Cerveau [Tue, 29 Mar 2022 15:51:13 +0000 (17:51 +0200)]
base:gl: add x11 deps to gstglx11_dep
On MacOS with homebrew the xlib-xcb.h is in
own cellar /opt/homebrew/Cellar/libx11/1.7.3.1/include
Need to add the windowing dependencies to gl tests
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2061>
Seungha Yang [Fri, 25 Mar 2022 13:04:05 +0000 (22:04 +0900)]
qsvencoder: Add support for VA memory
Use VA allocator and buffer pool implementation for zero-copy
encoding with upstream VA elements
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2030>
Seungha Yang [Fri, 25 Mar 2022 12:03:02 +0000 (21:03 +0900)]
qsv: Use pipeline's VA context
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2030>
Xavier Claessens [Thu, 31 Mar 2022 18:19:46 +0000 (14:19 -0400)]
Update openjp2 and libxml2 from wrapdb
This fix their static link for Windows.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2084>