summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/media-info
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 /gst-libs/gst/media-info
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 'gst-libs/gst/media-info')
-rw-r--r--gst-libs/gst/media-info/media-info.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gst-libs/gst/media-info/media-info.c b/gst-libs/gst/media-info/media-info.c
index 4e8f56b3..e2afd51b 100644
--- a/gst-libs/gst/media-info/media-info.c
+++ b/gst-libs/gst/media-info/media-info.c
@@ -531,7 +531,7 @@ gst_media_info_get_stream (GstMediaInfo *info, GstMediaInfoStream *stream)
{
case GST_FORMAT_TIME:
stream->length_time = value;
- g_print (" total %s: %lld\n", definition->nick, value);
+ g_print (" total %s: %" G_GINT64_FORMAT "\n", definition->nick, value);
break;
default:
/* separation is necessary because track_format doesn't resolve to
@@ -539,7 +539,7 @@ gst_media_info_get_stream (GstMediaInfo *info, GstMediaInfoStream *stream)
if (format == track_format)
{
stream->length_tracks = value;
- g_print (" total %s: %lld\n", definition->nick, value);
+ g_print (" total %s: %" G_GINT64_FORMAT "\n", definition->nick, value);
}
else
g_print ("warning: unhandled format %s\n", definition->nick);
@@ -639,7 +639,8 @@ gst_media_info_find_streaminfo (GstMediaInfo *info)
{
GstPropsEntry *length;
/* substract to get the length */
- GMI_DEBUG("DEBUG: start %lld, end %lld\n", value_start, value_end);
+ GMI_DEBUG("DEBUG: start %" G_GINT64_FORMAT ", end %"
+ G_GINT64_FORMAT "\n", value_start, value_end);
value_end -= value_start;
g_print ("DEBUG: length: %d\n", (int) value_end);
length = gst_props_entry_new ("length", GST_PROPS_INT ((int) value_end));