fmp4: Fix compilation after glib::List API changes

This commit is contained in:
Sebastian Dröge 2023-01-02 19:22:51 +02:00
parent f59d00b8e6
commit af9d9c0a5c

View file

@ -1968,7 +1968,7 @@ impl ObjectImpl for FMP4Mux {
let obj = self.obj();
let class = obj.class();
for templ in class.pad_template_list().filter(|templ| {
for templ in class.pad_template_list().into_iter().filter(|templ| {
templ.presence() == gst::PadPresence::Always
&& templ.direction() == gst::PadDirection::Sink
}) {