mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
media-info: Do not use GST_PTR_FORMAT with g_print
Fix compilation
This commit is contained in:
parent
3990d7716c
commit
123ecb57c1
1 changed files with 6 additions and 2 deletions
|
@ -1112,8 +1112,12 @@ gst_validate_media_info_compare (GstValidateMediaInfo * expected,
|
||||||
if (expected->stream_info
|
if (expected->stream_info
|
||||||
&& !gst_caps_is_equal_fixed (expected->stream_info->caps,
|
&& !gst_caps_is_equal_fixed (expected->stream_info->caps,
|
||||||
extracted->stream_info->caps)) {
|
extracted->stream_info->caps)) {
|
||||||
g_print ("Media caps changed: '%" GST_PTR_FORMAT "' -> '%" GST_PTR_FORMAT
|
gchar *caps1 = gst_caps_to_string (expected->stream_info->caps);
|
||||||
"'\n", expected->stream_info->caps, extracted->stream_info->caps);
|
gchar *caps2 = gst_caps_to_string (extracted->stream_info->caps);
|
||||||
|
|
||||||
|
g_print ("Media caps changed: '%s' -> '%s'\n", caps1, caps2);
|
||||||
|
g_free (caps1);
|
||||||
|
g_free (caps2);
|
||||||
ret = FALSE;
|
ret = FALSE;
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue