mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 02:58:24 +00:00
debugging fixes
Original commit message from CVS: debugging fixes
This commit is contained in:
parent
ccd846b74a
commit
56e7e557ae
7 changed files with 8 additions and 8 deletions
|
@ -912,7 +912,7 @@ gst_filesrc_srcpad_event (GstPad * pad, GstEvent * event)
|
|||
{
|
||||
GstFileSrc *src = GST_FILESRC (GST_PAD_PARENT (pad));
|
||||
|
||||
GST_DEBUG_OBJECT (src, "event %d", GST_EVENT_TYPE (event));
|
||||
GST_DEBUG_OBJECT (src, "received event type %d", GST_EVENT_TYPE (event));
|
||||
|
||||
switch (GST_EVENT_TYPE (event)) {
|
||||
case GST_EVENT_SEEK:
|
||||
|
|
|
@ -168,7 +168,7 @@ gst_event_new (GstEventType type)
|
|||
gst_alloc_trace_new (_event_trace, event);
|
||||
#endif
|
||||
|
||||
GST_CAT_INFO (GST_CAT_EVENT, "creating new event %p %d", event, type);
|
||||
GST_CAT_INFO (GST_CAT_EVENT, "creating new event type %d: %p", type, event);
|
||||
|
||||
_GST_DATA_INIT (GST_DATA (event),
|
||||
_gst_event_type,
|
||||
|
|
|
@ -4074,7 +4074,7 @@ gst_pad_send_event (GstPad * pad, GstEvent * event)
|
|||
if (GST_EVENT_SRC (event) == NULL)
|
||||
GST_EVENT_SRC (event) = gst_object_ref (GST_OBJECT (rpad));
|
||||
|
||||
GST_CAT_DEBUG (GST_CAT_EVENT, "have event %d on pad %s:%s",
|
||||
GST_CAT_DEBUG (GST_CAT_EVENT, "have event type %d on pad %s:%s",
|
||||
GST_EVENT_TYPE (event), GST_DEBUG_PAD_NAME (rpad));
|
||||
|
||||
if (GST_RPAD_EVENTHANDLER (rpad))
|
||||
|
|
|
@ -821,7 +821,7 @@ gst_queue_handle_src_event (GstPad * pad, GstEvent * event)
|
|||
if (!g_cond_timed_wait (queue->event_done, queue->qlock, &timeout) &&
|
||||
!er.handled) {
|
||||
GST_CAT_WARNING_OBJECT (queue_dataflow, queue,
|
||||
"timeout in upstream event handling, dropping event %p (%s)",
|
||||
"timeout in upstream event handling, dropping event %p (%d)",
|
||||
er.event, GST_EVENT_TYPE (er.event));
|
||||
g_mutex_lock (queue->event_lock);
|
||||
/* since this queue is for src events (ie upstream), this thread is
|
||||
|
|
|
@ -1448,7 +1448,7 @@ gst_opt_scheduler_event_wrapper (GstPad * srcpad, GstEvent * event)
|
|||
{
|
||||
gboolean flush;
|
||||
|
||||
GST_DEBUG ("intercepting event %d on pad %s:%s",
|
||||
GST_DEBUG ("intercepting event type %d on pad %s:%s",
|
||||
GST_EVENT_TYPE (event), GST_DEBUG_PAD_NAME (srcpad));
|
||||
|
||||
/* figure out if this is a flush event */
|
||||
|
@ -1466,7 +1466,7 @@ gst_opt_scheduler_event_wrapper (GstPad * srcpad, GstEvent * event)
|
|||
}
|
||||
|
||||
if (flush) {
|
||||
GST_LOG ("event is flush");
|
||||
GST_LOG ("event triggers a flush");
|
||||
|
||||
pad_clear_queued (srcpad, NULL);
|
||||
}
|
||||
|
|
|
@ -912,7 +912,7 @@ gst_filesrc_srcpad_event (GstPad * pad, GstEvent * event)
|
|||
{
|
||||
GstFileSrc *src = GST_FILESRC (GST_PAD_PARENT (pad));
|
||||
|
||||
GST_DEBUG_OBJECT (src, "event %d", GST_EVENT_TYPE (event));
|
||||
GST_DEBUG_OBJECT (src, "received event type %d", GST_EVENT_TYPE (event));
|
||||
|
||||
switch (GST_EVENT_TYPE (event)) {
|
||||
case GST_EVENT_SEEK:
|
||||
|
|
|
@ -821,7 +821,7 @@ gst_queue_handle_src_event (GstPad * pad, GstEvent * event)
|
|||
if (!g_cond_timed_wait (queue->event_done, queue->qlock, &timeout) &&
|
||||
!er.handled) {
|
||||
GST_CAT_WARNING_OBJECT (queue_dataflow, queue,
|
||||
"timeout in upstream event handling, dropping event %p (%s)",
|
||||
"timeout in upstream event handling, dropping event %p (%d)",
|
||||
er.event, GST_EVENT_TYPE (er.event));
|
||||
g_mutex_lock (queue->event_lock);
|
||||
/* since this queue is for src events (ie upstream), this thread is
|
||||
|
|
Loading…
Reference in a new issue