forked from mirrors/gstreamer-rs
gstreamer: Deprecate ElementFactory::create_with_properties()
and make_with_properties()
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1199>
This commit is contained in:
parent
dc5e408c2d
commit
36f89e19fc
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ use crate::{
|
|||
impl ElementFactory {
|
||||
#[doc(alias = "gst_element_factory_create_with_properties")]
|
||||
#[track_caller]
|
||||
#[deprecated = "Use create() instead"]
|
||||
pub fn create_with_properties(
|
||||
&self,
|
||||
properties: &[(&str, &dyn ToValue)],
|
||||
|
@ -27,6 +28,7 @@ impl ElementFactory {
|
|||
|
||||
#[doc(alias = "gst_element_factory_make_with_properties")]
|
||||
#[track_caller]
|
||||
#[deprecated = "Use make() instead"]
|
||||
pub fn make_with_properties(
|
||||
factoryname: &str,
|
||||
properties: &[(&str, &dyn ToValue)],
|
||||
|
|
Loading…
Reference in a new issue