oggdemux: add proper cast for print

This commit is contained in:
Andoni Morales Alastruey 2012-08-08 15:07:49 +02:00 committed by Sebastian Dröge
parent d8326a8eda
commit 15c712c7c6

View file

@ -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;
}