diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2018-02-05 18:03:31 +0100 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2018-02-08 11:15:46 +0100 |
commit | 8749c61e956868bfc75d6adca07c46486c327bd0 (patch) | |
tree | a9acd34ef7b7a307b9e6793cc7f57082f88471d9 /gst | |
parent | 20a6dacf711fce58a41de648d8cd243d41c94567 (diff) |
Revert "gdpdepay: don't use allocator if it has custom alloc"
This reverts commit f6cb16ab8cecfe683473b173732ad040e858abd5.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/gdp/gstgdpdepay.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gst/gdp/gstgdpdepay.c b/gst/gdp/gstgdpdepay.c index f00f3d6f1..750571e6f 100644 --- a/gst/gdp/gstgdpdepay.c +++ b/gst/gdp/gstgdpdepay.c @@ -580,15 +580,6 @@ gst_gdp_depay_decide_allocation (GstGDPDepay * gdpdepay) if (gdpdepay->allocator) gst_object_unref (gdpdepay->allocator); - if (allocator && - GST_OBJECT_FLAG_IS_SET (allocator, GST_ALLOCATOR_FLAG_CUSTOM_ALLOC)) { - GST_DEBUG_OBJECT (gdpdepay, - "Provided allocator has a custom alloc fuction. Ignoring."); - gst_object_unref (allocator); - allocator = NULL; - gst_allocation_params_init (¶ms); - } - gdpdepay->allocator = allocator; gdpdepay->allocation_params = params; |