qtdemux: use G_GSIZE_FORMAT for platform independent gsize qualifier

Fixes build on macosx
This commit is contained in:
Edward Hervey 2010-01-12 17:39:05 +01:00
parent 59224d77f8
commit 3f5add8820

View file

@ -4156,7 +4156,8 @@ qtdemux_stbl_init (GstQTDemux * qtdemux, QtDemuxStream * stream, GNode * stbl)
return FALSE; return FALSE;
} }
GST_DEBUG_OBJECT (qtdemux, "allocating n_samples %u * %d = (%u MB)", GST_DEBUG_OBJECT (qtdemux,
"allocating n_samples %u * %" G_GSIZE_FORMAT " = (%u MB)",
stream->n_samples, sizeof (QtDemuxSample), stream->n_samples, sizeof (QtDemuxSample),
(guint) (stream->n_samples * sizeof (QtDemuxSample)) >> 20); (guint) (stream->n_samples * sizeof (QtDemuxSample)) >> 20);