Merge branch 'master' into 0.11
[platform/upstream/gst-plugins-base.git] / ext / theora / gsttheoraenc.c
index dbca3ab..1caa272 100644 (file)
@@ -1361,7 +1361,7 @@ theora_enc_encode_and_push (GstTheoraEnc * enc, ogg_packet op,
     GstClockTime next_time, duration;
     GstClockTime timestamp = 0;
     GST_DEBUG_OBJECT (enc, "encoded. granule:%" G_GINT64_FORMAT ", packet:%p, "
-        "bytes:%ld", op.granulepos, op.packet, op.bytes);
+        "bytes:%ld", (gint64) op.granulepos, op.packet, op.bytes);
 
     next_time = th_granule_time (enc->encoder, op.granulepos) * GST_SECOND;
     duration = next_time - enc->next_ts;