LOG_ERROR("failed to media_packet_get_tbm_surface()");
if (ts) {
- LOG_DEBUG("tbm surface[%p] is destroyed", ts);
+ LOG_VERBOSE("tbm surface[%p] is destroyed", ts);
tbm_surface_destroy(ts);
}
ret = __get_media_packet_mimetype(info->format, &mimetype);
RET_VAL_IF(ret != WEBRTC_ERROR_NONE, NULL, "failed to __get_media_packet_mimetype()");
- LOG_DEBUG("mimetype[0x%x, %s], resolution[%dx%d], orientation[%d], timestamp[%u]",
+ LOG_VERBOSE("mimetype[0x%x, %s], resolution[%dx%d], orientation[%d], timestamp[%u]",
mimetype, __get_format_string_from_mime_type(mimetype), info->width, info->height, info->orientation, info->timestamp);
m_ret = media_format_create(&m_format);
media_format_unref(m_format);
- LOG_DEBUG("media packet[%p]", m_packet);
+ LOG_VERBOSE("media packet[%p]", m_packet);
return m_packet;
return NULL;
}
- LOG_DEBUG("tbm surface[%p] is created", ts);
+ LOG_VERBOSE("tbm surface[%p] is created", ts);
return ts;
}
RET_IF(display == NULL, "display is NULL");
- LOG_DEBUG("object[%p] buffer[%p] pad[%p] display[%p]", object, buffer, pad, display);
+ LOG_VERBOSE("object[%p] buffer[%p] pad[%p] display[%p]", object, buffer, pad, display);
packet = __get_media_packet_from_buffer(display, buffer, pad);
if (packet == NULL) {
appsrc = probe_data->source->av[probe_data->av_idx].render.appsrc;
if (appsrc) {
buffer = gst_pad_probe_info_get_buffer(info);
- LOG_DEBUG("push buffer[%p] to the render pipeline, appsrc[%p]", buffer, appsrc);
+ LOG_VERBOSE("push buffer[%p] to the render pipeline, appsrc[%p]", buffer, appsrc);
g_signal_emit_by_name(G_OBJECT(appsrc), "push-buffer", buffer, &gst_ret, NULL);
if (gst_ret != GST_FLOW_OK)
LOG_ERROR("failed to 'push-buffer', gst_ret[%d]", gst_ret);
for (l = g_list_first(tbm->bo_list); l; l = g_list_next(l)) {
webrtc_tbm_bo_s *tbm_bo = (webrtc_tbm_bo_s *)l->data;
if (tbm_bo && (!tbm_bo->used)) {
- LOG_DEBUG("found unused bo[%p]", tbm_bo->bo);
+ LOG_VERBOSE("found unused bo[%p]", tbm_bo->bo);
tbm_bo->used = true;
g_mutex_unlock(&tbm->mutex);
return tbm_bo_ref(tbm_bo->bo);
webrtc_tbm_bo_s *tbm_bo = (webrtc_tbm_bo_s *)l->data;
if (tbm_bo && (tbm_bo->bo == bo)) {
tbm_bo->used = false;
- LOG_DEBUG("unref bo[%p]", tbm_bo->bo);
+ LOG_VERBOSE("unref bo[%p]", tbm_bo->bo);
tbm_bo_unref(tbm_bo->bo);
g_cond_signal(&tbm->cond);
g_mutex_unlock(&tbm->mutex);