From ff14de08d284e85b5d1c358f27787127431ab82b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 6 Jun 2007 09:11:31 +0000 Subject: gst/real/gstrealvideodec.c: Printf fix in debug statement; also print the right number there. Original commit message from CVS: * gst/real/gstrealvideodec.c: (gst_real_video_dec_decode): Printf fix in debug statement; also print the right number there. --- gst/real/gstrealvideodec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gst/real') diff --git a/gst/real/gstrealvideodec.c b/gst/real/gstrealvideodec.c index 5dceccd5..d9b7f4e0 100644 --- a/gst/real/gstrealvideodec.c +++ b/gst/real/gstrealvideodec.c @@ -409,8 +409,9 @@ too_many_fragments: { gst_buffer_unref (in); GST_ELEMENT_ERROR (dec, STREAM, DECODE, - ("Got more fragments (%i) than can be handled (%i).", - dec->fragment_count, sizeof (dec->fragments)), (NULL)); + ("Got more fragments (%u) than can be handled (%u)", + dec->fragment_count, (guint) G_N_ELEMENTS (dec->fragments)), + (NULL)); return GST_FLOW_ERROR; } -- cgit v1.2.1