summaryrefslogtreecommitdiffstats
path: root/ext
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
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')
-rw-r--r--ext/artsd/gstartsdsink.c2
-rw-r--r--ext/audiofile/gstafparse.c2
-rw-r--r--ext/sdl/sdlvideosink.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/ext/artsd/gstartsdsink.c b/ext/artsd/gstartsdsink.c
index cbe6b904..a7d1f7f3 100644
--- a/ext/artsd/gstartsdsink.c
+++ b/ext/artsd/gstartsdsink.c
@@ -228,7 +228,7 @@ gst_artsdsink_chain (GstPad *pad, GstBuffer *buf)
artsdsink = GST_ARTSDSINK (gst_pad_get_parent (pad));
if (GST_BUFFER_DATA (buf) != NULL) {
- gst_trace_add_entry(NULL, 0, buf, "artsdsink: writing to server");
+ gst_trace_add_entry(NULL, 0, GPOINTER_TO_INT(buf), "artsdsink: writing to server");
if (!artsdsink->mute && artsdsink->connected) {
int bytes;
void * bufptr = GST_BUFFER_DATA (buf);
diff --git a/ext/audiofile/gstafparse.c b/ext/audiofile/gstafparse.c
index 853a52e5..d8840ea5 100644
--- a/ext/audiofile/gstafparse.c
+++ b/ext/audiofile/gstafparse.c
@@ -529,7 +529,7 @@ gst_afparse_vf_tell (AFvirtualfile *vfile)
guint64 offset;
offset = gst_bytestream_tell(bs);
- g_print("doing tell: %llu\n", offset);
+ g_print("doing tell: %" G_GUINT64_FORMAT "\n", offset);
return offset;
}
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));