Fixed build error 64bits repos (Muxer) 91/45791/1 accepted/tizen/mobile/20150812.064550 accepted/tizen/tv/20150812.064609 accepted/tizen/wearable/20150812.064620 submit/tizen/20150812.055316
authorJoungkook Seo <jk7704.seo@samsung.com>
Tue, 11 Aug 2015 09:19:14 +0000 (18:19 +0900)
committerJoungkook Seo <jk7704.seo@samsung.com>
Tue, 11 Aug 2015 09:19:28 +0000 (18:19 +0900)
Change-Id: I9a23d2666c1d70c56db29279ea31945c589a57a5
Signed-off-by: Joungkook Seo <jk7704.seo@samsung.com>
test/mediamuxer_test.c

index 9ce398e..026d16d 100644 (file)
@@ -137,7 +137,8 @@ static void _audio_app_sink_callback(GstElement *sink, CustomData *data)
                        }
 
                        if (media_packet_get_buffer_size(aud_pkt, &ns)) {
-                               g_print("unable to set the buffer size actual =%u, fixed %"PRIu64"\n",map.size,ns);
+                               g_print("unable to set the buffer size actual =%d, fixed %"PRIu64"\n",
+                                       (unsigned int)map.size, ns);
                                return;
                        }
 
@@ -199,7 +200,7 @@ static void _video_app_sink_callback(GstElement *sink, CustomData *data)
                /* Print a * to indicate a received buffer */
                g_print("v%d: ", ++count);
 
-               g_print("PTS=%llu\n", buffer->pts);
+               g_print("PTS=%"PRIu64"\n", buffer->pts);
 
                if (gst_buffer_map(buffer, &map, GST_MAP_READ)) {
                        if (media_format_create(&vidfmt)) {
@@ -250,7 +251,8 @@ static void _video_app_sink_callback(GstElement *sink, CustomData *data)
                        }
 
                        if (media_packet_get_buffer_size(vid_pkt, &ns)) {
-                               g_print("unable to set the buffer size actual =%d, fixed %"PRIu64"\n", map.size, ns);
+                               g_print("unable to set the buffer size actual =%d, fixed %"PRIu64"\n",
+                                       (unsigned int)map.size, ns);
                                return;
                        }