mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
gst/: Added some more debug info.
Original commit message from CVS: * gst/gstbin.c: (gst_bin_element_set_state): * gst/gstclock.c: (gst_clock_id_wait): Added some more debug info. * libs/gst/base/gstadapter.c: Added more docs. * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object), (gst_base_sink_do_sync), (gst_base_sink_chain): Added some comments.
This commit is contained in:
parent
e0e42be683
commit
c33121174b
5 changed files with 20 additions and 2 deletions
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,16 @@
|
|||
2006-01-18 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/gstbin.c: (gst_bin_element_set_state):
|
||||
* gst/gstclock.c: (gst_clock_id_wait):
|
||||
Added some more debug info.
|
||||
|
||||
* libs/gst/base/gstadapter.c:
|
||||
Added more docs.
|
||||
|
||||
* libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
|
||||
(gst_base_sink_do_sync), (gst_base_sink_chain):
|
||||
Added some comments.
|
||||
|
||||
2006-01-18 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* tests/check/Makefile.am:
|
||||
|
|
|
@ -1621,6 +1621,8 @@ gst_bin_element_set_state (GstBin * bin, GstElement * element, GstState pending)
|
|||
|
||||
/* skip locked elements */
|
||||
if (G_UNLIKELY (locked)) {
|
||||
GST_DEBUG_OBJECT (element,
|
||||
"element is locked, pretending state change succeeded");
|
||||
ret = GST_STATE_CHANGE_SUCCESS;
|
||||
goto done;
|
||||
}
|
||||
|
|
|
@ -356,7 +356,8 @@ gst_clock_id_wait (GstClockID id, GstClockTimeDiff * jitter)
|
|||
GST_CAT_DEBUG_OBJECT (GST_CAT_CLOCK, clock, "waiting on clock entry %p",
|
||||
id);
|
||||
res = cclass->wait (clock, entry);
|
||||
GST_CAT_DEBUG_OBJECT (GST_CAT_CLOCK, clock, "done waiting entry %p", id);
|
||||
GST_CAT_DEBUG_OBJECT (GST_CAT_CLOCK, clock,
|
||||
"done waiting entry %p, res: %d", id, res);
|
||||
|
||||
if (jitter) {
|
||||
GstClockTime now = gst_clock_get_time (clock);
|
||||
|
|
|
@ -303,7 +303,7 @@ gst_adapter_flush (GstAdapter * adapter, guint flush)
|
|||
* @nbytes: the number of bytes to take
|
||||
*
|
||||
* Returns a freshly allocated buffer containing the first @nbytes bytes of the
|
||||
* @adapter.
|
||||
* @adapter. The returned bytes will be flushed from the adapter.
|
||||
*
|
||||
* Caller owns returned value. g_free after usage.
|
||||
*
|
||||
|
|
|
@ -1177,6 +1177,8 @@ wrong_mode:
|
|||
g_warning ("Push on pad %s:%s, but it was not activated in push mode",
|
||||
GST_DEBUG_PAD_NAME (pad));
|
||||
GST_OBJECT_UNLOCK (pad);
|
||||
/* we don't post an error message this will signal to the peer
|
||||
* pushing that EOS is reached. */
|
||||
result = GST_FLOW_UNEXPECTED;
|
||||
goto done;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue