From: Stefan Kost Date: Sat, 21 Nov 2009 15:54:49 +0000 (+0200) Subject: debug: also cast packet.packetno to gint64 in debug log X-Git-Tag: RELEASE-0.10.26~166 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8abb8cf152961948e0d788630fb6fb9d6b535d5;p=platform%2Fupstream%2Fgst-plugins-base.git debug: also cast packet.packetno to gint64 in debug log We do this already for granulepos to handle ogg_int64_t mismatches. --- diff --git a/ext/theora/theoradec.c b/ext/theora/theoradec.c index 96bacf2..04d31fa 100644 --- a/ext/theora/theoradec.c +++ b/ext/theora/theoradec.c @@ -1348,7 +1348,7 @@ theora_dec_decode_buffer (GstTheoraDec * dec, GstBuffer * buf) GST_DEBUG_OBJECT (dec, "header=%02x packetno=%" G_GINT64_FORMAT ", " "granule pos=%" G_GINT64_FORMAT ", outtime=%" GST_TIME_FORMAT, - packet.bytes ? packet.packet[0] : -1, packet.packetno, + packet.bytes ? packet.packet[0] : -1, (gint64) packet.packetno, (gint64) packet.granulepos, GST_TIME_ARGS (dec->last_timestamp)); /* switch depending on packet type. A zero byte packet is always a data