vp8enc: fix printf format warning in log message
gstvp8enc.c:564: error: format ‘%d’ expects type ‘int’, but argument 8 has type ‘size_t’ gstvp8enc.c:744: error: format ‘%d’ expects type ‘int’, but argument 8 has type ‘size_t’
This commit is contained in:
parent
ca5893e804
commit
f49f4c0bd4
@ -561,7 +561,7 @@ gst_vp8_enc_finish (GstBaseVideoEncoder * base_video_encoder)
|
||||
GstVP8EncCoderHook *hook;
|
||||
gboolean invisible, keyframe;
|
||||
|
||||
GST_DEBUG_OBJECT (encoder, "packet %d type %d", pkt->data.frame.sz,
|
||||
GST_DEBUG_OBJECT (encoder, "packet %u type %d", (guint) pkt->data.frame.sz,
|
||||
pkt->kind);
|
||||
|
||||
if (pkt->kind != VPX_CODEC_CX_FRAME_PKT) {
|
||||
@ -741,7 +741,7 @@ gst_vp8_enc_handle_frame (GstBaseVideoEncoder * base_video_encoder,
|
||||
GstBuffer *buffer;
|
||||
gboolean invisible;
|
||||
|
||||
GST_DEBUG_OBJECT (encoder, "packet %d type %d", pkt->data.frame.sz,
|
||||
GST_DEBUG_OBJECT (encoder, "packet %u type %d", (guint) pkt->data.frame.sz,
|
||||
pkt->kind);
|
||||
|
||||
if (pkt->kind != VPX_CODEC_CX_FRAME_PKT) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user