Nirbheek Chauhan
9d719b9937
meson: Fix invalid include flag in uninstalled gl pc file
...
${libdir}/gstreamer-1.0/include is only valid after installation, but
extra_cflags are added unconditionally, so we can't use that for
include flags.
Instead, let's add the include flag via variables, which are different
for installed and uninstalled pc files.
This is particularly bad for consuming GStreamer via CMake which barfs
on non-existent include paths.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7130 >
2024-07-05 16:20:22 +00:00
Taruntej Kanakamalla
f54320b161
lc3: remove bitstream comparison in the tests
...
since the encoded output is changing based on version
it does not make sense to check the output bitstream with a fixed
bytearray since the version in the target might vary. So sticking
to checking the number of output buffers and encoded frame size
similar to the other tests
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7141 >
2024-07-05 18:27:20 +05:30
Guillaume Desmottes
3b47b87038
downloadbuffer: send EOS in push mode
...
gst_download_buffer_read_buffer() returns FLOW_EOS but it was not
handled in the 'out_flushing' goto block which uses srcresult,
so EOS was not sent downstream.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7128 >
2024-07-05 07:34:03 +00:00
Guillaume Desmottes
894bef7a1d
downloadbuffer: initialize upstream_size when activated in push mode
...
Push mode flow relies on upstream_size but it was not initialized when
activated as it is when activated in pull mode.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7128 >
2024-07-05 07:34:03 +00:00
Guillaume Desmottes
560d9b5b91
downloadbuffer: init upstream_size to -1
...
Code in check_upstream_size() is checking for -1 to check if
upstream_size has been set or not.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7128 >
2024-07-05 07:34:03 +00:00
Guillaume Desmottes
523adcfb1d
downloadbuffer: properly log when receiving events
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7128 >
2024-07-05 07:34:03 +00:00
Jordan Petridis
a80fef34a2
ci/scripts: Specify arguments by args rather than env vars
...
This dehardcodes the builddir the scripts use, and allows
us to pass it as a cli argument.
It also allows us to pass the test stuite string as an
arg for test.sh
This makes the scripts a bit more usable for local development
as well.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7114 >
2024-07-04 15:07:28 +03:00
Tihran Katolikian
cc1d978d7f
qt6: explicitly specify path to QtGui private headers when including qrhi_p.h
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7131 >
2024-07-04 09:52:57 +00:00
Víctor Manuel Jáquez Leal
426616cca7
vavpp: simplify gst_va_vpp_transform_caps()
...
The code is simplified by using GQuarks for looking for caps features, and
removing inner loops.
Also, it's used the pad template caps to compare with the incoming caps because
is cheaper at the beginning of negotiation, where the pad template caps is used.
And, since the ANY caps where removed, there's no need to check for an initial
intersection.
Finally, the completion of caps features is done through a loop.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6698 >
2024-07-04 08:54:16 +00:00
He Junyan
9f1887a623
glupload: Add a comment in DMA's propose_allocation query for video meta
...
The video meta API now is a mandatory request for DMA kind negotiation. In
current code, the raw method always adds that video meta API in the query
of propose_allocation(), so we do not need to do the duplicated task here.
Just adding a comment to declare that.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6698 >
2024-07-04 08:54:15 +00:00
He Junyan
f235e0308d
vadeinterlace: Do not append ANY caps into pad template
...
Just like the vapostproc, we delete the ANY caps in pad template to
avoid unexpected negotiation.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6698 >
2024-07-04 08:54:15 +00:00
He Junyan
38a4224c8c
vapostproc: Do not append ANY caps into pad template
...
The ANY caps in pad template caps seems to mess up the DMA negotiation.
The command of:
GST_GL_API=opengl gst-launch-1.0 -vf videotestsrc ! video/x-raw,format=NV12 !
vapostproc ! "video/x-raw(memory:DMABuf)" ! glimagesink
fails to negotiate, but in fact, the vapostproc can convert the input NV12
formant into the RGBA format to render.
The ANY may help the passthough mode, but we should make the negotiate correct
first.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6698 >
2024-07-04 08:54:15 +00:00
Lim, Siew Hoon
e82eb628b1
vacompositor: Initialize the allocation related variables in decide_allocation()
...
Prevent garbage value has been pass thru and causing
pipeline fail to run later on.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7097 >
2024-07-04 06:48:46 +00:00
Lim, Siew Hoon
f498ba25da
vabasedec: Initialize the allocation related variables in decide_allocation()
...
Prevent garbage value has been pass thru and causing
pipeline fail to run.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7097 >
2024-07-04 06:48:45 +00:00
Lim, Siew Hoon
c270c5643d
vabasetranform: Initialize the allocation related variables in decide_allocation()
...
Prevent garbage value has been pass thru and causing
pipeline fail to run.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7097 >
2024-07-04 06:48:45 +00:00
He Junyan
e9801cb0a5
vah265enc: Set the trellis only when HW supports it
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6663 >
2024-07-04 05:59:07 +00:00
He Junyan
2049c7e050
vah264enc: Init missing fields in reset_state()
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6663 >
2024-07-04 05:59:06 +00:00
He Junyan
5706e3566c
vah264enc: Set the trellis only when HW supports it
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6663 >
2024-07-04 05:59:06 +00:00
He Junyan
5b27aff33b
va: baseenc: Set the trellis parameter anyway
...
The driver may enable trellis by default. So we should also set the
trellis info to driver even when the trellis option is turned off.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6663 >
2024-07-04 05:59:06 +00:00
jadarve
fd25409a70
doc: fix Since marker
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6793 >
2024-07-03 08:40:22 +00:00
jadarve
413f4824d3
gir: update GstMpegts gir file
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6793 >
2024-07-03 08:40:21 +00:00
jadarve
3323245606
mpegts: Added missing function prototype
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6793 >
2024-07-03 08:40:21 +00:00
jadarve
8027f65a55
gir: update GstMpegts gir file
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6793 >
2024-07-03 08:40:21 +00:00
jadarve
5c3f3d8f16
doc: fix docstrings
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6793 >
2024-07-03 08:40:21 +00:00
jadarve
14c4d62915
doc: fix single line Since comments
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6793 >
2024-07-03 08:40:21 +00:00
jadarve
82336a041e
gir: update gir file
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6793 >
2024-07-03 08:40:21 +00:00
jadarve
7f35a4f7c3
doc: fix Since marker for gst_mpegts_descriptor_from_metadata_pointer
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6793 >
2024-07-03 08:40:21 +00:00
jadarve
76dd1f71ae
doc: update gir
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6793 >
2024-07-03 08:40:21 +00:00
jadarve
fad36407bb
doc: update docstrings
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6793 >
2024-07-03 08:40:21 +00:00
jadarve
c12a861fb7
doc: update plugin cache
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6793 >
2024-07-03 08:40:21 +00:00
jadarve
05ddaf4258
gir: updated gir files
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6793 >
2024-07-03 08:40:21 +00:00
jadarve
728c83f74d
mpegtsmux: mux meta/x-id3
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6793 >
2024-07-03 08:40:21 +00:00
jadarve
0a57f361ce
mpegts: use GstMpegtsMetadataApplicationFormat in metadata descriptor
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6793 >
2024-07-03 08:40:21 +00:00
jadarve
992a35b8f9
mpegts: added metadata pointer descriptor
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6793 >
2024-07-03 08:40:21 +00:00
jadarve
669a351c78
mpegts: moved metadata descriptors to gstmpegtsdescriptor
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6793 >
2024-07-03 08:40:20 +00:00
Tim-Philipp Müller
154b84649f
info: remove unused valgrind header include
...
Follow-up to commit a2cbf75523
.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7126 >
2024-07-03 03:46:19 +00:00
Tim-Philipp Müller
6cc25bd630
subparse: remove regex optimized flag explicitly
...
That way the other flags in jit_flags are not touched and
flags changes in future only need to be done in one place.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7126 >
2024-07-03 03:46:19 +00:00
Tim-Philipp Müller
084f6b3fbe
gst-plugins-base: put valgrind header availability define into config.h for subparse
...
Make the valgrind header avaibility accessible to any code in
gst-plugins-base, currently it was only signalled to unit tests.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7126 >
2024-07-03 03:46:19 +00:00
Alicia Boya García
506af5b8e4
gst-validate: Don't treat FALSE when sending flushes as an error
...
gst_element_send_event(FLUSH_START / FLUSH_STOP) returns FALSE in cases
where any of the most downstream elements have unlinked pads, even if
the pipeline is successfully flushed.
Currently this is considered expected behavior in GStreamer. This patch
updates gst-validate to treat it as such and therefore not fail the test
for a "failing" flush.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7064 >
2024-07-02 19:06:02 +00:00
Chris Spoelstra
0f7bb97e81
srtsrc: fix case fallthrough of authentication param
...
Add missing breaks to two case statements.
Also adds a missing lock of srtobject->element when getting the value
of PROP_AUTHENTICATION.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4367 >
2024-07-02 16:49:32 +02:00
Matthew Waters
5bbeccbb65
qml/glsink: also support GLES2 needing shader 'precision' directives
...
Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3616
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7024 >
2024-07-02 12:54:59 +00:00
Edward Hervey
01b397601f
subparse: Don't use jitted regex when used with valgrind
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7117 >
2024-07-02 09:44:25 +02:00
Vivia Nikolaidou
331b37ac9a
ptpclock: Fix typo in comments
...
s/continous/continuous/
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7121 >
2024-07-02 00:08:28 +00:00
Edward Hervey
b2edab940a
gstreamer/gst-tester: Don't leak thread
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7115 >
2024-07-01 23:19:40 +00:00
Edward Hervey
61a8d4d43d
gst-inspect: Fix leak of plugin/feature
...
Reordering changes the initial list head
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7115 >
2024-07-01 23:19:39 +00:00
Edward Hervey
2c1c1ec575
encoding-target: Chain up to parent class
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7115 >
2024-07-01 23:19:39 +00:00
Edward Hervey
651568d543
encoding-profile: Chain up to parent class finalize
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7115 >
2024-07-01 23:19:39 +00:00
Seungha Yang
c0a02affa4
d3d12: Add support for resource copy between d3d11 and d3d12
...
If driver can support cross-api resource sharing, use device-to-device
resource copy in d3d12upload/download elements.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7119 >
2024-07-01 20:18:42 +00:00
Seungha Yang
6cac053549
d3d12bufferpool: Use shared heap by default
...
... to make cross-api resource sharing possible
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7119 >
2024-07-01 20:18:42 +00:00
Shengqi Yu
1875c178cd
v4l2object: use v4l2 reported width for padded_width when complex video formats
...
Stride means bytes per line, and padded_width means pixels. Here,
padded_width shoule be pix width reported by v4l2 instead of stride.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7076 >
2024-07-01 18:53:04 +00:00