mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-10-31 22:58:51 +00:00
closedcaption/cea608overlay: Proxy the allocation query
This commit is contained in:
parent
cecacf5430
commit
fe0075ad15
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue