summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2018-02-05 18:03:43 +0100
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2018-02-05 18:03:43 +0100
commit8ae9404ff06d4d9a1e95c3bd1e77ab2bc34bc309 (patch)
treefc0afada2d17d3199c9dd1785718cf69e0413e48
parentb8ef897d0847d4abdd2855cde25ef8db0aae4d01 (diff)
downloadgstreamer-plugins-bad-8ae9404ff06d4d9a1e95c3bd1e77ab2bc34bc309.tar.gz
Revert "gdpdepay: don't use allocator if it has custom alloc"
This reverts commit b8ef897d0847d4abdd2855cde25ef8db0aae4d01.
-rw-r--r--gst/gdp/gstgdpdepay.c9
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 (&params);
- }
-
gdpdepay->allocator = allocator;
gdpdepay->allocation_params = params;