mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
Added some debug info
Original commit message from CVS: Added some debug info
This commit is contained in:
parent
fac7be8705
commit
07e409f402
1 changed files with 2 additions and 0 deletions
|
@ -480,8 +480,10 @@ gst_spider_identity_sink_loop_type_finding (GstSpiderIdentity *ident)
|
||||||
GstTypeFindFunc typefindfunc = (GstTypeFindFunc)factory->typefindfunc;
|
GstTypeFindFunc typefindfunc = (GstTypeFindFunc)factory->typefindfunc;
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
|
|
||||||
|
GST_DEBUG (0, "trying typefind function %s", GST_PLUGIN_FEATURE_NAME (factory));
|
||||||
if (typefindfunc && (caps = typefindfunc (buf, factory))) {
|
if (typefindfunc && (caps = typefindfunc (buf, factory))) {
|
||||||
|
|
||||||
|
gst_caps_debug (caps, "spider typefind caps");
|
||||||
/* pause the autoplugger */
|
/* pause the autoplugger */
|
||||||
if (gst_element_get_state (GST_ELEMENT (GST_ELEMENT_PARENT(ident))) == GST_STATE_PLAYING) {
|
if (gst_element_get_state (GST_ELEMENT (GST_ELEMENT_PARENT(ident))) == GST_STATE_PLAYING) {
|
||||||
gst_element_set_state (GST_ELEMENT (GST_ELEMENT_PARENT(ident)), GST_STATE_PAUSED);
|
gst_element_set_state (GST_ELEMENT (GST_ELEMENT_PARENT(ident)), GST_STATE_PAUSED);
|
||||||
|
|
Loading…
Reference in a new issue