summaryrefslogtreecommitdiffstats
path: root/ext/sdl
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-02-02 05:26:29 +0000
committerDavid Schleef <ds@schleef.org>2003-02-02 05:26:29 +0000
commit48300827a18b9145bc5d57afee0520c3b226d50f (patch)
treededd68a49beeb2986d840d9b4233ea2cc92e95b5 /ext/sdl
parentb80a4140f3c88fb68f4c319be9efc6977636360d (diff)
downloadgst-plugins-bad-48300827a18b9145bc5d57afee0520c3b226d50f.tar.gz
gst-plugins-bad-48300827a18b9145bc5d57afee0520c3b226d50f.tar.bz2
gst-plugins-bad-48300827a18b9145bc5d57afee0520c3b226d50f.zip
Change %lld, %llu to G_G[U]INT64_FORMAT globally. Fix bad pointer->integer conversion.
Original commit message from CVS: Change %lld, %llu to G_G[U]INT64_FORMAT globally. Fix bad pointer->integer conversion.
Diffstat (limited to 'ext/sdl')
-rw-r--r--ext/sdl/sdlvideosink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c
index 67e1ea61..931d35e2 100644
--- a/ext/sdl/sdlvideosink.c
+++ b/ext/sdl/sdlvideosink.c
@@ -434,8 +434,8 @@ gst_sdlvideosink_chain (GstPad *pad, GstBuffer *buf)
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_DISCONTINUOUS:
offset = GST_EVENT_DISCONT_OFFSET (event, 0).value;
- g_print ("sdl discont %lld\n", offset);
- //gst_clock_handle_discont (sdlvideosink->clock, (guint64) GST_EVENT_DISCONT_OFFSET (event, 0).value);
+ g_print ("sdl discont %" G_GINT64_FORMAT "\n", offset);
+ /*gst_clock_handle_discont (sdlvideosink->clock, (guint64) GST_EVENT_DISCONT_OFFSET (event, 0).value);*/
break;
default:
gst_pad_event_default (pad, event);
@@ -445,7 +445,7 @@ gst_sdlvideosink_chain (GstPad *pad, GstBuffer *buf)
return;
}
- GST_DEBUG (0,"videosink: clock wait: %llu", GST_BUFFER_TIMESTAMP(buf));
+ GST_DEBUG (0,"videosink: clock wait: %" G_GUINT64_FORMAT, GST_BUFFER_TIMESTAMP(buf));
if (sdlvideosink->clock) {
GstClockID id = gst_clock_new_single_shot_id (sdlvideosink->clock, GST_BUFFER_TIMESTAMP (buf));