From: Stefan Sauer Date: Thu, 13 Oct 2011 14:42:10 +0000 (+0200) Subject: logging: use _OBJECT variants more X-Git-Tag: RELEASE-0.10.36~133 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=735068218e58572a233d1b6e63b403de649fba5d;p=platform%2Fupstream%2Fgstreamer.git logging: use _OBJECT variants more --- diff --git a/gst/gstbin.c b/gst/gstbin.c index 15ca7d8..bfaba56 100644 --- a/gst/gstbin.c +++ b/gst/gstbin.c @@ -2578,12 +2578,12 @@ restart: break; } case GST_ITERATOR_RESYNC: - GST_CAT_DEBUG (GST_CAT_STATES, "iterator doing resync"); + GST_CAT_DEBUG_OBJECT (GST_CAT_STATES, element, "iterator doing resync"); gst_iterator_resync (it); goto restart; default: case GST_ITERATOR_DONE: - GST_CAT_DEBUG (GST_CAT_STATES, "iterator done"); + GST_CAT_DEBUG_OBJECT (GST_CAT_STATES, element, "iterator done"); done = TRUE; break; } @@ -2594,12 +2594,13 @@ restart: goto done; if (have_no_preroll) { - GST_CAT_DEBUG (GST_CAT_STATES, + GST_CAT_DEBUG_OBJECT (GST_CAT_STATES, bin, "we have NO_PREROLL elements %s -> NO_PREROLL", gst_element_state_change_return_get_name (ret)); ret = GST_STATE_CHANGE_NO_PREROLL; } else if (have_async) { - GST_CAT_DEBUG (GST_CAT_STATES, "we have ASYNC elements %s -> ASYNC", + GST_CAT_DEBUG_OBJECT (GST_CAT_STATES, bin, + "we have ASYNC elements %s -> ASYNC", gst_element_state_change_return_get_name (ret)); ret = GST_STATE_CHANGE_ASYNC; }