gstreamer/subprojects/gst-plugins-bad/sys/applemedia
Nirbheek Chauhan 80bb69ba66 vtdec: Set input formats when we get incomplete caps
In some cases, decodebin3 will send us incomplete caps (not containing
codec_data), and then a GAP event, which will force a negotiation.
This segfaults due to a null pointer deref because self->input_state
is NULL.

The only possible fix is to avoid negotiating when we get incomplete
caps (to avoid re-negotiationg immediately afterwards, which isn't
supported by some muxers), but also set as much input state as
possible so that a renegotiation triggered by a GAP event can complete
successfully.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7634>
2024-10-12 01:31:52 +00:00
..
avfassetsrc.h
avfassetsrc.m
avfdeviceprovider.h
avfdeviceprovider.m avfdeviceprovider: Fix caps leak 2024-09-26 11:48:19 +00:00
avfvideosrc.h avfdeviceprovider: Fix debug category initialization 2024-07-18 07:20:06 +00:00
avfvideosrc.m common: Use more efficient versions of GstCapsFeatures API where possible 2024-09-26 19:26:18 +03:00
avsamplevideosink.h
avsamplevideosink.m applemedia: Also fix inconsistent pixel format definition for NV12 2023-08-16 14:15:52 +00:00
coremediabuffer.c applemedia: Fix pixel format for I420 2023-08-16 14:15:52 +00:00
coremediabuffer.h
corevideobuffer.c applemedia: Fix pixel format for I420 2023-08-16 14:15:52 +00:00
corevideobuffer.h
corevideomemory.c
corevideomemory.h
glcontexthelper.c
glcontexthelper.h
helpers.c applemedia: Also fix inconsistent pixel format definition for NV12 2023-08-16 14:15:52 +00:00
helpers.h
iosassetsrc.h applemedia: silence some deprecation warnings from ios 12.0 2023-07-27 13:05:37 +00:00
iosassetsrc.m applemedia: silence some deprecation warnings from ios 12.0 2023-07-27 13:05:37 +00:00
iosglmemory.c
iosglmemory.h
iosurfaceglmemory.c
iosurfaceglmemory.h
iosurfacevulkanmemory.c vkimagebufferpool: allow specifying initial image layout 2024-01-13 05:54:00 +00:00
iosurfacevulkanmemory.h
meson.build meson: Find MoltenVK with the objc++ compiler everywhere 2024-07-07 13:20:12 +00:00
metal-helpers.h
plugin.m macos: Move atdec from applemedia (-bad) to osxaudio (-good) 2024-03-12 09:55:10 +00:00
videotexturecache-gl.h
videotexturecache-gl.m applemedia: silence some deprecation warnings from ios 12.0 2023-07-27 13:05:37 +00:00
videotexturecache-vulkan.h
videotexturecache-vulkan.mm applemedia: Disable some deprecation errors 2024-07-07 13:20:12 +00:00
videotexturecache.h
videotexturecache.m
vtdec.c vtdec: Set input formats when we get incomplete caps 2024-10-12 01:31:52 +00:00
vtdec.h gst: Move GstQueueArray as GstVecDeque to core 2024-05-06 18:25:42 +00:00
vtenc.c vtenc: Don't call drop_frame() when flushing 2024-10-09 20:29:52 +00:00
vtenc.h vtenc: Restart encoding session when certain errors are detected 2024-09-04 06:46:07 +00:00
vtutil.c
vtutil.h