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-08-17 15:00:11 +05:30
2024-06-13 04:48:56 +00:00
2024-09-27 16:43:37 +00:00
2024-06-22 12:26:22 +01:00
2024-08-17 15:00:11 +05:30
2024-05-02 13:26:09 +02:00
2024-08-14 04:34:27 +00:00