Detlev Casanova
880053c52c
v4l2codecs: av1,vp9: Use temporary variable for buffer
...
This makes the end_picture() function handle the frame in the same way
as in vp8, which also fixes a frame leak when
gst_buffer_pool_acquire_buffer() fails.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8794 >
2025-04-09 15:43:03 +00:00
Xavier Claessens
f6115efe8d
Revert "va: h266 requires libva 2.22.0"
...
This reverts commit 8c017c79c5736c9e45e635df210e08550287646d.
1.22 was the correct pkg-config version. It's only the subproject
version that was wrong. Since we bumped libva.wrap to 2.22 version, h266
is now always available when using the subproject.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8800 >
2025-04-09 09:01:22 -04:00
Xavier Claessens
8c017c79c5
va: h266 requires libva 2.22.0
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8788 >
2025-04-08 11:45:11 +00:00
Philippe Normand
1a55ae2c51
Revert "webrtc: stats: Increase spec compliance for ICE candidate stats"
...
This reverts commit 4718fc9be72ccbbb9278c9abe7d72106e161aebf.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8787 >
2025-04-08 09:35:49 +01:00
Philippe Normand
70af47ee17
Revert "webrtc: Add missing Since markers to new ICE API"
...
This reverts commit 601c772447b0bada8e54d097088b8ea51ecba09a.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8787 >
2025-04-08 09:35:49 +01:00
Guillaume Desmottes
9b19c10f39
alphacombine: unblock when alpha sink is eos
...
If the alpha sink receives EOS while the other thread was waiting for a
alpha buffer it was stuck waiting forever.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8775 >
2025-04-07 23:45:33 +00:00
Guillaume Desmottes
d2086675a4
alphadecodebin: use a multiqueue instead of a couple of queues
...
Fix gapless playback as queues are no longer stopped after the first
eos.
Co-authored-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Fix #4165
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8775 >
2025-04-07 23:45:33 +00:00
Jakub Adam
75517d0faf
unixfdsrc: fix allocating FD memory with nonzero offsets
...
The element should allocate GstFdMemory large enough to fit incoming
memory's size plus its potential offset.
Fixes "gst_memory_resize: assertion 'size + mem->offset + offset <=
mem->maxsize' failed".
Fixes an issue reproducible on Raspberry Pi 4 that results in a garbled
image on the receiver's end:
gst-launch-1.0 libcamerasrc ! unixfdsink socket-path=/tmp/socket
gst-launch-1.0 unixfdsrc socket-path=/tmp/socket ! autovideosink
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8025 >
2025-04-07 14:51:47 +00:00
Matthew Waters
601c772447
webrtc: Add missing Since markers to new ICE API
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8698 >
2025-04-07 12:07:16 +00:00
Philippe Normand
4718fc9be7
webrtc: stats: Increase spec compliance for ICE candidate stats
...
We now fill the foundation, related-address, related-port, username-fragment and
tcp-type fields.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8698 >
2025-04-07 12:07:16 +00:00
Philippe Normand
ac465ebfe1
webrtc: stats: Fill data-channel transport stats
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8698 >
2025-04-07 12:07:16 +00:00
Philippe Normand
b088d53970
webrtc: nice: Add niceutils
...
The gst_webrtc_nice_get_candidate_server_url() function is going to be used for
stats generation purposes and also from the upcoming get_selected_candidate_pair
implementation.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8698 >
2025-04-07 12:07:16 +00:00
Philippe Normand
19dea1507e
webrtc: nice: Make use of nice_candidate_type_to_string
...
This API was added in libnice 0.1.19 and we currently require 0.1.20.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8698 >
2025-04-07 12:07:16 +00:00
Philippe Normand
aa15eb30ff
webrtc: nice: Remove unused libnice utilities
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8698 >
2025-04-07 12:07:16 +00:00
Razvan Grigore
0017384ae2
webrtcbin: add missing warning for caps missmatch
...
This helps debug cases when the remote is offerer and m-line does not match with already existing transceivers.
In this case, it will create new ones with sendrecv direction without any warning.
Similar with code from _create_answer_task
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8735 >
2025-04-07 01:26:25 +00:00
Seungha Yang
740b7564ee
h265parser: Make gst_h265_parser_link_slice_hdr public
...
... and updating h265decoder/h265ccinserter to match
the changed gst_h265_parser_link_slice_hdr method
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8679 >
2025-04-05 09:48:41 +00:00
Seungha Yang
deee13a6c3
h264parser: Store associated parameter set id
...
Make h264parser and h265parser consistent
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8679 >
2025-04-05 09:48:41 +00:00
Seungha Yang
1bd5afa460
h265parser: Store PPS id in slice header
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8679 >
2025-04-05 09:48:41 +00:00
Daniel Morin
8af086038a
analyticsoverlay: add filled-box mode
...
- Add filled-box-mode property, when set region where detection is happening is
filled
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8592 >
2025-04-04 22:40:58 +00:00
Olivier Crête
bf8af7ac20
bad: Update va docs, adding new elements
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 14:06:35 -04:00
Olivier Crête
e3c3fd10cd
va: Add since markers
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 14:06:35 -04:00
Olivier Crête
7ed5c10751
va: Remove GstVaFeature marking as a plugin API
...
It's part of the libgstva library and it's documented there, no need
to duplicate it as it confuses hotdoc.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 14:06:35 -04:00
Olivier Crête
f6b3538027
va: Add doc section for vah26xlpenc and codecalpha element
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 14:06:35 -04:00
Olivier Crête
afaf1723fe
bad: Update wpesrc docs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 14:06:35 -04:00
Olivier Crête
311343ae4b
wpevideosrc: Fix typo in doc
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 14:06:34 -04:00
Olivier Crête
68489f2362
bad: Update qsv docs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 14:06:34 -04:00
Olivier Crête
50cebd3ba8
qsv: Add since marker to device-path property
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 14:06:30 -04:00
Olivier Crête
ecf9a035eb
bad: Add onnxinference to the docs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 13:05:51 -04:00
Nirbheek Chauhan
9194e259d9
docs: Fix GstWebRTCICE* class documentation
...
IceStream is not an actual object, it's GstWebRTCICEStream
Some `Returns:` annotations were improperly formatted and not taking
effect.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8755 >
2025-04-03 13:05:57 +00:00
Michael Grzeschik
3b345568bc
uvcsink: Respond to control requests with proper error handling
...
The complete handling on the control interface is currently dead.
We return with EOPNOTSUPP for the caller to know that a response
to such requests is not valid. The host however may ask
control interface why these control requests were not available.
For this the UVC_VC_REQUEST_ERROR_CODE_CONTROL is used. As an overall
exception for the control interface we just always return 0x06 as
an response which is representing "not implemented".
This patch is a necessary feature to properly pass the UVC Functionality
Test of the USB3CV Compliance Software.
Fixes: 69c17461392d ('uvcgadget: Properly implement GET_INFO control responses')
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7524 >
2025-04-01 15:57:20 +00:00
Piotr Brzeziński
50d2d1446f
avfvideosrc: Guess reasonable framerate values for some 3rd party devices
...
For some third-party devices macOS sometimes reports silly framerates,
like 750003/6250 instead of 120/1. To avoid users having to exactly
pecify those values, we instead report the closest reasonable value in
caps. If it ends up being chosen, the additional logic in
setDeviceCaps() will reverse that process and pass the actual supported
value back to AVF, as most often the rounding causes us to fall just
outside the accepted threshold.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8745 >
2025-04-01 14:44:50 +00:00
Jochen Henneberg
96970fe33b
camerabin: Ensure that test record pipeline does not see caps change
...
Depending on the system load the test 'video_capture_with_tags' may
fail or not. Reason is that 'videotestsrc' may emit a buffer before
the final caps negotiation on the recording pipeline has happened
after dynamic linking.
In that case there would be a caps change and because videorate does
no longer drop old buffers and caps on change but pushes duplicates if
required qtmux will notice a caps change and fail to link.
The problem is a synchronization problem in 'camerabin' which became
obvious with the changed behaviour of 'videorate'.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8579 >
2025-04-01 10:15:34 +00:00
Seungha Yang
3a4990d965
h264ccextractor,h265ccextractor: Handle gap with unknown pts
...
Fixing critical warngins
gst_event_new_gap: assertion 'GST_CLOCK_TIME_IS_VALID (timestamp)' failed
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8741 >
2025-04-01 08:16:13 +00:00
Guillaume Desmottes
e8038d2994
codecalpha: name both queues
...
Make it easier to debug from logs.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8744 >
2025-03-31 15:15:28 +00:00
Doug Nazar
6e5937f9b5
vulkan/wayland: Init debug category before usage
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8738 >
2025-03-31 13:20:31 +00:00
Philippe Normand
18f6fec49f
webrtcbin: Make mid optional in offers and answers
...
The mid attribute is not strictly required. Two new tests cover this change,
they remove the mid and group attributes from the SDP offers and answers.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8729 >
2025-03-31 10:51:08 +01:00
Artem Martus
36c983ccd5
webrtcbin: ensure RTX entry for all formats
...
Properly implement RFC 4588 by ensuring each media format
has its own RTX payload type with unique 'apt' parameter,
rather than only mapping the first format.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8663 >
2025-03-31 06:40:35 +00:00
Sebastian Dröge
3ac5bb2d36
va: Skip codecs that report maximum width or height lower than minimum
...
This happens on F42 with the JPEG decoders for some reason and trying to
actually use them with any resolution simply gives a "resolution not supported"
error.
A minimum of 64 is correctly reported though and trying to create caps with an
int range of [64, 0] gives critical warnings.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8736 >
2025-03-30 11:00:08 +00:00
Doug Nazar
ecccd6a8cf
a2dpsink: Free various props during cleanup
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8648 >
2025-03-27 09:03:18 +00:00
Doug Nazar
108cd906fa
aja: Free various props during cleanup
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8648 >
2025-03-27 09:03:18 +00:00
Doug Nazar
2e96ed13de
rfbsrc: Free various props before being set & during cleanup
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8648 >
2025-03-27 09:03:18 +00:00
Doug Nazar
c2cb94a421
frei0r: Free various props before being set
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8648 >
2025-03-27 09:03:18 +00:00
Doug Nazar
afd979c9e4
faceoverlay: Free various props during cleanup
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8648 >
2025-03-27 09:03:18 +00:00
Doug Nazar
8f99e22822
waylandsink: Free various props before being set
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8648 >
2025-03-27 09:03:18 +00:00
Doug Nazar
765a6a963f
qroverlay: Free various props before set & during cleanup
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8648 >
2025-03-27 09:03:18 +00:00
Doug Nazar
e7d8bf8563
openalsrc: Free various props before being set
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8648 >
2025-03-27 09:03:18 +00:00
Doug Nazar
efb08c2ada
lcevcencoder: Free various props before during cleanup
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8648 >
2025-03-27 09:03:18 +00:00
Doug Nazar
6279c4bab7
dash: Free various props before set & during cleanup
...
In addition several members were being freed via xmlFree() even though
being created via g_value_dup_string(). Switch to g_free().
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8648 >
2025-03-27 09:03:18 +00:00
Doug Nazar
2f11f7e434
curlhttpsrc: Free various props before set & during cleanup
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8648 >
2025-03-27 09:03:18 +00:00
Doug Nazar
5f90a4ae67
all: Annotate *_set_property() contructor only props without free
...
Properties that are marked constructor only aren't required to be freed
before g_value_dup_string() as they can only be called once during construction.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8648 >
2025-03-27 09:03:18 +00:00