mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
typefind: add comment and more logging
This commit is contained in:
parent
2057cf6d79
commit
5486683cb7
1 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,7 @@
|
||||||
* getrange based mode, the element starts its own task to figure out the
|
* getrange based mode, the element starts its own task to figure out the
|
||||||
* type of the stream.
|
* type of the stream.
|
||||||
*
|
*
|
||||||
|
* Most of the actual implementation is in libs/gst/base/gsttypefindhelper.c.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#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));
|
typefind = GST_TYPE_FIND_ELEMENT (GST_PAD_PARENT (pad));
|
||||||
|
|
||||||
|
GST_LOG_OBJECT (typefind, "handling buffer in mode %d", typefind->mode);
|
||||||
|
|
||||||
switch (typefind->mode) {
|
switch (typefind->mode) {
|
||||||
case MODE_ERROR:
|
case MODE_ERROR:
|
||||||
/* we should already have called GST_ELEMENT_ERROR */
|
/* we should already have called GST_ELEMENT_ERROR */
|
||||||
|
|
Loading…
Reference in a new issue