waylandsink : change gst-log level about USE_TBM or USE_SHM 08/60308/1
authorHyunil <hyunil46.park@samsung.com>
Thu, 25 Feb 2016 02:38:21 +0000 (11:38 +0900)
committerHyunil <hyunil46.park@samsung.com>
Thu, 25 Feb 2016 02:38:21 +0000 (11:38 +0900)
Change-Id: I4933d229cce717b0a9a9e8d1093329142540e3ee
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
ext/wayland/gstwaylandsink.c
ext/wayland/wlshmallocator.c

index 1cbdab8..200be7c 100755 (executable)
@@ -752,14 +752,14 @@ gst_wayland_sink_set_caps (GstBaseSink * bsink, GstCaps * caps)
   /* verify we support the requested format */
 #ifdef GST_WLSINK_ENHANCEMENT
   if (sink->display->USE_TBM) {
-    GST_ERROR ("USE TBM FORMAT");
+    GST_INFO ("USE TBM FORMAT");
     formats = sink->display->tbm_formats;
     for (i = 0; i < formats->len; i++) {
       if (g_array_index (formats, uint32_t, i) == tbm_format)
         break;
     }
   } else {                      /* USE SHM */
-    GST_ERROR ("USE SHM FORMAT");
+    GST_INFO ("USE SHM FORMAT");
     formats = sink->display->formats;
     for (i = 0; i < formats->len; i++) {
       if (g_array_index (formats, uint32_t, i) == format)
@@ -1062,7 +1062,7 @@ gst_wayland_sink_render (GstBaseSink * bsink, GstBuffer * buffer)
     if (ret) {
       GST_ERROR ("_write_rawdata() failed");
     }
-    GST_ERROR ("DUMP IMAGE %d, size (%d)", dump__cnt, size);
+    GST_INFO ("DUMP IMAGE %d, size (%d)", dump__cnt, size);
     gst_memory_unmap (mem, &mem_info);
 #endif
   } else {
index 5522762..722e646 100644 (file)
@@ -331,7 +331,7 @@ gst_wl_shm_memory_construct_wl_buffer (GstMemory * mem, GstWlDisplay * display,
       data = virtual_addr.ptr;
       int ret;
       char file_name[128];
-      GST_ERROR ("DUMP %d ", dump_cnt);
+      GST_INFO ("DUMP %d ", dump_cnt);
 //        if (dump_cnt < 60) {
       sprintf (file_name, "/home/owner/WLSINK_OUT_DUMP_%2.2d.dump", dump_cnt++);
       ret = _write_rawdata (file_name, virtual_addr.ptr, size);