tsmux: Fill padding packets with stuffing bytes
authorJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>
Mon, 16 Oct 2023 13:31:04 +0000 (15:31 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 19 Oct 2023 22:22:33 +0000 (23:22 +0100)
commit5e78ef7a1055dc73826cbcd555f3f1dc9a8c3483
tree8c878eea34c59ecdb090a17f31b27d411e59e360
parenta92050493a5f06c42662eb86e5e8301d85ba2150
tsmux: Fill padding packets with stuffing bytes

Instead of leaving it uncleared, emitting probably old packet data but
potentially also random or sensitive application data.

Also fix the mapping mode.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5513>
subprojects/gst-plugins-bad/gst/mpegtsmux/tsmux/tsmux.c