summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2009-10-11 14:02:26 +0200
committerJosep Torra <n770galaxy@gmail.com>2009-10-11 14:02:26 +0200
commit14a83f3b3d9feb98d429707a5bcaeeb05fda6214 (patch)
tree9f42043d2857e618fe15d790a5923b06c26f86ea /ext
parent1826b6a93cd427f0bdf2090e8911768833e89011 (diff)
schroedinger: fix warnings on macosx snow leopard
Diffstat (limited to 'ext')
-rw-r--r--ext/schroedinger/gstschrodec.c3
-rw-r--r--ext/schroedinger/gstschroenc.c5
-rw-r--r--ext/schroedinger/gstschroparse.c3
3 files changed, 7 insertions, 4 deletions
diff --git a/ext/schroedinger/gstschrodec.c b/ext/schroedinger/gstschrodec.c
index 92848106b..54653a957 100644
--- a/ext/schroedinger/gstschrodec.c
+++ b/ext/schroedinger/gstschrodec.c
@@ -473,7 +473,8 @@ gst_schro_dec_parse_data (GstBaseVideoDecoder * base_video_decoder,
if (GST_CLOCK_TIME_IS_VALID (base_video_decoder->last_sink_timestamp)) {
base_video_decoder->current_frame->presentation_timestamp =
base_video_decoder->last_sink_timestamp;
- GST_DEBUG ("got timestamp %lld", base_video_decoder->last_sink_timestamp);
+ GST_DEBUG ("got timestamp %" G_GINT64_FORMAT,
+ base_video_decoder->last_sink_timestamp);
} else if (base_video_decoder->last_sink_offset_end != -1) {
GstVideoState *state;
diff --git a/ext/schroedinger/gstschroenc.c b/ext/schroedinger/gstschroenc.c
index e69ac6229..7ef2b8b34 100644
--- a/ext/schroedinger/gstschroenc.c
+++ b/ext/schroedinger/gstschroenc.c
@@ -468,7 +468,7 @@ gst_schro_enc_handle_frame (GstBaseVideoEncoder * base_video_encoder,
schro_enc->granule_offset =
gst_util_uint64_scale (frame->presentation_timestamp,
2 * state->fps_n, GST_SECOND * state->fps_d);
- GST_DEBUG ("granule offset %lld", schro_enc->granule_offset);
+ GST_DEBUG ("granule offset %" G_GINT64_FORMAT, schro_enc->granule_offset);
}
schro_frame = gst_schro_buffer_wrap (gst_buffer_ref (frame->sink_buffer),
@@ -636,7 +636,8 @@ gst_schro_enc_shape_output_ogg (GstBaseVideoEncoder * base_video_encoder,
granulepos_hi = (((uint64_t) pt - delay) << 9) | ((dist >> 8));
granulepos_low = (delay << 9) | (dist & 0xff);
- GST_DEBUG ("granulepos %lld:%lld", granulepos_hi, granulepos_low);
+ GST_DEBUG ("granulepos %" G_GINT64_FORMAT ":%" G_GINT64_FORMAT, granulepos_hi,
+ granulepos_low);
if (frame->is_eos) {
GST_BUFFER_OFFSET_END (buf) = schro_enc->last_granulepos;
diff --git a/ext/schroedinger/gstschroparse.c b/ext/schroedinger/gstschroparse.c
index d66715060..75ccf0976 100644
--- a/ext/schroedinger/gstschroparse.c
+++ b/ext/schroedinger/gstschroparse.c
@@ -448,7 +448,8 @@ gst_schro_parse_shape_output_ogg (GstBaseVideoParse * base_video_parse,
granulepos_hi = (((guint64) pt - delay) << 9) | ((dist >> 8));
granulepos_low = (delay << 9) | (dist & 0xff);
- GST_DEBUG ("granulepos %lld:%lld", granulepos_hi, granulepos_low);
+ GST_DEBUG ("granulepos %" G_GINT64_FORMAT ":%" G_GINT64_FORMAT, granulepos_hi,
+ granulepos_low);
if (frame->is_eos) {
GST_BUFFER_OFFSET_END (buf) = schro_parse->last_granulepos;