diff --git a/plugins/elements/gsttypefindelement.c b/plugins/elements/gsttypefindelement.c index 1a3891676e..0e97ec7184 100644 --- a/plugins/elements/gsttypefindelement.c +++ b/plugins/elements/gsttypefindelement.c @@ -54,6 +54,7 @@ * getrange based mode, the element starts its own task to figure out the * type of the stream. * + * Most of the actual implementation is in libs/gst/base/gsttypefindhelper.c. */ #ifdef HAVE_CONFIG_H @@ -750,6 +751,8 @@ gst_type_find_element_chain (GstPad * pad, GstBuffer * buffer) typefind = GST_TYPE_FIND_ELEMENT (GST_PAD_PARENT (pad)); + GST_LOG_OBJECT (typefind, "handling buffer in mode %d", typefind->mode); + switch (typefind->mode) { case MODE_ERROR: /* we should already have called GST_ELEMENT_ERROR */