diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2020-06-11 13:45:15 +0300 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2020-06-11 14:07:01 +0300 |
commit | e85799b9d6ba89e3f3e76a5d092bc7145121af03 (patch) | |
tree | fd7a55babaeee17f4db46bbf04585566cecf02fe /generic/threadshare/src/appsrc.rs | |
parent | ed4fa7fde40506888947dadb5632b880fc7aaba6 (diff) |
use new constructor names
Diffstat (limited to 'generic/threadshare/src/appsrc.rs')
-rw-r--r-- | generic/threadshare/src/appsrc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/threadshare/src/appsrc.rs b/generic/threadshare/src/appsrc.rs index 8bc923029..3590b8536 100644 --- a/generic/threadshare/src/appsrc.rs +++ b/generic/threadshare/src/appsrc.rs @@ -630,7 +630,7 @@ impl ObjectSubclass for AppSrc { Self { src_pad: PadSrc::new( - gst::Pad::new_from_template(&klass.get_pad_template("src").unwrap(), Some("src")), + gst::Pad::from_template(&klass.get_pad_template("src").unwrap(), Some("src")), src_pad_handler.clone(), ), src_pad_handler, |