diff options
-rw-r--r-- | gst/mpegdemux/mpegtsparse.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/mpegdemux/mpegtsparse.c b/gst/mpegdemux/mpegtsparse.c index f947cc50..90a8ea3b 100644 --- a/gst/mpegdemux/mpegtsparse.c +++ b/gst/mpegdemux/mpegtsparse.c @@ -1006,6 +1006,9 @@ mpegts_parse_apply_pmt (MpegTSParse * parse, if (program) { /* deactivate old pmt */ mpegts_parse_deactivate_pmt (parse, program); + if (program->pmt_info) + gst_structure_free (program->pmt_info); + program->pmt_info = NULL; } else { /* no PAT?? */ g_hash_table_insert (parse->psi_pids, |