Jan Alexander Steffens (heftig) 0312887452 mpegtsmux: Fixup program array indices after stream removal
Each stream stores the `program_array_index` of its position in its
program's `streams` array. When we remove a stream from this array, we
need to correct the `program_array_index` of all streams that were
backshifted by the removal.

Also extract the removal into a new function and add some more safety
checks.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2266>
2021-05-20 13:35:06 +00:00
..
2021-05-07 11:06:53 +00:00
2021-05-07 12:34:20 +00:00
2021-05-05 06:17:14 +00:00
2021-05-11 16:06:56 -04:00