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
..
2024-09-27 16:43:37 +00:00
2024-03-20 10:53:16 +00:00
2024-10-10 10:35:36 -04:00
2023-05-20 05:48:23 +00:00
2024-10-10 10:35:36 -04:00
2023-02-03 17:48:10 +00:00
2023-02-28 10:12:31 +00:00
2023-08-23 18:33:04 +09:00