tsmux: Move out parameters of tsmux_write_ts_header
authorJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>
Mon, 16 Oct 2023 21:52:48 +0000 (23:52 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 20 Oct 2023 08:53:19 +0000 (08:53 +0000)
commit4e9cb5d8ebdb615ff1c17633499e4ef8f64a721e
tree02b11bbf1b0e03420f1ad53cd9acee0153ef6a2a
parenta65035ac251a68aac9231f63c34457f4c4a9cb9d
tsmux: Move out parameters of tsmux_write_ts_header

Move them to the end of the parameter list and also allow passing NULLs
to ignore the payload information, but assert that the payload length is
zero in this case.

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