diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c index b9bd6c3ee5..278e4763ce 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c @@ -1407,6 +1407,7 @@ gst_h264_parser_parse_sei_message (GstH264NalParser * nalparser, error: GST_WARNING ("error parsing \"Sei message\""); + gst_h264_sei_clear (sei); return GST_H264_PARSER_ERROR; }