Revert "mpegtspacketizer: memcmp potentially seen_before data"
Commit fcad4cc6 from this MR should be reverted : gst-plugins-bad!2468 (merged)
As I mentioned there, doing memcmp on all sections is suboptimal and the checks in place were the only ones that were required to identify changing sections.
If the application is feeding it a concatenated stream which might potentially match the same values, it should be sending the appropriate events (such as a new TIME SEGMENT).
See arguments here : gst-plugins-bad!2468 (comment 1067800)
Furthermore the memcmp()
usage was wrong all this time.
Edited by Tim-Philipp Müller