tsmux: Fix default new_stream_func
authorJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>
Tue, 10 Oct 2023 08:22:44 +0000 (10:22 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 20 Oct 2023 08:53:19 +0000 (08:53 +0000)
commitda02db0d95bd7e09ef348dcd0f27ff5ac8d51cbe
tree7bcc33bd22afe59a290766918f52b0c68c661dec
parent2d938d37a667698ecb2e0da9589403dd5193f59d
tsmux: Fix default new_stream_func

`tsmux_stream_new` is missing the `user_data` parameter and shouldn't be
cast to `TsMuxNewStreamFunc`.

Prefer not casting at all to make sure we don't miss such an issue.

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