mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
opus: use appropriate printf format for gsize
This commit is contained in:
parent
3e208df632
commit
41412f08ec
2 changed files with 3 additions and 3 deletions
|
@ -390,7 +390,7 @@ opus_dec_chain_parse_data (GstOpusDec * dec, GstBuffer * buffer)
|
|||
}
|
||||
|
||||
if (buffer) {
|
||||
GST_DEBUG_OBJECT (dec, "Received buffer of size %u",
|
||||
GST_DEBUG_OBJECT (dec, "Received buffer of size %" G_GSIZE_FORMAT,
|
||||
gst_buffer_get_size (buffer));
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (dec, "Received missing buffer");
|
||||
|
@ -414,7 +414,7 @@ opus_dec_chain_parse_data (GstOpusDec * dec, GstBuffer * buffer)
|
|||
gst_buffer_map (buf, &map, GST_MAP_READ);
|
||||
data = map.data;
|
||||
size = map.size;
|
||||
GST_DEBUG_OBJECT (dec, "Using buffer of size %u", size);
|
||||
GST_DEBUG_OBJECT (dec, "Using buffer of size %" G_GSIZE_FORMAT, size);
|
||||
} else {
|
||||
/* concealment data, pass NULL as the bits parameters */
|
||||
GST_DEBUG_OBJECT (dec, "Using NULL buffer");
|
||||
|
|
|
@ -898,7 +898,7 @@ gst_opus_enc_handle_frame (GstAudioEncoder * benc, GstBuffer * buf)
|
|||
enc->header_sent = TRUE;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (enc, "received buffer %p of %u bytes", buf,
|
||||
GST_DEBUG_OBJECT (enc, "received buffer %p of %" G_GSIZE_FORMAT " bytes", buf,
|
||||
buf ? gst_buffer_get_size (buf) : 0);
|
||||
|
||||
ret = gst_opus_enc_encode (enc, buf);
|
||||
|
|
Loading…
Reference in a new issue