Dan Searles
da55b953a1
rtspsrc: set multicast-iface on udpsinks
...
Copy rtspsrc property multicast-iface to its udpsinks to
allow messages over those sinks back to the server to work (and
prevent 'Network unreachable' warnings).
Closes : #3239
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5955 >
2024-01-23 13:54:51 +00:00
Daniel Stone
da9d4225b1
wayland: Actually use wayland-protocols version dep
...
Closes : #3242
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5962 >
2024-01-23 13:11:23 +00:00
Víctor Manuel Jáquez Leal
5d2f3206ee
gst: remove left overs from commit 09de5947
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5960 >
2024-01-23 13:17:22 +01:00
Daniel Stone
3a37778f69
gstwayland: Support wp_single_pixel_buffer_v1
...
This protocol does what it says on the box, avoiding the need for a 1x1
wl_shm buffer.
A wayland-projects wrap has been added for users who do not have v1.26
available.
This commit was partly authored by Robert Mader.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2662 >
2024-01-22 16:51:36 -05:00
Seungha Yang
4fb284346e
d3d12h264enc: Fix profile support check
...
Add missing CheckFeatureSupport() call, and remove unused field
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5952 >
2024-01-22 20:10:24 +09:00
Seungha Yang
f44d5d18f3
d3d12: Pass target rectangle to ClearRenderTargetView()
...
Some drivers seem to be crashing if ClearRenderTargetView() is called
for P010/P016 texture's second subresource (UV plane) without
specified target rectangle.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5952 >
2024-01-22 19:40:08 +09:00
Seungha Yang
4e1bf149d0
d3d12: Add H.264 video encoder
...
Adding video encoder element
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5808 >
2024-01-19 12:47:35 +00:00
Thibault Saunier
bf420a3a20
ges: launcher: Commit timeline before setting state
...
Ensuring that all operations related to commit are properly performed
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5859 >
2024-01-19 11:10:13 +00:00
Guillaume Desmottes
fae6fbaa6b
flvdemux: don't re-use segment from one stream if the other has buffer earlier
...
Fix first audio buffers being out of segment because the audio stream
is starting earlier than the video one which was the first demuxed.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5940 >
2024-01-19 11:05:05 +01:00
Guillaume Desmottes
632ee523fb
flvdemux: factor out ensure_new_segment()
...
- Use the pad instead of the element for logs, so it's clearer on which
pad this segment will be pushed.
- One copy was checking for invalid seq num, the other was not.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5940 >
2024-01-19 11:05:01 +01:00
Tim-Philipp Müller
ceed3f9914
glimagesink: fix typo in docs
...
Fixes #3233
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5942 >
2024-01-19 07:41:48 +00:00
Sebastian Dröge
16bace45f0
glcolorconvert: Correct transform_caps direction
...
If GST_PAD_SINK is passed in this means that we're supposed to convert
from sink caps to src caps, not the other way around. In other words, if
GST_PAD_SINK is passed we're supposed to produce the possible output
caps.
Previously this was inverted. This had the effect that glcolorconvert
pretended to be able to convert *to* I420 without glDrawBuffers, which is
not possible, and pretended not to be able to convert *from* I420
without glDrawBuffers, which it always supports.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5941 >
2024-01-19 00:49:44 +00:00
Guillaume Desmottes
c9c7e83a78
core: pipeline: add gst_pipeline_get_configured_latency()
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4472 >
2024-01-18 20:17:04 +01:00
Guillaume Desmottes
ba4ab9dc16
core: pipeline: add gst_pipeline_is_live()
...
Convenient API for applications wanting to check if a pipeline is live
or not. Save them from checking the change_state return value or sending
latency queries.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4472 >
2024-01-18 20:17:04 +01:00
Guillaume Desmottes
9dc4d48ff5
core: pipeline: protect priv->is_live with object lock
...
It's supposed to be according to the comment where it's defined.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4472 >
2024-01-18 20:16:19 +01:00
Mengkejiergeli Ba
b8cb0d1d7f
msdkdec: Fix leaks
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5930 >
2024-01-18 08:43:48 +00:00
Piotr Brzeziński
3f67e70f39
vtenc: Fix PAUSED->READY deadlock when output loop is running
...
Explicitly calls gst_vtenc_pause_output_loop when going PAUSED->READY to make sure GST_PAD_STREAM_LOCK is not taken.
Before this change, a deadlock would occur if pipeline got stopped right after one output buffer was generated by vtenc.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5933 >
2024-01-18 07:37:58 +00:00
Edward Hervey
978b75b18a
avauddec: Use proper version guard
...
Just like we do with avviddec
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5931 >
2024-01-17 17:24:49 +01:00
Seungha Yang
e353fe8fcc
h264decoder: Handle malformed avc/avc3 packets
...
Packetized stream format should not contain start-code prefix
in bitstream and each [nal-length-byte, nal-byte] unit should consist of
single nal unit. But there are malformed streams in the world.
Use newly added gst_h264_parser_identify_and_split_nalu_avc()
method to identify each nal unit.
Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3219
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5772 >
2024-01-17 14:57:57 +00:00
Seungha Yang
c737799900
h264parser: Add gst_h264_parser_identify_and_split_nalu_avc() method
...
Equivalent to _split_nalu_hevc() method in h265parser. This method
will scan start-code prefix and split into individual NAL units
if start-code prefix is detected
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5772 >
2024-01-17 14:57:57 +00:00
L. E. Segovia
396c5aef7c
meson: Ensure FFmpeg deprecated APIs are rejected
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5186 >
2024-01-17 08:39:13 +00:00
L. E. Segovia
b46559102b
libav: Port deprecated AVFrame fields to flags
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5186 >
2024-01-17 08:39:13 +00:00
L. E. Segovia
09de59477a
libav: Port AVCodecContext.ticks_per_frame to AV_CODEC_PROP_FIELDS
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5186 >
2024-01-17 08:39:13 +00:00
L. E. Segovia
4dc955e94a
libav: Port reordered_opaque usage to ref-counted opaque_ref
...
Instead of passing along the system frame number, we pass along a reference to
the GstVideoCodecFrame.
In order for all internal cleanup to happen properly, this also requires
switching to the proper AVPacket creation/destruction methods (av_packet_alloc()
and av_packet_unref())
Fixes #2568
Co-authored-by: Edward Hervey <edward@centricular.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5186 >
2024-01-17 08:39:13 +00:00
L. E. Segovia
f2c9d9baa1
libav: Port frame counting to frame_num
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5186 >
2024-01-17 08:39:13 +00:00
L. E. Segovia
bbf6b4e634
libav: Port channel layout and counting to AVChannelLayout
...
Fixes #2833
Co-authored-by: Edward Hervey <edward@centricular.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5186 >
2024-01-17 08:39:13 +00:00
L. E. Segovia
faea2b1dde
wraps:ffmpeg: Update to 6.0
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5186 >
2024-01-17 08:39:13 +00:00
Mengkejiergeli Ba
a6ab4fa98b
msdkdec: Let msdk base decoder maintain the output_state
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5929 >
2024-01-17 10:04:03 +08:00
Thibault Saunier
5575d9cb02
ges: launcher: Make +effect stack effects from source to last effect added
...
Until now when doing `+test-clip blue +effect effect1 + effect effect2`
leaded to the following pseudo pipeline
videotestsrc ! effect2 ! effect1
given the `ges-launch` syntax this is quite unexpected and this needed
fixing
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5735 >
2024-01-16 20:13:23 +00:00
Thibault Saunier
8cf17e5d0d
ges: Add scaler in the 'gap filling' clip on too short nested timelines
...
So we can respect user request on source that can scale
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5735 >
2024-01-16 20:13:23 +00:00
Thibault Saunier
90218243d2
ges: track-element: Set the nleobject as soon as possible
...
Some subclasses might need to have access to it when configuring their
element
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5735 >
2024-01-16 20:13:23 +00:00
Thibault Saunier
30cc16d670
ges: composition-meta: Enhance documentation
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5735 >
2024-01-16 20:13:23 +00:00
Thibault Saunier
bad6b7e60a
ges: Implement a gesvideoscale
bin
...
This allows user to be in control of when scaling happens in the pipeline.
It can be plugged as an effect and scaling will be forced to happen in
the effect instead of in the compositor.
Without this, it would not be possible for users to, for example,
crop a video source before scaling to the target source size.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5735 >
2024-01-16 20:13:23 +00:00
Chris Spencer
2388932767
vkmemory: don't map memory more than once
...
vkMapMemory may not be called on a memory object that is already
host-mapped. If the gstreamer memory object is mapped more than once then
reuse the existing Vulkan mapping.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5917 >
2024-01-16 17:44:48 +01:00
Mengkejiergeli Ba
2c61fd92e2
msdkvpp: Fix dma caps negotiation
...
Modify the fix_output_format in vpp to directly generate caps with
negotiated src caps, and we have the correct dma caps negotiation in
fix_output_format function. And thus, we can remove the redundant
negotiation of using function pad_accept_memory in vpp.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5845 >
2024-01-16 14:04:05 +08:00
Seungha Yang
495390f63a
h264parse: Fix AU collection
...
If remaining NALUs are expected to be drained in the current
process_frame() loop, do not adjust offsets. Otherwise NALU data
will point to random byte position and it would be broken data.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5911 >
2024-01-15 21:53:11 +00:00
ekwange
100497df20
validate: check: Fix known-not-leaky to work
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3940 >
2024-01-15 19:56:06 +00:00
ekwange
264a57dabe
validate: launcher: Fix typo
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3940 >
2024-01-15 19:56:06 +00:00
ekwange
248044329c
validate: launcher: Add debug message and fix typo
...
Add messages to clearly see why test was excluded.
And fix typo prerrol
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3940 >
2024-01-15 19:56:06 +00:00
Thibault Saunier
147eb44149
encodebin2: Fix support for rendering to stream without muxer
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5914 >
2024-01-15 18:28:46 +00:00
Seungha Yang
56f2c47400
appsrc: Release lock before pushing segment event
...
Do not hold lock during event push. Similar fix to the commit
2e5908d33f
but another place
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5925 >
2024-01-15 22:51:34 +09:00
Chao Guo
ed4af574d8
viv-fb: fix build warning of [-Wunused-variable]
...
display_viv_fb is unused in gst_gl_display_viv_fb_finalize ().
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5913 >
2024-01-15 07:24:47 +00:00
Chao Guo
17745ba5db
gl/display: fix build warning of [-Wint-in-bool-context]
...
GST_GL_DISPLAY_TYPE_VIV_FB is enum constant but is used
as bool.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5913 >
2024-01-15 07:24:47 +00:00
Chao Guo
c1a9b77a1a
glupload: fix build warning of [-Wincompatible-pointer-types]
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5913 >
2024-01-15 07:24:47 +00:00
Seungha Yang
0cceb6f68f
d3d12memory: Don't use persistent staging buffer map
...
Persistent map is not recommended in case of readback
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5919 >
2024-01-14 13:10:56 +00:00
Seungha Yang
077470913d
d3d12decoder: Use D3D12_HEAP_FLAG_CREATE_NOT_ZEROED flag
...
Since the first access to a texture is always write, zero initialization
is unnecessary
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5919 >
2024-01-14 13:10:56 +00:00
Olivier Crête
b1ac114ca5
onnxinference: Return caps based on model preference when possible
...
This should enable zero-copy when the model has the right type
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5885 >
2024-01-13 22:29:41 +00:00
Olivier Crête
83c2d30438
onnx: Use the element pointer for debug message
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5885 >
2024-01-13 22:29:41 +00:00
Olivier Crête
54b361c554
onnx: Extract data type from the model itself
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5885 >
2024-01-13 22:29:41 +00:00
Hou Qi
2539bb0b1d
rtpjitterbuffer: Fix build warning in rtp_jitter_buffer_append_query()
...
This is to fix build warnings when using [-Wmaybe-uninitialized]
../gst/rtpmanager/rtpjitterbuffer.c:1237:10: warning: 'head' may be used uninitialized [-Wmaybe-uninitialized]
1237 | return head;
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5907 >
2024-01-13 15:00:19 +00:00