projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2057cf6
)
typefind: add comment and more logging
author
Stefan Kost
<ensonic@users.sf.net>
Thu, 15 Jul 2010 20:05:09 +0000
(23:05 +0300)
committer
Stefan Kost
<ensonic@users.sf.net>
Mon, 2 Aug 2010 08:45:28 +0000
(11:45 +0300)
plugins/elements/gsttypefindelement.c
patch
|
blob
|
history
diff --git
a/plugins/elements/gsttypefindelement.c
b/plugins/elements/gsttypefindelement.c
index 1a3891676ebd7959376db1854d3e518d288d78b7..0e97ec71841de8fddf12781d3adf856429d8cfa8 100644
(file)
--- 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 */