diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2006-02-13 11:52:43 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2006-02-13 11:52:43 +0000 |
commit | b37766658e0307dfead13a909a8b8682420e10f6 (patch) | |
tree | 131a3c3d9aef651dae5724c961ea4669cfa766b4 /gst/gstpad.c | |
parent | 2ca3c26ed3e25d8225ac165fe6060213e94f9060 (diff) |
docs/design/part-TODO.txt: Updated TODO list, basesrc supports seeking to non-bytes formats.
Original commit message from CVS:
* docs/design/part-TODO.txt:
Updated TODO list, basesrc supports seeking to non-bytes
formats.
* docs/design/part-element-sink.txt:
Update docs.
* gst/gstbin.c: (bin_replace_message),
(gst_bin_handle_message_func):
* gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
* gst/gstevent.c: (gst_event_finalize):
* gst/gstpad.c: (gst_pad_event_default_dispatch),
(gst_pad_send_event):
Use shiny new _TYPE_NAME macros.
* libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
Move debug statement up.
* gst/gstelement.c: (gst_element_set_locked_state):
Add some debugging.
Diffstat (limited to 'gst/gstpad.c')
-rw-r--r-- | gst/gstpad.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gst/gstpad.c b/gst/gstpad.c index b48267ffd..b20eda206 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -2706,16 +2706,14 @@ gst_pad_event_default_dispatch (GstPad * pad, GstEvent * event) /* for each pad we send to, we should ref the event; it's up * to downstream to unref again when handled. */ GST_LOG_OBJECT (pad, "Reffing and sending event %p (%s) to %s:%s", - event, gst_event_type_get_name (GST_EVENT_TYPE (event)), - GST_DEBUG_PAD_NAME (eventpad)); + event, GST_EVENT_TYPE_NAME (event), GST_DEBUG_PAD_NAME (eventpad)); gst_event_ref (event); gst_pad_push_event (eventpad, event); } else { /* we only send the event on one pad, multi-sinkpad elements * should implement a handler */ GST_LOG_OBJECT (pad, "sending event %p (%s) to one sink pad %s:%s", - event, gst_event_type_get_name (GST_EVENT_TYPE (event)), - GST_DEBUG_PAD_NAME (eventpad)); + event, GST_EVENT_TYPE_NAME (event), GST_DEBUG_PAD_NAME (eventpad)); result = gst_pad_push_event (eventpad, event); goto done; } @@ -3665,7 +3663,6 @@ gst_pad_send_event (GstPad * pad, GstEvent * event) GST_OBJECT_LOCK (pad); } - switch (GST_EVENT_TYPE (event)) { case GST_EVENT_FLUSH_START: GST_CAT_DEBUG (GST_CAT_EVENT, @@ -3689,8 +3686,7 @@ gst_pad_send_event (GstPad * pad, GstEvent * event) break; default: GST_CAT_DEBUG (GST_CAT_EVENT, "have event type %s on pad %s:%s", - gst_event_type_get_name (GST_EVENT_TYPE (event)), - GST_DEBUG_PAD_NAME (pad)); + GST_EVENT_TYPE_NAME (event), GST_DEBUG_PAD_NAME (pad)); /* make this a little faster, no point in grabbing the lock * if the pad is allready flushing. */ |