collectpads: port API changes

This commit is contained in:
Stefan Sauer 2011-11-17 08:25:48 +01:00
parent 63a890a746
commit 319de2e96a

View file

@ -437,7 +437,7 @@ gst_ffmpegmux_request_new_pad (GstElement * element,
pad = gst_pad_new_from_template (templ, padname);
collect_pad = (GstFFMpegMuxPad *)
gst_collect_pads_add_pad (ffmpegmux->collect, pad,
sizeof (GstFFMpegMuxPad));
sizeof (GstFFMpegMuxPad), NULL);
collect_pad->padnum = ffmpegmux->context->nb_streams;
/* small hack to put our own event pad function and chain up to collect pad */