waveformsink: fix mem leak of debug msg 32/95432/1 accepted/tizen/3.0/common/20161116.144221 accepted/tizen/3.0/ivi/20161109.124733 accepted/tizen/3.0/mobile/20161109.124403 accepted/tizen/3.0/tv/20161109.124550 accepted/tizen/3.0/wearable/20161109.124649 submit/tizen_3.0/20161108.053851 submit/tizen_3.0_common/20161116.085115
authorEunhae Choi <eunhae1.choi@samsung.com>
Fri, 21 Oct 2016 08:58:51 +0000 (17:58 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Thu, 3 Nov 2016 08:22:03 +0000 (17:22 +0900)
Change-Id: I76a5e82b8813ecbf79e6930c124e0d7e9c3cb0c1
Signed-off-by: Eunhae Choi <eunhae1.choi@samsung.com>
sys/waveform/gstwaveformsink.c

index 93414755544726868cc0a3c97343411781d91b40..d66892a0f55c16f62c6ffd3bf4e65b06e383f2a7 100644 (file)
@@ -216,7 +216,7 @@ gst_waveform_sink_getcaps (GstBaseSink * bsink, GstCaps * filter)
 
   caps = gst_caps_new_empty ();
 
-  /* create a caps for all wave formats supported by the device 
+  /* create a caps for all wave formats supported by the device
      starting by the best quality format */
   if (wocaps.dwFormats & WAVE_FORMAT_96S16) {
     caps_temp = gst_waveform_sink_create_caps (96000, 2, GST_AUDIO_NE (S16));
@@ -322,8 +322,8 @@ gst_waveform_sink_getcaps (GstBaseSink * bsink, GstCaps * filter)
     wfsink->cached_caps = gst_caps_ref (caps);
   }
 
-  GST_CAT_LOG_OBJECT (waveformsink_debug, wfsink, "Returning caps %s",
-      gst_caps_to_string (caps));
+  GST_CAT_LOG_OBJECT (waveformsink_debug, wfsink,
+      "Returning caps %" GST_PTR_FORMAT, caps);
 
   return caps;
 }