summaryrefslogtreecommitdiffstats
path: root/gst/flv
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2007-09-12 08:38:22 +0000
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-12 21:20:51 +0200
commitab63c48e829b665e7a868427ec452ae61b733768 (patch)
tree91276784ac71ca08485636c42e34e1f5894095bd /gst/flv
parent5a5bbae173189b5ec2da3d6a087ef1caa03c96a3 (diff)
[MOVED FROM BAD 10/57] gst/: Printf format fixes (#476128).
Original commit message from CVS: Patch by: Peter Kjellerstedt <pkj at axis com> * gst-libs/gst/app/gstappsink.c: * gst/flv/gstflvdemux.c: * gst/flv/gstflvparse.c: * gst/interleave/deinterleave.c: * gst/switch/gstswitch.c: Printf format fixes (#476128).
Diffstat (limited to 'gst/flv')
-rw-r--r--gst/flv/gstflvdemux.c6
-rw-r--r--gst/flv/gstflvparse.c7
2 files changed, 8 insertions, 5 deletions
diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c
index 16250d1b..0d8d087c 100644
--- a/gst/flv/gstflvdemux.c
+++ b/gst/flv/gstflvdemux.c
@@ -321,12 +321,14 @@ gst_flv_demux_pull_tag (GstPad * pad, GstFLVDemux * demux)
/* Pull the whole tag */
ret = gst_pad_pull_range (pad, demux->offset, demux->tag_size, &buffer);
if (G_UNLIKELY (ret != GST_FLOW_OK)) {
- GST_WARNING_OBJECT (demux, "failed when pulling %d bytes", demux->tag_size);
+ GST_WARNING_OBJECT (demux,
+ "failed when pulling %" G_GUINT64_FORMAT " bytes", demux->tag_size);
goto beach;
}
if (G_UNLIKELY (buffer && GST_BUFFER_SIZE (buffer) != demux->tag_size)) {
- GST_WARNING_OBJECT (demux, "partial pull got %d when expecting %d",
+ GST_WARNING_OBJECT (demux,
+ "partial pull got %d when expecting %" G_GUINT64_FORMAT,
GST_BUFFER_SIZE (buffer), demux->tag_size);
gst_buffer_unref (buffer);
ret = GST_FLOW_UNEXPECTED;
diff --git a/gst/flv/gstflvparse.c b/gst/flv/gstflvparse.c
index eeb64546..6240e684 100644
--- a/gst/flv/gstflvparse.c
+++ b/gst/flv/gstflvparse.c
@@ -474,7 +474,7 @@ gst_flv_parse_tag_audio (GstFLVDemux * demux, const guint8 * data,
caps = gst_caps_new_simple ("audio/x-raw-int", NULL);
break;
default:
- GST_WARNING_OBJECT (demux, "unsupported audio codec tag", codec_tag);
+ GST_WARNING_OBJECT (demux, "unsupported audio codec tag %u", codec_tag);
}
if (G_UNLIKELY (!caps)) {
@@ -541,7 +541,7 @@ gst_flv_parse_tag_audio (GstFLVDemux * demux, const guint8 * data,
caps = gst_caps_new_simple ("audio/x-raw-int", NULL);
break;
default:
- GST_WARNING_OBJECT (demux, "unsupported audio codec tag", codec_tag);
+ GST_WARNING_OBJECT (demux, "unsupported audio codec tag %u", codec_tag);
}
if (G_UNLIKELY (!caps)) {
@@ -930,7 +930,8 @@ gst_flv_parse_tag_type (GstFLVDemux * demux, const guint8 * data,
demux->tag_data_size = FLV_GET_BEUI24 (data + 1, data_size - 1);
demux->tag_size = demux->tag_data_size + 11;
- GST_LOG_OBJECT (demux, "tag data size is %d", demux->tag_data_size);
+ GST_LOG_OBJECT (demux, "tag data size is %" G_GUINT64_FORMAT,
+ demux->tag_data_size);
return ret;
}