I've been hacking gstreamer-plugins-bad to add DVB-S2 support and I noticed that mpegdemux and mpegtsdemux have a lot of code in common. I had to make identical changes to two lots of mpegtspacketizer.c etc. Why is there so much duplication and which actually gets used eg by dvbbasebin?