summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-26 18:43:18 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-26 18:43:18 +0100
commit606daecf70a6c197af06bcec2f2f3551ea2508e0 (patch)
tree1becff5c3a251206abe88846f0f2104cf0ec3e18 /gst
parentd850556ffe9362a98c20e4037f2b7c034016fd49 (diff)
downloadgst-plugins-bad-606daecf70a6c197af06bcec2f2f3551ea2508e0.tar.gz
gst-plugins-bad-606daecf70a6c197af06bcec2f2f3551ea2508e0.tar.bz2
gst-plugins-bad-606daecf70a6c197af06bcec2f2f3551ea2508e0.zip
dvdspu: fix printf formats to avoid compiler warnings
Diffstat (limited to 'gst')
-rw-r--r--gst/dvdspu/gstspu-pgs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/dvdspu/gstspu-pgs.c b/gst/dvdspu/gstspu-pgs.c
index a79e694e..d1d4de18 100644
--- a/gst/dvdspu/gstspu-pgs.c
+++ b/gst/dvdspu/gstspu-pgs.c
@@ -435,7 +435,7 @@ parse_presentation_segment (GstDVDSpu * dvdspu, guint8 type, guint8 * payload,
}
if (payload != end) {
- g_warning ("PGS Composition Object: %d bytes not consumed", end - payload);
+ g_warning ("PGS Composition Object: %ld bytes not consumed", end - payload);
dump_bytes (payload, end - payload);
}
@@ -495,7 +495,7 @@ parse_set_palette (GstDVDSpu * dvdspu, guint8 type, guint8 * payload,
#endif
if (payload != end) {
- g_warning ("PGS Set Palette: %d bytes not consumed", end - payload);
+ g_warning ("PGS Set Palette: %ld bytes not consumed", end - payload);
dump_bytes (payload, end - payload);
}
@@ -529,7 +529,7 @@ parse_set_window (GstDVDSpu * dvdspu, guint8 type, guint8 * payload,
state->pgs.win_h);
if (payload != end) {
- g_warning ("PGS Set Window: %d bytes not consumed", end - payload);
+ g_warning ("PGS Set Window: %ld bytes not consumed", end - payload);
dump_bytes (payload, end - payload);
}
@@ -590,7 +590,7 @@ parse_set_object_data (GstDVDSpu * dvdspu, guint8 type, guint8 * payload,
dump_rle_data (dvdspu, obj->rle_data, obj->rle_data_size);
if (payload != end) {
- g_warning ("PGS Set Object Data: %d bytes not consumed", end - payload);
+ g_warning ("PGS Set Object Data: %ld bytes not consumed", end - payload);
dump_bytes (payload, end - payload);
}