Seungha Yang
a1da81bee6
Revert "videodecoder: Forward hdr-format info downstream"
...
This reverts commit 9b852181d8
.
It's leftover commit which should've been reverted as a part of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1148
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1475 >
2022-01-20 15:51:13 +00:00
Seungha Yang
5bccbdc02f
tools: gst-play: Enable Windows high-resolution clock
...
Apply https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/817
to gst-play as well, especially for better high-framerate
(60fps or higher) video support, because
15ms default clock precision (actual value is system dependent)
is not sufficient for such scenario.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1541 >
2022-01-20 04:25:03 +09:00
Tomasz Andrzejak
5fb769e95d
Add FEC SDP message test
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1527 >
2022-01-19 16:05:11 +00:00
Tomasz Andrzejak
95f5538fa4
sdpmessage: fix mapping single char fmtp params
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1527 >
2022-01-19 16:05:11 +00:00
Sebastian Dröge
8dfe70d17f
codec-utils: Mark various string return values as nullable
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1539 >
2022-01-19 11:05:26 +02:00
Tim-Philipp Müller
b53ea86ab0
rtphdrext: increase GstRTPHeaderExtensionClass padding to LARGE
...
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/748#note_1223253
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1537 >
2022-01-19 05:41:40 +00:00
Philippe Normand
62b8caa6ab
pbutils: Define one debug category per module
...
Follow-up of https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1505
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1526 >
2022-01-18 18:19:46 +00:00
Seungha Yang
e37bbc054e
compositor: Always draw if all input buffers are GAP
...
Otherwise output buffers will contain random scene
(previously rendered or arbitrary initial values) since we don't
draw onto output buffer at all.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1498 >
2022-01-13 21:29:15 +00:00
Seungha Yang
a13309be4a
videoaggregator: Don't pass GAP buffer to prepare_frame_start()
...
Likewise we do check the same condition in prepare_frames_finish(),
ignore GAP buffer (zero size with GST_BUFFER_FLAG_GAP flag) without
any further processing.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1498 >
2022-01-13 21:29:15 +00:00
Seungha Yang
d5f5a1c25f
uridecodebin: Fix critical warnings
...
Don't pass non-GstObject object to there.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1519 >
2022-01-13 18:01:57 +00:00
Philippe Normand
6a3f2f0ba6
pbutils: Simplify h264_caps_structure_get_profile_flags_level a bit
...
Refactoring, removing one level of indentation from the function.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1505 >
2022-01-13 17:15:36 +00:00
Philippe Normand
074c5d85cb
pbutils: H.265 support for gst_codec_utils_caps_get_mime_codec()
...
The codec_data caps payload is parsed and a MIME codec string is generated
according to the ISO/IEC 14496-15 specification.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1505 >
2022-01-13 17:15:36 +00:00
Philippe Normand
1c8f7c32aa
pbutils: Add a pbutils debug category
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1505 >
2022-01-13 17:15:36 +00:00
Jordan Petridis
86a62d94ed
gstglutils: introspection annotations fixups
...
* gst_gl_ensure_element_data: specify the type for the element arg
* gst_gl_handle_set_context: correctly annotate the display and
gl_ctx as just (out) instead of (inout)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1501 >
2022-01-12 12:11:47 +00:00
Sebastian Dröge
79ce12416f
codec-utils: Use nullable annotation instead of allow-none for various Opus functions
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1506 >
2022-01-12 10:19:45 +00:00
Sebastian Dröge
e667c95674
codec-utils: Annotate out parameters for Opus functions as (optional)
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1506 >
2022-01-12 10:19:45 +00:00
Sebastian Dröge
6de587593a
codec-utils: Add missing annotations to gst_codec_utils_h264_get_profile_flags_level()
...
And fix some minor typos.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1506 >
2022-01-12 10:19:45 +00:00
Nirbheek Chauhan
1be6d6ccf5
meson: Add explicit check: kwarg to all run_command() calls
...
This is required since Meson 0.61.0, and causes a warning to be
emitted otherwise:
2c079d855e
https://github.com/mesonbuild/meson/issues/9300
This exposed a bunch of places where we had broken run_command()
calls, unnecessary run_command() calls, and places where check: true
should be used.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1507 >
2022-01-09 18:12:47 +05:30
Nirbheek Chauhan
945fd11907
audio: Add logging that was useful in figuring out the last commit
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1461 >
2022-01-08 05:15:30 +00:00
Nirbheek Chauhan
554a2a5145
audio-converter: Fix resampling when there's nothing to output
...
Sometimes we can't output anything because we don't have enough
incoming frames. In that case, the resampler was trying to call
do_quantize() and do_resample() in a loop forever because there would
never be samples to output (so chain->samples would always be NULL).
Fix this by not calling chain->make_func() in a loop -- seems
completely unnecessary since calling it over and over won't change
anything if the make_func() can't output samples.
Also add some checks for the input and / or output being NULL when
doing conversion or quantization. This will happen when we have
nothing to output.
We can't bail early, because we need resampler->samples_avail to be
updated in gst_audio_resampler_resample(), so we must call that and
no-op everything along the way.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1461 >
2022-01-08 05:15:30 +00:00
Mark Nauwelaerts
41fe17adda
uridecodebin: use non-floating object as signal argument
...
... as was the case with source-setup signal until change of order
in commit 52bca104e4
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1457 >
2021-12-19 18:27:50 +01:00
Seungha Yang
11791f7ce5
video-info: Don't assume colorimetry of UHD resolution as BT.2020
...
BT.2020 color primaries are designed to cover much wider range of
CIE chromaticity than BT.709, and also it's used for both SDR and HDR
contents. So, the incorrect assumption (i.e., BT.709 as a BT.2020)
is risky and resulting image color tends to be visually very wrong.
Unless there's obvious clue, don't consider color space of high resolution
video stream as BT.2020
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1445 >
2021-12-16 12:22:27 +00:00
Thibault Saunier
9ac502c21d
sdp: Handle level-asymmetry-allowed for H264 streams
...
The ["level-asymmetry-allowed"] field states that the peer wants the
profile specified in the "profile-level-id" fields but doesn't care
about the level. To express this in GStreamer caps term, we add a
"profile" field in the caps, which reuses the usual "profile" semantics
for H.264 streams and, and remove "profile-level-id" and
"level-asymmetry-allowed" fields.
["level-asymmetry-allowed"]: https://www.iana.org/assignments/media-types/video/H264
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1410 >
2021-12-12 10:59:00 -03:00
Thomas Klausner
0b0bc5956d
tcp: fix build on Solaris
...
Add missing header.
From Claes Nästén via http://gnats.netbsd.org/56509
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1364 >
2021-11-19 00:07:42 +00:00
Víctor Manuel Jáquez Leal
6d7dc93a45
uridecodebin3: Nullify current item after all play items are freed.
...
There's a potential race condition with this sort of pipelines on
certain systems (depends on the processing load):
GST_DEBUG_DUMP_DOT_DIR=/tmp \
gst-launch-1.0 uridecodebin3 uri=file://stream.mp4 ! glupload ! \
glimagesink --gst-debug=*:4
Right after the pipeline passes from PAUSED to READY, bin_to_dot_file
dumps uridecodebin3 properties, but current uri and suburi might be
already freed, causing a potential use-after-freed.
This patch makes NULL the current item right after all the play items
are freed.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1353 >
2021-11-16 13:25:02 +01:00
Nirbheek Chauhan
5d3009b7f8
audio-resampler: Fix segfault when we can't output any frames
...
Sometimes the resampler has enough space to store all the incoming
samples without outputting anything. When this happens,
gst_audio_resampler_get_out_frames() returns 0.
In that case, the resampler should consume samples and just return.
Otherwise, we get a segfault when gst_audio_resampler_resample() tries
to resample into a NULL 'out' pointer.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1343 >
2021-11-12 16:12:27 +00:00
Tim-Philipp Müller
972615cf22
docs: fix unnecessary ampersand, < and > escaping in code blocks
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1340 >
2021-11-12 11:39:19 +00:00
Jiri Uncovsky
9abac91c96
glcontext/egl: add missing unref
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1328 >
2021-11-10 15:27:45 +00:00
Guillaume Desmottes
9b809d4cc3
appsrc: log when segment changes
...
We were logging when it does not change but not when it does, which is
confusing when reading logs.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1327 >
2021-11-09 16:19:05 +00:00
Tim-Philipp Müller
a7b376011b
Back to development
2021-11-03 19:31:23 +00:00
Tim-Philipp Müller
f513c289b0
Release 1.19.3
2021-11-03 15:43:43 +00:00
Tim-Philipp Müller
d51b091cd9
Update ChangeLogs for 1.19.3
2021-11-03 15:43:32 +00:00
Matthias Clasen
ffa363edf7
egl: handle configless contexts
...
With EGL_KHR_no_config_context, EGL contexts may just not
have an EGLConfig to give you. Deal with it.
Fixes : #858
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1289 >
2021-11-02 18:00:41 +00:00
Seungha Yang
cf871f990a
examples: win32-videooverlay-playbin: Add a repeat option
...
... in order to test pipeline/element reuse cases.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1275 >
2021-11-02 16:55:50 +00:00
Sebastian Dröge
577cdcafe0
video: Fix order of new video formats
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1282 >
2021-10-31 06:38:36 +00:00
Sebastian Dröge
ee18b8c0c0
base: Fix some annotations
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1281 >
2021-10-30 15:50:30 +03:00
Tim-Philipp Müller
d96e44922e
Use g_pattern_spec_match() instead of g_pattern_match() which is deprecated since glib 2.70
...
Fixes compiler warnings with glib 2.70
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1279 >
2021-10-30 00:34:35 +01:00
Piotrek Brzeziński
428b4104b0
video-format: Add support for ARGB64 LE/BE and similar variants
...
Co-authored-by: Sebastian Dröge <sebastian@centricular.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1247 >
2021-10-29 14:57:58 +00:00
Tim-Philipp Müller
f034ec3e14
meson: require matching GStreamer dep versions for unstable development releases
...
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/929
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1244 >
2021-10-28 23:29:27 +00:00
Jan Schmidt
78df7ae771
decodebin3: Only unblock for GAP events and buffers.
...
An alternate fix for
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1239
and https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1236
that makes it clear the intent is to only unblock on a GAP event, and
not any others.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1260 >
2021-10-27 22:53:49 +11:00
Guillaume Desmottes
1d833eba60
parsebin: fix critical when sorting pads
...
If the pad does not have a current caps, get_pad() returns the query
caps which can be ANY. In such case the caps does not have any structure
resulting in a critical warning when calling gst_caps_get_structure().
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1254 >
2021-10-26 16:25:32 +00:00
Sebastian Dröge
23a06f7a31
typefindfunctions: Use memcmp() instead of a strange macro around strncmp()
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1234 >
2021-10-25 09:17:43 +00:00
Sebastian Dröge
37a744889c
typefindfunctions: Add various CMAF brands to the MP4 typefinder
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1234 >
2021-10-25 09:17:42 +00:00
Sebastian Dröge
041bc2652b
typefindfunctions: Refactor ftyp brands checking
...
Store known brands in arrays and add a helper function to check them.
Also add all the `iso3` to `isob` ISO brands and the `hlsf` ISO
fragmented brand.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1234 >
2021-10-25 09:17:42 +00:00
Sebastian Dröge
66aef5ef46
typefindfunctions: Add various other boxes to the list of known top-level MP4 boxes
...
styp, udta, sidx, ssix, prft, mfra, pdin and meta are in the ISOBMFF
spec and emsg in the CMAF spec.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1234 >
2021-10-25 09:17:42 +00:00
Tim-Philipp Müller
4c665ce043
gst-plugins-base: update translations
...
Fixes #656
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1240 >
2021-10-25 01:11:20 +01:00
Matthew Waters
d4c96bf923
gl/egl: install required egl.h header
...
Fixes build against using the gir.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1227 >
2021-10-22 17:56:41 +11:00
Guillaume Desmottes
47445980a9
streamsynchronizer: set running time offset on events
...
It's cleaner and more generic than overriding the qos events.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1210 >
2021-10-20 14:27:58 +00:00
Tim-Philipp Müller
8dfab0b08c
meson: update for meson.build_root() and .build_source() deprecation
...
-> use meson.project_build_root() or .global_build_root() instead.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1183 >
2021-10-20 11:20:44 +00:00
Tim-Philipp Müller
f1bb2c76c6
meson: update for dep.get_pkgconfig_variable() deprecation
...
... in favour of dep.get_variable('foo', ..) which in some
cases allows for further cleanups in future since we can
extract variables from pkg-config dependencies as well as
internal dependencies using this mechanism.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1183 >
2021-10-20 11:20:44 +00:00