summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2010-07-27 16:33:29 +0200
committerEdward Hervey <bilboed@bilboed.com>2010-07-27 16:33:29 +0200
commitd79550cd93ab2b56c816f6c3d9cd97cc44947eb1 (patch)
treecb4f8c0032021553d5ea2bb4205d89472d5f57ab
parent54c26ec8c8da346fac27f8f7278cb2ffd0810bb7 (diff)
gnlsource: Remove a useless check for GstBin property
We depend on a version of GStreamer that will contain it
-rw-r--r--gnl/gnlsource.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gnl/gnlsource.c b/gnl/gnlsource.c
index fc1fb0f..cec125a 100644
--- a/gnl/gnlsource.c
+++ b/gnl/gnlsource.c
@@ -137,11 +137,8 @@ gnl_source_init (GnlSource * source, GnlSourceClass * klass G_GNUC_UNUSED)
source->priv =
G_TYPE_INSTANCE_GET_PRIVATE (source, GNL_TYPE_SOURCE, GnlSourcePrivate);
- if (g_object_class_find_property (G_OBJECT_CLASS (parent_class),
- "async-handling")) {
- GST_DEBUG_OBJECT (source, "Setting GstBin async-handling to TRUE");
- g_object_set (G_OBJECT (source), "async-handling", TRUE, NULL);
- }
+ GST_DEBUG_OBJECT (source, "Setting GstBin async-handling to TRUE");
+ g_object_set (G_OBJECT (source), "async-handling", TRUE, NULL);
}
static void