mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
flac: fix warnings on macosx
This commit is contained in:
parent
6320de853b
commit
133ebe76a3
2 changed files with 9 additions and 8 deletions
|
@ -669,7 +669,7 @@ gst_flac_dec_seek (const FLAC__StreamDecoder * decoder,
|
|||
|
||||
flacdec = GST_FLAC_DEC (client_data);
|
||||
|
||||
GST_DEBUG_OBJECT (flacdec, "seek %" G_GINT64_FORMAT, position);
|
||||
GST_DEBUG_OBJECT (flacdec, "seek %" G_GINT64_FORMAT, (gint64) position);
|
||||
flacdec->offset = position;
|
||||
|
||||
return FLAC__STREAM_DECODER_SEEK_STATUS_OK;
|
||||
|
@ -685,7 +685,7 @@ gst_flac_dec_tell (const FLAC__StreamDecoder * decoder,
|
|||
|
||||
*position = flacdec->offset;
|
||||
|
||||
GST_DEBUG_OBJECT (flacdec, "tell %" G_GINT64_FORMAT, *position);
|
||||
GST_DEBUG_OBJECT (flacdec, "tell %" G_GINT64_FORMAT, (gint64) * position);
|
||||
|
||||
return FLAC__STREAM_DECODER_TELL_STATUS_OK;
|
||||
}
|
||||
|
@ -711,7 +711,8 @@ gst_flac_dec_length (const FLAC__StreamDecoder * decoder,
|
|||
|
||||
*length = len;
|
||||
|
||||
GST_DEBUG_OBJECT (flacdec, "encoded byte length %" G_GINT64_FORMAT, *length);
|
||||
GST_DEBUG_OBJECT (flacdec, "encoded byte length %" G_GINT64_FORMAT,
|
||||
(gint64) * length);
|
||||
|
||||
return FLAC__STREAM_DECODER_LENGTH_STATUS_OK;
|
||||
}
|
||||
|
|
|
@ -757,16 +757,16 @@ gst_flac_enc_seek_callback (const FLAC__StreamEncoder * encoder,
|
|||
gst_object_unref (peerpad);
|
||||
|
||||
if (ret) {
|
||||
GST_DEBUG ("Seek to %" G_GUINT64_FORMAT " %s", absolute_byte_offset,
|
||||
"succeeded");
|
||||
GST_DEBUG ("Seek to %" G_GUINT64_FORMAT " %s",
|
||||
(guint64) absolute_byte_offset, "succeeded");
|
||||
} else {
|
||||
GST_DEBUG ("Seek to %" G_GUINT64_FORMAT " %s", absolute_byte_offset,
|
||||
"failed");
|
||||
GST_DEBUG ("Seek to %" G_GUINT64_FORMAT " %s",
|
||||
(guint64) absolute_byte_offset, "failed");
|
||||
return FLAC__STREAM_ENCODER_SEEK_STATUS_UNSUPPORTED;
|
||||
}
|
||||
} else {
|
||||
GST_DEBUG ("Seek to %" G_GUINT64_FORMAT " failed (no peer pad)",
|
||||
absolute_byte_offset);
|
||||
(guint64) absolute_byte_offset);
|
||||
}
|
||||
|
||||
flacenc->offset = absolute_byte_offset;
|
||||
|
|
Loading…
Reference in a new issue