Tim-Philipp Müller
4f649c9556
Release 1.19.2
2021-09-23 01:35:17 +01:00
Tim-Philipp Müller
ca8068c6d7
Release 1.19.2
2021-09-23 01:34:50 +01:00
Tim-Philipp Müller
499d3cd726
Release 1.19.2
2021-09-23 01:34:00 +01:00
Tim-Philipp Müller
20bbeb5e37
Release 1.19.2
2021-09-23 01:33:41 +01:00
Tim-Philipp Müller
ce937bcb21
Release 1.19.2
2021-09-23 01:33:09 +01:00
Tim-Philipp Müller
b4ca58df76
Release 1.19.2
2021-09-23 01:32:33 +01:00
Mathieu Duponchelle
27d4c5157d
scripts/release: fix license files paths
...
The previous version only worked when the script was run from
the root source directory
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-docs/-/merge_requests/165 >
2021-09-23 01:20:22 +02:00
Nicolas Dufresne
eb9511646d
audiobuffersplit: Remove unneeded buffer_clip wrapper
...
This is just a small cleanup noticed while reading.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2544 >
2021-09-22 23:06:06 +00:00
Vivek R
d5e94da30c
opencv: cvtracker: add draw property
...
This property controls the drawing of rectangle around the tracked object.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2454 >
2021-09-22 20:19:10 +00:00
Vivek R
d28f11998d
opencv: add cvtracker plugin
...
This adds an object tracker plugin.
Tracker implementations from https://docs.opencv.org/3.4/d0/d0a/classcv_1_1Tracker.html
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2454 >
2021-09-22 20:19:10 +00:00
Vivek R
3764a1617d
opencv: patch to ensure headers are detected
...
This patch is used to ensure opencv headers are detected.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2454 >
2021-09-22 20:19:09 +00:00
Tim-Philipp Müller
2d23bccf47
rtph263pdepay: flag keyframes on output buffers
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1091 >
2021-09-22 14:03:57 +01:00
Sebastian Dröge
55ca21edae
clocksync: Add some debug output to the clock waiting code
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/841 >
2021-09-22 12:04:44 +00:00
Tim-Philipp Müller
11a151ef80
mpegtsmux, mpegpsmux: remove GPL from choice of licenses and add SPDX license identifiers
...
Some people need to avoid inclusion of GPL code for their use cases and thus
get easily spooked by GPL license headers. This code is actually licensed
under different licenses, only one of which is GPL, and it's already possible
to just upgrade from LGPL to GPL anyway so having the GPL listed explicitly
as one of the choices doesn't really add anything. So remove GPL from the list
and also add SPDX license identifiers while we're at it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2539 >
2021-09-22 00:20:02 +00:00
Tim-Philipp Müller
cc50672d29
pbutils: codec-utils: fix g-ir-scanner warning
...
Warning: GstPbutils: gst_codec_utils_h264_get_profile_flags_level:
unknown parameter 'codec_data' in documentation comment, should be 'codecs_data
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1279 >
2021-09-21 22:39:46 +01:00
Seungha Yang
589ff8ca6d
wasapideviceprovider: Add support for dynamic device add/remove
...
Adding IMMDeviceEnumerator::RegisterEndpointNotificationCallback
in order to support device monitoring.
On OnDeviceAdded(), OnDeviceRemoved(), and OnDefaultDeviceChanged()
callback, wasapi device provider implementation will enumerate
devices again and will notify newly added and removed device
via GstDeviceProvider API.
As a bonus point, this IMMDeviceEnumerator abstraction object
will spawn a dedicated internal COM thread, so various COM thread
related issues of WASAPI plugin can be resolved by this commit.
Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1649
Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1110
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2484 >
2021-09-21 17:34:35 +00:00
Jan Alexander Steffens (heftig)
e4a9db6abe
x264enc: Strip trailing whitespace from x264's log messages
...
x264 has linebreaks at the end of its log messages that we should
ignore.
Add G_GNUC_PRINTF to the callback to make sure GCC lets us forward the
format string to another function marked as printf (g_strdup_vprintf)
without triggering -Wformat-nonliteral.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/85 >
2021-09-21 17:50:26 +02:00
Jan Alexander Steffens (heftig)
de87e0d381
x264enc: Add the func/line info to the log callback
...
It looks awkward when it's missing. At least point us at the callback
function.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/85 >
2021-09-21 15:38:04 +02:00
Jan Alexander Steffens (heftig)
de465be3e4
x264enc: Reduce log spam about bit depth support
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/85 >
2021-09-21 15:17:59 +02:00
Nicolas Dufresne
3607c617a5
alsasink: Allow stop() function to happen during failing writes
...
In ALSA, there is possible temporary failures that may require a retry,
though in certain situation, this may leak to the write() function
holding on a lock forever preventing the pipeline from going to pause
or stop. Fix this by shortly dropping the lock between retries.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1261 >
2021-09-20 18:06:44 +00:00
Nicolas Dufresne
7b76c97de9
alsasink: Improve logging in write() function
...
This moves the "written X frames" lower so that we don't trace
confusing negative values on errors and add the error code in the
"Write error" log.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1261 >
2021-09-20 18:06:44 +00:00
Stéphane Cerveau
3c937c8023
openjpeg: add unit test
...
Test various format supported with subframes.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979 >
2021-09-20 15:11:03 +00:00
Stéphane Cerveau
0d0e89108b
jpeg2000parse + openjpeg: Switch striped mode to its own caps
...
It's not compatible with any other element that use the non-striped
mode. In addition, in this mode, we require that every frame have the
same number of stripes or that the MARKER bit be present, which is
different from the other
formats too.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979 >
2021-09-20 15:11:03 +00:00
Stéphane Cerveau
619cbca642
openjpegdec: Fix crash with AYUV64 in subframe mode
...
Remove useless generic fill_frame methods to use
the packed one for AYUV and AYUV64.
Fix gst-launch-1.0 -v videotestsrc !
video/x-raw,width=640,height=480,format=AYUV64 ! openjpegenc
num-stripes=8 ! openjpegdec max-threads=8 ! videoconvert !
autovideosink sync=false
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979 >
2021-09-20 15:11:02 +00:00
Stéphane Cerveau
86be138973
openjpegdec: support for a multithreaded decoding.
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979 >
2021-09-20 15:11:02 +00:00
Aaron Boxer
18c3437546
openjpegdec: enable sub frame mode
...
Rebuild output frame from multiple stripes input.
Keep the first frame and fill it with the following stripes to finish
a complete frame only once.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979 >
2021-09-20 15:11:02 +00:00
Olivier Crête
9e2e2f01ec
mpegtsmux: Require frame alignment for JPEG 2000
...
We have yet to implement stripe alignment with the required descriptor.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979 >
2021-09-20 15:11:02 +00:00
Olivier Crête
b2f7cb3372
openjpegdec: Reject stripes for now
...
They're not implemented.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979 >
2021-09-20 15:11:02 +00:00
Olivier Crête
27d1313404
openjpegenc: Only allow stripe with image/x-jpc format
...
It's the only format that our MPEG-TS muxer allows and the carriage of
JPEG 2000 stripes is only defined for MPEG-TS as far as I know.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979 >
2021-09-20 15:11:02 +00:00
Stéphane Cerveau
116a10d531
openjpegenc: support for a multithreaded encoding.
...
This commit introduces a multithreaded encoder allowing
to encode mulitple stripes or subframes in separated threads.
This feature aims to enhance the overall latency of a codec
pipeline.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979 >
2021-09-20 15:11:02 +00:00
Philippe Normand
0538929847
wpe: context thread dispatch fixes
...
Use dedicated mutex/cond/flag for jobs being dispatched in the context thread.
The previous code was signalling the thread startup condition, which is wrong.
When WPEContextThread::dispatch() is invoked it means the thread has already
correctly been started up.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2533 >
2021-09-20 14:44:19 +00:00
Philippe Normand
4af3442d4a
wpe: Properly wait on context thread startup condition
...
Fixes #1661
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2533 >
2021-09-20 14:44:19 +00:00
Nicolas Dufresne
9dfd237741
doc: Update kmssink caps cache
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2530 >
2021-09-20 14:08:56 +00:00
Nicolas Dufresne
360620fea4
kmssink: Add RGB16/BGR16 support
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2530 >
2021-09-20 14:08:56 +00:00
Nicolas Dufresne
f1b0b95dc4
kmssink: Sort format according to GST_VIDEO_FORMATS_ALL
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2530 >
2021-09-20 14:08:56 +00:00
Nicolas Dufresne
107b8f3ba2
kmssink: Remove big endian format inversion
...
This has been a bad interpretation of the DRM docuemntation. The formats are
fixed regardless the CPU, but for some formats, they expressed in the opposite
order as GStreamer. Same change was done in waylandsink 2 years ago.
b393b650ab
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2530 >
2021-09-20 14:08:56 +00:00
Nicolas Dufresne
e05c022c48
kmssink: Add NV61 support
...
This identically handled to NV16, so no reason not to inclue it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2530 >
2021-09-20 14:08:56 +00:00
Nicolas Dufresne
98da85ade0
kmssink: Add NV24 support
...
This was tested on RK3566 platform, using vendor DRM driver.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2530 >
2021-09-20 14:08:56 +00:00
Seungha Yang
405d311106
codecs: av1decoder: Use GstFlowReturn everywhere
...
The same modification as that of VP8 decoder
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2528 >
2021-09-20 13:03:44 +00:00
Seungha Yang
e009e80178
codecs: vp9decoder: Use GstFlowReturn everywhere
...
The same modification as that of VP8 decoder
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2528 >
2021-09-20 13:03:44 +00:00
Seungha Yang
aaeb76f09c
codecs: vp8decoder: Use GstFlowReturn everywhere
...
boolean return value is not sufficient for representing the reason
of error in most cases. For instance, any errors around new_sequence()
would mean negotiation error, not just *ERROR*.
And some subclasses will allocate buffer/memory/surface on new_picture()
but it could be failed because of expected error, likely flushing
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2528 >
2021-09-20 13:03:44 +00:00
Sebastian Dröge
fea7f02a1d
gst: Initialize optional event/message fields when parsing
...
These might not exist inside the structure and then we would potentially
keep around uninitialized memory from the caller in the out parameter.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/887 >
2021-09-20 13:12:12 +03:00
Sebastian Dröge
f3601164d2
videodecoder: Add properties to automatically request sync points and vfunc to allow subclasses to handle packet loss / missing data
...
Subclasses could use the new vfunc to activate packet loss concealment,
for example.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1274 >
2021-09-20 13:06:38 +03:00
Vivia Nikolaidou
fcad4cc646
mpegtspacketizer: memcmp potentially seen_before data
...
Theoretically the version number is incremented every time there's a new
section, but in a world of streaming we can't easily make that
assumption.
An example of a broken use case is when we're cat-ing two mpeg-ts files
together, which is equivalent of capturing a DVB stream while switching
channels. A set-top box would know that we switched the channels and
reset the demuxer, but in practice this might not happen.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2468 >
2021-09-20 09:31:08 +00:00
Sebastian Dröge
f74a2bd303
player: Fix/add various annotations
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2538 >
2021-09-20 11:35:51 +03:00
Seungha Yang
64725758eb
meson: va: Make AV1 support always optional
...
Otherwise meson configure with -Dva=enabled will be failed
when installed libva version is < 1.8
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2532 >
2021-09-19 21:20:54 +00:00
Víctor Manuel Jáquez Leal
64c4eb2def
va: caps: Don't use image formats for decoded frames.
...
Initially we tried to use the internal color conversion used in i965
and Gallium drivers when decoding. But this approach has showed
limitations and problems.
This patch removes completely the possible color conversion at
decoding, since it show problems with deinterlacing, for example:
gst-launch-1.0 filesrc location=interlaced.mpg2 ! parsebin ! vampeg2dec ! vadeinterlace ! xvimagesink
Allowing only the surface formats when decoding is more stable.
For color conversion is better to do it explicitly with vapostproc.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2531 >
2021-09-19 20:44:58 +00:00
He Junyan
9289df4291
test: bitwriter: Add a test for reset_and_get_data when not byte unaligned.
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/886 >
2021-09-19 22:43:11 +08:00
He Junyan
25dbae6e73
bitwriter: Fix a memory leak in reset_and_get_buffer.
...
We should record the ownership of the data before we reset the bitwriter.
Or we will always dup the buffer data and leak the memory.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/886 >
2021-09-19 22:43:06 +08:00
He Junyan
81cf9754e3
bitwriter: Fix the trailing bits lost when getting its data.
...
In reset_and_get_data and reset_and_get_buffer, it fails to include
the trailing bits less than 8. So, when the bit_size is not byte
aligned, the trailing bits are lost in the return buffer.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/886 >
2021-09-19 20:41:59 +08:00