gstreamer/subprojects/gst-plugins-bad/gst-libs/gst
Víctor Manuel Jáquez Leal 4c5e17308e vaallocator: don't update size in info for single plane images
Don't update info's size with the VA image reported data size for single plane
images, since drivers might allocate bigger space than the strictly required to
store the image, but when we dump the buffer as is (using filesink, for example)
the produced stream is corrupted. For multi-plane images video meta is required
to read/write them.

We updated info's size because gstreamer-vaapi did it too, but the reason to
update it there was for uploading and rendering surfaces (commit c698a015).

Furthermore, this patch adds an error message if the allocated data size for the
image by the driver is lesser than the expected because it would be a buggy
driver.

Fixes: #2959
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5308>
2023-09-18 14:55:10 +00:00
..
adaptivedemux plugins: Fix wrong enum usage 2023-03-20 11:40:30 +00:00
audio gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
basecamerabinsrc meson: Add CameraBin and Va girs 2023-04-25 02:57:55 +00:00
codecparsers av1parser: Fix segmentation params update 2023-09-16 07:50:41 +09:00
codecs h264decoder: Update latency dynamically 2023-09-17 01:43:29 +09:00
cuda cuda: Add workaround for gir build 2023-08-14 13:41:01 +00:00
d3d11 d3d11bufferpool: Fix heavy CPU usage in case of fixed-size pool 2023-06-27 23:25:09 +00:00
dxva dxva: Add DXVA decoder baseclass implementation 2023-09-17 18:30:03 +09:00
insertbin gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
interfaces meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
isoff gst-plugins-bad: define G_LOG_DOMAIN for all libraries 2021-10-19 00:12:25 +00:00
mpegts gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
opencv meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
play gstplay: fix critical log when enable playbin3 2023-05-18 10:27:29 +00:00
player gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
sctp meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
transcoder gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
uridownloader meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
va vaallocator: don't update size in info for single plane images 2023-09-18 14:55:10 +00:00
vulkan vkbufferimagepool: short circuit usage for decoding 2023-09-08 18:11:55 +02:00
wayland wayland: Use generated formats list 2023-09-10 19:06:07 -04:00
webrtc webrtcice: Add webrtc ALPN header for HTTP proxy 2023-08-17 00:45:05 +00:00
winrt gst-plugins-bad: define G_LOG_DOMAIN for all libraries 2021-10-19 00:12:25 +00:00
glib-compat-private.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
meson.build dxva: Add DXVA decoder baseclass implementation 2023-09-17 18:30:03 +09:00