h264parse: improve PPS parse error handling

Michael Olbrich requested to merge mol/gstreamer:submit/bad-h264parse into main

Don't use the PPS if the referenced SPS was not found (GST_H264_PARSER_BROKEN_LINK). It's not usable and the didn't finish parsing it anyways, so it does not contain any useful data.

Instead fallback to the previous PPS and update parser state and header flag accordingly.

This is similar gst-plugins-bad!59 (merged) but for PPS instead of SPS.

Merge request reports