h264vaapidec crash when decode some un-standard stream
command line:
gst-launch-1.0 filesrc location=receive ! h264parse ! vaapih264dec ! vaapipostproc ! vaapisink
crash when play the file.
The stream has error but decoder should not crash
0:00:01.127916176 11865 0x23def20 WARN codecparsers_h264 gsth264parser.c:856:gst_h264_parser_parse_buffering_period: value greater than max. value: 284, max 31 0:00:01.127955539 11865 0x23def20 WARN codecparsers_h264 gsth264parser.c:900:gst_h264_parser_parse_buffering_period: error parsing "Buffering period" 0:00:01.127972694 11865 0x23def20 WARN codecparsers_h264 gsth264parser.c:1261:gst_h264_parser_parse_sei_message: Bit non equal to one. 0:00:01.128053139 11865 0x23def20 WARN codecparsers_h264 gsth264parser.c:1267:gst_h264_parser_parse_sei_message: Bit non equal to zero. 0:00:01.128080257 11865 0x23def20 WARN codecparsers_h264 gsth264parser.c:1267:gst_h264_parser_parse_sei_message: Bit non equal to zero. 0:00:01.128093402 11865 0x23def20 WARN codecparsers_h264 gsth264parser.c:1267:gst_h264_parser_parse_sei_message: Bit non equal to zero. 0:00:01.128117401 11865 0x23def20 WARN h264parse gsth264parse.c:574:gst_h264_parse_process_sei: failed to parse one or more SEI message 0:00:01.128262882 11865 0x23def20 WARN codecparsers_h264 gsth264parser.c:856:gst_h264_parser_parse_buffering_period: value greater than max. value: 284, max 31 0:00:01.128276866 11865 0x23def20 WARN codecparsers_h264 gsth264parser.c:900:gst_h264_parser_parse_buffering_period: error parsing "Buffering period" 0:00:01.128328066 11865 0x23def20 WARN codecparsers_h264 gsth264parser.c:1261:gst_h264_parser_parse_sei_message: Bit non equal to one. 0:00:01.128338851 11865 0x23def20 WARN codecparsers_h264 gsth264parser.c:1267:gst_h264_parser_parse_sei_message: Bit non equal to zero. 0:00:01.128349827 11865 0x23def20 WARN codecparsers_h264 gsth264parser.c:1267:gst_h264_parser_parse_sei_message: Bit non equal to zero. 0:00:01.128359253 11865 0x23def20 WARN codecparsers_h264 gsth264parser.c:1267:gst_h264_parser_parse_sei_message: Bit non equal to zero. 0:00:01.128369106 11865 0x23def20 WARN vaapi gstvaapidecoder_h264.c:1844:parse_sei: failed to parse SEI messages 0:00:01.128387089 11865 0x23def20 WARN vaapidecode gstvaapidecode.c:1171:gst_vaapidecode_parse_frame: parse error 8 0:00:11.609030413 11865 0x23def20 WARN vaapi gstvaapidecoder_h264.c:4316:decode_unit: unsupported NAL unit type 23 0:00:11.609108872 11865 0x23def20 WARN vaapidecode gstvaapidecode.c:743:gst_vaapidecode_handle_frame:<vaapidecode_h264-0> decode error 8 0:00:11.609158359 11865 0x23def20 WARN videodecoder gstvideodecoder.c:4162:_gst_video_decoder_error:<vaapidecode_h264-0> error: Decoding error 0:00:11.609193996 11865 0x23def20 WARN videodecoder gstvideodecoder.c:4164:_gst_video_decoder_error:<vaapidecode_h264-0> error: Decode error 8 ^Chandling interrupt. Interrupt: Stopping pipeline ... Execution ended after 0:00:11.640983611 Setting pipeline to PAUSED ... Setting pipeline to READY ...
** (gst-launch-1.0:11865): CRITICAL **: 00:48:55.890: is_surface_resolution_changed: assertion 'surface != NULL' failed