Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov 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)
commit3092439a872834ebdf33fc65e0c19fb77d9688ba (patch)
tree0fa864f44ee5e956a75c4fe2700d39c242dfac44
parentf001a472ae8bdcf320870b97de93489d65400839 (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.c2
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));