Don't forget to release COM objects.
First commit of my working TS muxer. Still TODO:
1. Add code to call SetActiveComponents() in the C# subchannel class.
2. Add support for transport stream inputs???
3. Add support for detecting stalled input streams???
4. Add debug parameter(s) to control file output of muxed stream for troubleshooting???.

...and of course, lots of testing! :)