mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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
This commit is contained in:
parent
23089e9cc3
commit
1e7d2e2bbd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue