Thibault Saunier
dd49b8a43e
tests: Move srtp test known issue def to the 'check' testuite
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3986 >
2023-02-17 12:29:32 +00:00
Thibault Saunier
f463ef6be3
validate:launcher: try to bne more explicit about where to add known failure
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3986 >
2023-02-17 12:29:32 +00:00
Thibault Saunier
399ce86998
validate:launcher: Handle known return code issue in none validate based tests
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3986 >
2023-02-17 12:29:32 +00:00
Seungha Yang
362a97836f
codectimestamper: Fix timestamping on sequence update
...
... and enhance debug logging.
Keep internal timestamp offsets on drain, no reason to reset them
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3987 >
2023-02-17 10:42:57 +00:00
Mengkejiergeli Ba
6dbb2c14ec
codecparsers: {h264,h265}bitwriter: Remove redundant condition checks
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3978 >
2023-02-16 00:34:01 +00:00
Tim-Philipp Müller
119622cda1
validate: add elements_srtp.test_play_key_error to flaky test list
...
See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1777
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3970 >
2023-02-15 12:55:36 +00:00
Tim-Philipp Müller
306e175424
tests: mark elements_srtp.test_play test as flaky
...
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1777
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3970 >
2023-02-15 12:55:36 +00:00
Seungha Yang
bf4f2a3325
amfav1enc: Set stream-format on caps
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3961 >
2023-02-15 11:14:12 +00:00
Seungha Yang
11ef5ce745
qsvav1enc: Set stream-format on caps
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3961 >
2023-02-15 11:14:12 +00:00
U. Artie Eoff
cde31d23c0
avviddec: change AV_CODEC_CAP_AUTO_THREADS->AV_CODEC_CAP_OTHER_THREADS
...
This fixes a compile error with recent upstream FFmpeg.
The AV_CODEC_CAP_AUTO_THREADS was deprecated and renamed to
AV_CODEC_CAP_OTHER_THREADS in FFmpeg upstream commit
7d09579190de (lavc 58.132.100).
The AV_CODEC_CAP_AUTO_THREADS was finally removed in FFmpeg upstream
commit 10c9a0874cb3 (lavc 59.63.100).
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3964 >
2023-02-15 03:53:36 +00:00
Thibault Saunier
b46360896c
glvideomixer: Keep a reference to the underlying pad
...
There was cases where we were accessing the pad while it was already
destroyed. Ensure it can't happen by owning a ref on it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3963 >
2023-02-15 03:11:03 +00:00
Piotr Brzeziński
ae213c1c59
vtenc/vtdec: Fix typo in RGBA64_LE availability define
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3962 >
2023-02-15 01:15:01 +00:00
Piotr Brzeziński
62e385ad35
vtenc: Disable ARGB/RGBA64 caps on M1 Pro/Max with macOS <13
...
Fixes #1358 .
Passing ARGB64/RGBA64 to vtenc caused the encoding to fail
when running on M1 Pro/Max variants with macOS 12.x, so let's
remove these formats from caps when such scenario is detected.
This issue appears to have been fixed OS-side in macOS 13.0.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3962 >
2023-02-15 01:15:01 +00:00
Yang, Xuchen
b2bdadd05b
audio: channel-mix: Fix channel count limit to be able to equal 64
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3958 >
2023-02-14 11:51:25 +00:00
Vivia Nikolaidou
625f9aab09
qtdemux: Handle moov atom length=0 case by reading until the end
...
Previously it would fail to demux the file by trying to read G_MAXUINT64
bytes.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3938 >
2023-02-11 13:31:26 +00:00
Vivia Nikolaidou
cab020b4cb
qtdemux: Fix guint vs gsize type confusion
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3938 >
2023-02-11 13:31:26 +00:00
Piotr Brzeziński
8fd9c82360
vtdec: Fix not waiting for async frames when flushing
...
This was causing incorrect output when seeking, especially
when used with a multithreaded source like `videotestsrc n-threads=2`.
It should now correctly wait for frames still being processed by VT
while vtdec is flushing.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3937 >
2023-02-10 20:29:15 +00:00
Alessandro Bono
b87371d0ce
win32ipcutils: Add missing include
...
We are using std::isspace() with one parameter. That function is defined
in the cctype header.
```
win32ipcutils.cpp(34): error C2672: 'std::isspace': no matching overloaded function found
win32ipcutils.cpp(34): error C2780: 'bool std::isspace(_Elem,const std::locale &)': expects 2 arguments - 1 provided
```
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3936 >
2023-02-10 19:34:35 +00:00
Jan Alexander Steffens (heftig)
cbcd2a44ff
pad: Don't leak user_data in gst_pad_start_task
...
When the task already exists, we forgot to free the passed `user_data`.
This wasn't an issue for most C code, which doesn't pass a
`GDestroyNotify`, but bindings such as gstreamer-rs do!
That said, allocating a trampoline in gstreamer-rs just for it to get
thrown away again is awkward. Maybe we need a `gst_pad_resume_task`?
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3925 >
2023-02-10 01:40:35 +00:00
Sebastian Dröge
06428afbad
av1parser: Don't consider unknown metadata OBUs a bitstream error
...
Just don't parse them.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1774
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3924 >
2023-02-10 00:01:20 +00:00
Edward Hervey
208955307f
subparse: Properly forward segment seqnum
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3917 >
2023-02-09 00:13:40 +00:00
Edward Hervey
aa0d027220
closedcaption: Don't leak caps event
...
All events that we handle should be unreffed
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3906 >
2023-02-08 22:10:20 +00:00
Nirbheek Chauhan
0cb751b626
meson: Allow sysdeps to be forced as fallback subprojects
...
The original code was too complicated; likely created before the
provide section existed for wraps:
https://mesonbuild.com/Wrap-dependency-system-manual.html#provide-section
Now you can do --force-fallback-for=pygobject and it'll actually work.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3905 >
2023-02-08 13:42:59 +00:00
Tim-Philipp Müller
d9196b83aa
validate-scenario: fix g-i warning in annotation
...
gst-validate-scenario.c:2485: Warning: GstValidate: missing ":" at column 28:
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3842 >
2023-02-08 11:20:39 +00:00
medithe
a183495faf
gstreamer: bin: Don't unlock unlocked mutex in gst_bin_remove_func()
...
Calling `g_mutex_unlock(mutex)` leads to an undefined behavior if the
mutex is not locked by the current thread.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3910 >
2023-02-07 17:54:30 +00:00
Nirbheek Chauhan
f6e672f27f
webrtc examples: Use webrtc.gstreamer.net
...
Actually just a CNAME to webrtc.nirbheek.in for now, but it allows
replacement / hosting without my involvement, so reduces the bus
factor.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3892 >
2023-02-04 16:01:08 +01:00
Seungha Yang
04910ac6c1
nvencoder: Fix min buffers parameter of allocation query in auto GPU mode
...
At the time when propose_allocation() get called, encoder session
would not be initialized yet.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3891 >
2023-02-04 12:13:58 +01:00
Jan Schmidt
f7fc9fd76e
gl/cocoa: Return a strong ref to the parent GstGLContext
...
If the GstGLCAOpenGLLayer was initialized via a parent
context, make sure to ref the context before returning it
from getGLContext as all callers will unref it.
Follow up to !3729
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3885 >
2023-02-02 18:20:42 +00:00
He Junyan
1e34b35044
va: Avoid the array index overflow when filling 8x8 scaling list.
...
The VA API has not defined the scaling list entries for U/V planes
for the 4:4:4 stream. In fact, we do not meet the 4:4:4 format output
for H264 so far, and scaling list is not used frequently, so we just
print out some warning and ignore these scaling list values.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3877 >
2023-02-02 16:21:34 +00:00
James Hilliard
30c2036acb
Fix gstreamer-validate-1.0 dependency name
...
The gst-devtools project generates gstreamer-validate-1.0.pc, this
must match the dependency in gst-editing-services for detection
to work properly.
Fixes:
Run-time dependency gst-validate-1.0 found: NO (tried pkgconfig and cmake)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3872 >
2023-02-02 14:32:49 +00:00
Piotr Brzeziński
26978734fe
vtenc: Disable HW acceleration for interlaced ProRes
...
Due to a bug in the VT API, attempting to encode interlaced content
with ProRes results in an error, halting the pipeline instead of
gracefully falling back to software encoding.
Should be removed in the future if Apple ever fixes this issue.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3878 >
2023-02-02 11:29:29 +00:00
Sebastian Dröge
85fcde0f98
aom: Include stream-format and alignment in the AV1 caps
...
The decoder does not work with arbitrary alignment and annexb stream
format and the encoder can give the information that it outputs
obu-stream/tu to downstream.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3873 >
2023-02-02 10:13:30 +00:00
Seungha Yang
ba91964a70
nvvp9dec: Fix return value
...
It should return GstFlowReturn value, not boolean
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3874 >
2023-02-02 02:07:04 +00:00
Sebastian Dröge
6ce76c43cb
rtspsrc: Also consider "Method Not Valid In This State" error in broken control URL handling workaround
...
Some servers send a 455 error instead of any reasonable error when using
a correctly constructed control URL.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3864 >
2023-02-02 00:26:03 +00:00
Tim-Philipp Müller
31c2a978a8
ci: rebuild windows image
...
Needed for the backport of https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3805
to take effect, once cerbero is made to use the new image.
Should fix errors like
cp: will not create hard link `./cerbero-sources/sbc-1.3' to directory `./cerbero-sources/bzip2-1.0.8'
and similar.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3869 >
2023-02-01 19:32:28 +00:00
Guillaume Desmottes
707156653f
rtpptdemux: set different stream-id on each src pad
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3866 >
2023-02-01 17:46:29 +00:00
Guillaume Desmottes
707ebf3789
rtpssrcdemux: set different stream-id on each src pad
...
All the RTP src pads were sharing the same stream-id while each actually
carry a different stream.
This was causing problem for example when funneling the streams together
and then trying to split them using 'streamiddemux'.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3866 >
2023-02-01 17:46:29 +00:00
Thibault Saunier
35b9295087
gst-env: Handle installing python modules to dist-packages
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3848 >
2023-01-30 23:36:28 +00:00
Mathieu Duponchelle
9b4b4b51a3
BaseSrc: fix transfer annotation for fixate virtual method
...
The fixate virtual method has the same semantics as gst_caps_fixate(),
so the caps parameter must be marked as (transfer full).
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3839 >
2023-01-28 19:20:29 +00:00
Thibault Saunier
e583baf6b2
validate: Fix gst_validate_execute_action annotation
...
The action passed in is transfer full
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3838 >
2023-01-28 18:22:44 +00:00
Sebastian Dröge
0474720c8b
gldisplay: Mark gst_gl_display_create_context()
other_context
parameter as nullable
...
See https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/438
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3835 >
2023-01-28 17:32:54 +00:00
Thibault Saunier
cba521bc18
uritranscodebin: Fix unref of NULL
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3837 >
2023-01-28 16:54:30 +00:00
Seungha Yang
0064fc7764
mpegpsdemux: Ignore DTS if PTS < DTS
...
It's possibly timestamp rollover case. But PTS < DTS is already
invalid case anyway.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3836 >
2023-01-28 15:20:44 +00:00
Mathieu Duponchelle
e0659683e3
BaseSrc, PushSrc: add nullable annotations to virtual methods
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3833 >
2023-01-28 12:57:45 +00:00
Nirbheek Chauhan
26ee3d83fb
webrtc_sendrecv.py: Fix PEP8 warnings in CI lint
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3816 >
2023-01-28 03:05:20 +00:00
Nirbheek Chauhan
dff9f5151b
webrtc_sendrecv.py: Handle LATENCY messages
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3816 >
2023-01-28 03:05:20 +00:00
Nirbheek Chauhan
361f0f406b
webrtc_sendrecv.py: Add bus message handling
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3816 >
2023-01-28 03:05:20 +00:00
Nirbheek Chauhan
78c928eefe
webrtc_sendrecv.py: Add support for using H264 encoding
...
Currently only works when we are creating the offer or the offer only
contains H264.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3816 >
2023-01-28 03:05:20 +00:00
Nirbheek Chauhan
6179d5ef61
webrtc_sendrecv.py: Use sine wave for audio instead of red-noise
...
Makes it easier to notice when there's packet loss or other audio
distortion.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3816 >
2023-01-28 03:05:19 +00:00
Nirbheek Chauhan
71b8dc4c28
ci/windows: Remove cargo-vendor sources from the cerbero source cache
...
Copying the source cache to a running Cerbero CI job on Windows causes
strange / corrupted errors that talk about hard links like:
++ cp -a C:/cerbero/cerbero-sources .
cp: will not create hard link `./cerbero-sources/gstreamer-1.0/subprojects/gst-plugins-good/sys/osxaudio' to directory `./cerbero-sources/cargo-c-0.9.12/cargo-vendor/adler/benches'
[...]
So, delete it. The vendored sources are cached by cargo in its own
cache inside CARGO_HOME, which is build/rust/cargo/ and is preserved
in the image. We won't need to redownload any of this.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3821 >
2023-01-27 04:12:40 +00:00