fixup! webrtc_test: Move functions to webrtc_test_validate.c 75/277375/1 accepted/tizen/unified/20220707.133437 submit/tizen/20220706.054435
authorSangchul Lee <sc11.lee@samsung.com>
Wed, 6 Jul 2022 03:02:15 +0000 (12:02 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Wed, 6 Jul 2022 03:03:33 +0000 (12:03 +0900)
64-bit compiling errors are fixed.

Change-Id: I04d033785c35b211d47b94566427751017dc3459
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
test/webrtc_test_validate.c

index 06c4fb517702725209cecde407ef156452521294..0ca81162d9cb0e854848e965151227f69ae6bbd5 100644 (file)
@@ -73,7 +73,7 @@ static int __fill_gst_buffer_mapped_data_from_packet(GstBuffer *buffer, media_pa
 
                buff_info.size = size;
 
-               g_print("buffer[%p], buff_info[data:%p, size:%u]\n", buffer, buff_info.data, buff_info.size);
+               g_print("buffer[%p], buff_info[data:%p, size:%"G_GSIZE_FORMAT"]\n", buffer, buff_info.data, buff_info.size);
 
                gst_buffer_unmap(buffer, &buff_info);
        }
@@ -120,7 +120,7 @@ GstBuffer *__alloc_buffer_from_packet(media_packet_h packet)
        media_packet_get_duration(packet, &duration);
        GST_BUFFER_DURATION(new_buffer) = duration;
 
-       g_print("new gst buffer[%p, pts:%llu, dts:%llu, duration:%llu]\n", new_buffer, pts, dts, duration);
+       g_print("new gst buffer[%p, pts:%"G_GUINT64_FORMAT", dts:%"G_GUINT64_FORMAT", duration:%"G_GUINT64_FORMAT"]\n", new_buffer, pts, dts, duration);
 
        return new_buffer;
 }