From 1e7d2e2bbd856322c1d1e9b4d4198bc5b9ee834f Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Tue, 19 Nov 2019 14:23:48 +0100 Subject: [PATCH] matroskamux: Pass the right size to gst_collect_pads_add_pad We were lucky that GstMatroskamuxPad is larger than GstMatroskaPad. https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/merge_requests/393 --- gst/matroska/matroska-mux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c index e02cb39524..debe92ff50 100644 --- a/gst/matroska/matroska-mux.c +++ b/gst/matroska/matroska-mux.c @@ -2439,7 +2439,7 @@ gst_matroska_mux_request_new_pad (GstElement * element, gst_matroskamux_pad_init (newpad); collect_pad = (GstMatroskaPad *) gst_collect_pads_add_pad (mux->collect, GST_PAD (newpad), - sizeof (GstMatroskamuxPad), + sizeof (GstMatroskaPad), (GstCollectDataDestroyNotify) gst_matroska_pad_free, locked); collect_pad->mux = mux;