correct email address
[platform/core/uifw/libtdm.git] / src / tdm_capture.c
index 618fb35..4b58fbd 100644 (file)
@@ -9,7 +9,7 @@
  *          Taeheon Kim <th908.kim@samsung.com>,
  *          YoungJun Cho <yj44.cho@samsung.com>,
  *          SooChan Lim <sc1.lim@samsung.com>,
- *          Boram Park <sc1.lim@samsung.com>
+ *          Boram Park <boram1288.park@samsung.com>
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
@@ -60,6 +60,7 @@ _tdm_capture_print_list(struct list_head *list)
 
        TDM_RETURN_IF_FAIL(list != NULL);
 
+       str[0] = '\0';
        p = str;
        LIST_FOR_EACH_ENTRY(b, list, link) {
                if (len > 0) {
@@ -136,8 +137,6 @@ _tdm_capture_thread_cb_done(tdm_private_display *private_display, void *object,
                first_entry = container_of((&private_capture->buffer_list)->next, capture_buffer, link);
                if (first_entry->buffer != buffer)
                        TDM_ERR("buffer(%p) is skipped", first_entry->buffer);
-       } else {
-               TDM_NEVER_GET_HERE();
        }
 
        if ((capture_buffer = _tdm_capture_find_tbm_buffer(&private_capture->buffer_list, buffer))) {
@@ -596,6 +595,7 @@ tdm_capture_attach(tdm_capture *capture, tbm_surface_h buffer)
 
        if (tdm_debug_module & TDM_DEBUG_BUFFER) {
                TDM_INFO("capture(%p) attached:", private_capture);
+               _tdm_capture_print_list(&private_capture->pending_buffer_list);
                _tdm_capture_print_list(&private_capture->buffer_list);
        }