Skip to content

tsmux: Deterministically order PAT and PMT entries

Jan Alexander Steffens requested to merge heftig/gstreamer:tsmux-ordering into main
  1. Refactoring:
    • Replace streams GArray with GPtrArray
      This is more appropriate.
    • Remove program_array_index
      It's only used for removal. Let's just scan the array.
  2. Default ordering:
    • Deterministically order PAT programs by number
    • Deterministically order program streams by PID
  3. Custom ordering:
    • Allow specifying PMT order via the prog-map
      Look for an entry PMT_<PID> in the prog-map, which specifies the relative index of the stream in the PMT.

Merge request reports