I have a use case where I need to update the PTS and DTS values of a KLV data stream. The suggested change will enable the use of the data stream from the input container as template when adding the new data stream to the output container.
This is an update to an earlier pull request I posted, #767.