mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
downloadbuffer: properly log when receiving events
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7140>
This commit is contained in:
parent
d56f601b48
commit
d54bbfbd61
1 changed files with 3 additions and 4 deletions
|
@ -1007,6 +1007,8 @@ gst_download_buffer_handle_sink_event (GstPad * pad, GstObject * parent,
|
|||
|
||||
dlbuf = GST_DOWNLOAD_BUFFER (parent);
|
||||
|
||||
GST_DEBUG_OBJECT (dlbuf, "%" GST_PTR_FORMAT, event);
|
||||
|
||||
switch (GST_EVENT_TYPE (event)) {
|
||||
case GST_EVENT_FLUSH_START:
|
||||
{
|
||||
|
@ -1384,10 +1386,7 @@ gst_download_buffer_handle_src_event (GstPad * pad, GstObject * parent,
|
|||
gboolean res = TRUE;
|
||||
GstDownloadBuffer *dlbuf = GST_DOWNLOAD_BUFFER (parent);
|
||||
|
||||
#ifndef GST_DISABLE_GST_DEBUG
|
||||
GST_DEBUG_OBJECT (dlbuf, "got event %p (%s)",
|
||||
event, GST_EVENT_TYPE_NAME (event));
|
||||
#endif
|
||||
GST_DEBUG_OBJECT (dlbuf, "%" GST_PTR_FORMAT, event);
|
||||
|
||||
switch (GST_EVENT_TYPE (event)) {
|
||||
case GST_EVENT_FLUSH_START:
|
||||
|
|
Loading…
Reference in a new issue