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:
Sebastian Dröge 2023-01-23 14:42:12 +02:00 committed by GStreamer Marge Bot
parent dc5e408c2d
commit 36f89e19fc

View file

@ -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)],