diff --git a/subprojects/gst-plugins-bad/gst/videoparsers/gsth264parse.c b/subprojects/gst-plugins-bad/gst/videoparsers/gsth264parse.c index 0fb24b82cb..6e86894130 100644 --- a/subprojects/gst-plugins-bad/gst/videoparsers/gsth264parse.c +++ b/subprojects/gst-plugins-bad/gst/videoparsers/gsth264parse.c @@ -354,6 +354,7 @@ gst_h264_parse_stop (GstBaseParse * parse) gst_h264_parse_reset (h264parse); gst_h264_nal_parser_free (h264parse->nalparser); + h264parse->nalparser = NULL; return TRUE; }