mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -561,7 +561,7 @@ gst_vp8_enc_finish (GstBaseVideoEncoder * base_video_encoder)
|
||||||
GstVP8EncCoderHook *hook;
|
GstVP8EncCoderHook *hook;
|
||||||
gboolean invisible, keyframe;
|
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);
|
pkt->kind);
|
||||||
|
|
||||||
if (pkt->kind != VPX_CODEC_CX_FRAME_PKT) {
|
if (pkt->kind != VPX_CODEC_CX_FRAME_PKT) {
|
||||||
|
@ -741,7 +741,7 @@ gst_vp8_enc_handle_frame (GstBaseVideoEncoder * base_video_encoder,
|
||||||
GstBuffer *buffer;
|
GstBuffer *buffer;
|
||||||
gboolean invisible;
|
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);
|
pkt->kind);
|
||||||
|
|
||||||
if (pkt->kind != VPX_CODEC_CX_FRAME_PKT) {
|
if (pkt->kind != VPX_CODEC_CX_FRAME_PKT) {
|
||||||
|
|
Loading…
Reference in a new issue