diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2010-03-07 10:00:40 (GMT) |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2010-03-07 10:00:40 (GMT) |
commit | 3092439a872834ebdf33fc65e0c19fb77d9688ba (patch) | |
tree | 0fa864f44ee5e956a75c4fe2700d39c242dfac44 | |
parent | f001a472ae8bdcf320870b97de93489d65400839 (diff) |
Fix GST_DEBUG formats for GstClockTime
audio_position is a GstClockTime, which is typedef'd as guint64, not gsize.
Use GLib's format macros to do this portably.
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
-rw-r--r-- | src/espeak.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/espeak.c b/src/espeak.c index 51817ca..138d595 100644 --- a/src/espeak.c +++ b/src/espeak.c @@ -345,7 +345,7 @@ play(Econtext *self, Espin *spin, gsize size_to_play) spin->sound_offset += size_to_play; spin->events_pos += 1; - GST_DEBUG("out=%p size_to_play=%zd tell=%zd ts=%zd dur=%zd", + GST_DEBUG("out=%p size_to_play=%zd tell=%zd ts=%"G_GUINT64_FORMAT" dur=%"G_GUINT64_FORMAT, GST_BUFFER_DATA(out), size_to_play, spin->sound_offset, GST_BUFFER_TIMESTAMP(out), GST_BUFFER_DURATION(out)); |