mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
use correct printf format
Original commit message from CVS: use correct printf format
This commit is contained in:
parent
3eefb22fdd
commit
5ea8627237
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* testsuite/elements/property.h:
|
||||
use correct printf format
|
||||
|
||||
2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* docs/gst/tmpl/gstconfig.sgml:
|
||||
|
|
|
@ -10,7 +10,7 @@ property_change_callback (GObject *object, GstObject *orig, GParamSpec *pspec)
|
|||
g_object_get_property (G_OBJECT (orig), pspec->name, &value);
|
||||
/* fix current bug with g_strdup_value_contents not working with gint64 */
|
||||
if (G_IS_PARAM_SPEC_INT64 (pspec))
|
||||
str = g_strdup_printf ("%lld", g_value_get_int64 (&value));
|
||||
str = g_strdup_printf ("%" G_GINT64_FORMAT, g_value_get_int64 (&value));
|
||||
else
|
||||
str = g_strdup_value_contents (&value);
|
||||
g_print ("%s: %s = %s\n", GST_OBJECT_NAME (orig), pspec->name, str);
|
||||
|
|
|
@ -10,7 +10,7 @@ property_change_callback (GObject *object, GstObject *orig, GParamSpec *pspec)
|
|||
g_object_get_property (G_OBJECT (orig), pspec->name, &value);
|
||||
/* fix current bug with g_strdup_value_contents not working with gint64 */
|
||||
if (G_IS_PARAM_SPEC_INT64 (pspec))
|
||||
str = g_strdup_printf ("%lld", g_value_get_int64 (&value));
|
||||
str = g_strdup_printf ("%" G_GINT64_FORMAT, g_value_get_int64 (&value));
|
||||
else
|
||||
str = g_strdup_value_contents (&value);
|
||||
g_print ("%s: %s = %s\n", GST_OBJECT_NAME (orig), pspec->name, str);
|
||||
|
|
Loading…
Reference in a new issue