#include "ges-internal.h"
#include "ges-track-element-asset.h"
+#define DEFAULT_DISCOVERY_TIMEOUT (60 * GST_SECOND)
+
static GHashTable *parent_newparent_table = NULL;
static void
g_object_class_install_property (object_class, PROP_DURATION,
properties[PROP_DURATION]);
+ timeout = DEFAULT_DISCOVERY_TIMEOUT;
errno = 0;
timeout_str = g_getenv ("GES_DISCOVERY_TIMEOUT");
if (timeout_str)
errno = 10;
if (errno)
- timeout = 60 * GST_SECOND;
+ timeout = DEFAULT_DISCOVERY_TIMEOUT;
klass->discoverer = gst_discoverer_new (timeout, &err);
if (!klass->discoverer) {