gst-launch: don't use G_GUINT32_FORMAT in translatable string
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 21 May 2009 09:57:47 +0000 (10:57 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 21 May 2009 09:57:47 +0000 (10:57 +0100)
xgettext doesn't handle this very well. Fixes #583419.

tools/gst-launch.c

index 7c83aa9..3e69d21 100644 (file)
@@ -418,10 +418,8 @@ event_loop (GstElement * pipeline, gboolean blocking, GstState target_state)
           GST_MESSAGE_SRC (message) ?
           gst_object_get_path_string (GST_MESSAGE_SRC (message)) : NULL;
 
-      g_print (_("Got Message #%" G_GUINT32_FORMAT
-              " from object \"%s\" (%s): "), seqnum,
-          GST_STR_NULL (src_name),
-          gst_message_type_get_name (GST_MESSAGE_TYPE (message)));
+      g_print (_("Got Message #%u from object \"%s\" (%s): "), (guint) seqnum,
+          GST_STR_NULL (src_name), GST_MESSAGE_TYPE_NAME (message));
 
       g_free (src_name);