summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-06-06 09:11:31 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-06-06 09:11:31 +0000
commitff14de08d284e85b5d1c358f27787127431ab82b (patch)
treec98bcee4d766eeea95edbc35cb6a6efc0aa01378
parent23c17776e728b91c237897444cd4b562d15e0cf1 (diff)
downloadgst-plugins-bad-ff14de08d284e85b5d1c358f27787127431ab82b.tar.gz
gst-plugins-bad-ff14de08d284e85b5d1c358f27787127431ab82b.tar.bz2
gst-plugins-bad-ff14de08d284e85b5d1c358f27787127431ab82b.zip
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.
-rw-r--r--ChangeLog5
-rw-r--r--gst/real/gstrealvideodec.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7923e813..81d51657 100644
--- 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
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;
}