gstreamer/subprojects/gst-plugins-base/gst-libs/gst
He Junyan fe07763fd8 glupload: make raw manner only consider system memory
The current _raw_data_upload_transform_caps() only simply apply
"memory:GLMemory" to all input caps to transform the output caps.
This is not precise and may cause problem. For example, if the
input caps include:

  video/x-raw(memory:DMABuf), width=(int)1920, height=(int)1080, \
  interlace-mode=(string)progressive, multiview-mode=(string)mono, \
  framerate=(fraction)30/1, drm-format=(string)NV12:0x0100000000000002

it will be changed as

  video/x-raw(memory:GLMemory), width=(int)1920, height=(int)1080, \
  interlace-mode=(string)progressive, multiview-mode=(string)mono, \
  framerate=(fraction)30/1, drm-format=(string)NV12:0x0100000000000002

For GLMemory kind caps, no drm-format should appear.

So we should let it only transforms which it can recognize.
We also should recognize the system memory caps in _accept() early, if
the input is not system memory, we just return early.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3524>
2023-08-03 20:58:23 +00:00
..
allocators gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
app appsink: add missing make_writable call 2023-07-11 07:08:38 +00:00
audio dsd: Fix documentation parameters 2023-07-11 05:17:55 +00:00
fft gst-plugins-base: re-indent with GNU indent 2.2.12 2023-03-17 03:18:53 +00:00
gl glupload: make raw manner only consider system memory 2023-08-03 20:58:23 +00:00
pbutils discoverer: Only call handle_current_async if still processing 2023-06-30 08:52:38 +03:00
riff riff: add more h265 fourcc formats 2023-07-17 13:17:20 +00:00
rtp gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
rtsp gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
sdp sdp: Add API to remove media from a SDP message 2023-05-20 09:23:17 +01:00
tag tags: Don't allow image tags with G_MAXUINT32 length 2023-06-20 10:02:19 +00:00
video video: dma: let gst_video_info_dma_drm_to_caps() return caps with DMABuf feature 2023-07-26 20:49:02 +00:00
glib-compat-private.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
meson.build sdp: Handle level-asymmetry-allowed for H264 streams 2021-12-12 10:59:00 -03:00