tsdemux: Change the pad naming scheme to include a generation ID
authorJan Schmidt <jan@centricular.com>
Tue, 22 Sep 2015 16:51:57 +0000 (02:51 +1000)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 6 Jun 2016 10:05:34 +0000 (13:05 +0300)
commite3f5ccb3333f3b22c41e59cf78e4343c99187009
treee8940ada0b549fe651a146dc926fff5a65d9d778
parenta40ecc11689e20cf4a9145903beb3c8c0a1490a8
tsdemux: Change the pad naming scheme to include a generation ID

A simple fix for the problem of creating new pads with duplicate
names when switching program, easier than the alternative of
trying to work out which pads might persist and manage that.

See https://bugzilla.gnome.org/show_bug.cgi?id=758454
gst/mpegtsdemux/tsdemux.c
gst/mpegtsdemux/tsdemux.h