tee: Deprecate alloc-pad property
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 8 Aug 2017 21:35:19 +0000 (17:35 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 5 Sep 2017 19:59:46 +0000 (15:59 -0400)
It has no effect, not implemented, and would lead to bad rendering.

https://bugzilla.gnome.org/show_bug.cgi?id=730758

plugins/elements/gsttee.c

index 8531992..8694b95 100644 (file)
@@ -263,8 +263,9 @@ gst_tee_class_init (GstTeeClass * klass)
           DEFAULT_PULL_MODE,
           G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   pspec_alloc_pad = g_param_spec_object ("alloc-pad", "Allocation Src Pad",
-      "The pad ALLOCATION queries will be proxied to (unused)", GST_TYPE_PAD,
-      G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+      "The pad ALLOCATION queries will be proxied to (DEPRECATED, has no effect)",
+      GST_TYPE_PAD,
+      G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_DEPRECATED);
   g_object_class_install_property (gobject_class, PROP_ALLOC_PAD,
       pspec_alloc_pad);