diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/mpegdemux/mpegtsparse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/mpegdemux/mpegtsparse.c b/gst/mpegdemux/mpegtsparse.c index 18a6b435..bb14fb4d 100644 --- a/gst/mpegdemux/mpegtsparse.c +++ b/gst/mpegdemux/mpegtsparse.c @@ -250,6 +250,8 @@ mpegts_parse_reset (MpegTSParse * parse) /* PAT */ g_hash_table_insert (parse->psi_pids, GINT_TO_POINTER (0), GINT_TO_POINTER (1)); + if (parse->pat != NULL) + gst_structure_free (parse->pat); parse->pat = NULL; /* pmt pids will be added and removed dynamically */ |