summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-08-08 15:07:49 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-08-08 17:41:19 +0200
commit15c712c7c61c4edb211cd67bf3db173a6950c114 (patch)
treecc70cdaefda951e4d1feb252d02a75e63e12e4f0 /ext
parentd8326a8eda4418196b1d4b17898d090c1a5c77a9 (diff)
oggdemux: add proper cast for print
Diffstat (limited to 'ext')
-rw-r--r--ext/ogg/gstoggdemux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c
index 8a794d8ca..32be77c85 100644
--- a/ext/ogg/gstoggdemux.c
+++ b/ext/ogg/gstoggdemux.c
@@ -565,7 +565,7 @@ gst_ogg_demux_chain_peer (GstOggPad * pad, ogg_packet * packet,
if (granule < 0) {
GST_ERROR_OBJECT (ogg,
"granulepos %" G_GINT64_FORMAT " yielded granule %" G_GINT64_FORMAT,
- packet->granulepos, granule);
+ (gint64) packet->granulepos, (gint64) granule);
return GST_FLOW_ERROR;
}
pad->current_granule = granule;
@@ -880,7 +880,7 @@ gst_ogg_pad_submit_packet (GstOggPad * pad, ogg_packet * packet)
} else if (granule != -1) {
GST_ERROR_OBJECT (ogg,
"granulepos %" G_GINT64_FORMAT " yielded granule %" G_GINT64_FORMAT,
- packet->granulepos, granule);
+ (gint64) packet->granulepos, (gint64) granule);
return GST_FLOW_ERROR;
}
@@ -922,7 +922,7 @@ gst_ogg_pad_submit_packet (GstOggPad * pad, ogg_packet * packet)
if (granule < 0) {
GST_ERROR_OBJECT (ogg,
"granulepos %" G_GINT64_FORMAT " yielded granule %"
- G_GINT64_FORMAT, packet->granulepos, granule);
+ G_GINT64_FORMAT, (gint64) packet->granulepos, (gint64) granule);
return GST_FLOW_ERROR;
}