summaryrefslogtreecommitdiff
path: root/gst/matroska/matroska-mux.c
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jsteffens@make.tv>2019-11-19 14:23:48 +0100
committerJan Alexander Steffens (heftig) <jsteffens@make.tv>2019-11-19 14:57:11 +0100
commit1e7d2e2bbd856322c1d1e9b4d4198bc5b9ee834f (patch)
tree87d98586679f4afb1065e8d5a60477bfe83cc12c /gst/matroska/matroska-mux.c
parent23089e9cc376bdda90185d2b2378e3ba1ad78c75 (diff)
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
Diffstat (limited to 'gst/matroska/matroska-mux.c')
-rw-r--r--gst/matroska/matroska-mux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c
index e02cb3952..debe92ff5 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;