gst/real/gstrealvideodec.c: Printf fix in debug statement; also print the right numbe...
authorTim-Philipp Müller <tim@centricular.net>
Wed, 6 Jun 2007 09:11:31 +0000 (09:11 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 6 Jun 2007 09:11:31 +0000 (09:11 +0000)
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.

ChangeLog
gst/real/gstrealvideodec.c

index 7923e81..81d5165 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
 
+       * gst/real/gstrealvideodec.c: (gst_real_video_dec_decode):
+         Printf fix in debug statement; also print the right number there.
+
+2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
+
        * ext/sdl/Makefile.am:
        * ext/sdl/sdlvideosink.c: (gst_sdlv_process_events):
          Add GST_CFLAGS, which apparently somehow fixes the build somewhere
index 5dceccd..d9b7f4e 100644 (file)
@@ -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;
   }