closedcaption/cea608overlay: Proxy the allocation query

This commit is contained in:
Sebastian Dröge 2021-10-16 15:28:09 +03:00
parent cecacf5430
commit fe0075ad15

View file

@ -558,11 +558,13 @@ impl ObjectSubclass for Cea608Overlay {
)
})
.flags(gst::PadFlags::PROXY_CAPS)
.flags(gst::PadFlags::PROXY_ALLOCATION)
.build();
let templ = klass.pad_template("src").unwrap();
let srcpad = gst::Pad::builder_with_template(&templ, Some("src"))
.flags(gst::PadFlags::PROXY_CAPS)
.flags(gst::PadFlags::PROXY_ALLOCATION)
.build();
Self {