mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
tests: fix some printf format issues in debug messages
This commit is contained in:
parent
bda2703e88
commit
a8e7cd0860
4 changed files with 5 additions and 4 deletions
|
@ -221,7 +221,8 @@ GST_START_TEST (test_rgba32)
|
|||
push_caps (create_caps_rgba32 ());
|
||||
|
||||
inbuffer = create_buffer_rgba32_3x4 ();
|
||||
GST_DEBUG ("Created buffer of %d bytes", gst_buffer_get_size (inbuffer));
|
||||
GST_DEBUG ("Created buffer of %" G_GSIZE_FORMAT " bytes",
|
||||
gst_buffer_get_size (inbuffer));
|
||||
ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1);
|
||||
|
||||
/* pushing gives away reference */
|
||||
|
|
|
@ -209,7 +209,7 @@ got_buffer (GstElement * fakesink, GstBuffer * buf, GstPad * pad,
|
|||
|
||||
gst_buffer_map (buf, &map, GST_MAP_READ);
|
||||
|
||||
GST_LOG ("got buffer, size=%u, offset=%" G_GINT64_FORMAT, map.size, off);
|
||||
GST_LOG ("size=%" G_GSIZE_FORMAT ", offset=%" G_GINT64_FORMAT, map.size, off);
|
||||
|
||||
fail_unless (GST_BUFFER_OFFSET_IS_VALID (buf));
|
||||
|
||||
|
|
|
@ -294,7 +294,7 @@ got_buffer (GstElement * fakesink, GstBuffer * buf, GstPad * pad,
|
|||
|
||||
gst_buffer_map (buf, &map, GST_MAP_READ);
|
||||
|
||||
GST_LOG ("got buffer, size=%u, offset=%" G_GINT64_FORMAT, map.size, off);
|
||||
GST_LOG ("size=%" G_GSIZE_FORMAT ", offset=%" G_GINT64_FORMAT, map.size, off);
|
||||
|
||||
fail_unless (GST_BUFFER_OFFSET_IS_VALID (buf));
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ _get_first_sample (GstSample * sample)
|
|||
fail_unless (caps != NULL, "sample without caps");
|
||||
|
||||
buf = gst_sample_get_buffer (sample);
|
||||
GST_DEBUG ("buffer with size=%u, caps=%" GST_PTR_FORMAT,
|
||||
GST_DEBUG ("buffer with size=%" G_GSIZE_FORMAT ", caps=%" GST_PTR_FORMAT,
|
||||
gst_buffer_get_size (buf), caps);
|
||||
|
||||
gst_buffer_map (buf, &map, GST_MAP_READ);
|
||||
|
|
Loading…
Reference in a new issue