diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2014-11-24 13:25:55 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2014-11-25 16:31:50 +0000 |
commit | 99a17503a4f225070fe4e0b736c1aeefd005a5e0 (patch) | |
tree | 21918b4dd7bffccd614cde3400152d7a3b82fa0e /sys/winks | |
parent | 857456b7bae6511f9c7ed97fb441c4b87c0dec24 (diff) | |
download | gstreamer-plugins-bad-99a17503a4f225070fe4e0b736c1aeefd005a5e0.tar.gz |
winks: fix debug message format issues
And print last bits of GUID properly instead
of printing nonsense.
https://bugzilla.gnome.org/show_bug.cgi?id=733055
Diffstat (limited to 'sys/winks')
-rw-r--r-- | sys/winks/gstksvideodevice.c | 3 | ||||
-rw-r--r-- | sys/winks/ksvideohelpers.c | 11 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/winks/gstksvideodevice.c b/sys/winks/gstksvideodevice.c index 994f2f49b..75940cbec 100644 --- a/sys/winks/gstksvideodevice.c +++ b/sys/winks/gstksvideodevice.c @@ -627,8 +627,7 @@ gst_ks_video_device_create_pin (GstKsVideoDevice * self, if (ks_object_get_property (pin_handle, KSPROPSETID_Stream, KSPROPERTY_STREAM_MASTERCLOCK, (gpointer *) & cur_clock_handle, &cur_clock_handle_size, NULL)) { - GST_DEBUG ("current master clock handle: 0x%08x", - (guint) * cur_clock_handle); + GST_DEBUG ("current master clock handle: %p", *cur_clock_handle); CloseHandle (*cur_clock_handle); g_free (cur_clock_handle); } else { diff --git a/sys/winks/ksvideohelpers.c b/sys/winks/ksvideohelpers.c index afa5e4130..c4f962015 100644 --- a/sys/winks/ksvideohelpers.c +++ b/sys/winks/ksvideohelpers.c @@ -180,11 +180,12 @@ ks_video_format_to_structure (GUID subtype_guid, GUID format_guid) } if (!structure) { - GST_DEBUG ("Unknown DirectShow Video GUID %08x-%04x-%04x-%04x-%08x%04x", - (guint) subtype_guid.Data1, (guint) subtype_guid.Data2, - (guint) subtype_guid.Data3, - (guint) subtype_guid.Data4, (guint) & subtype_guid.Data4[2], - (guint) & subtype_guid.Data4[6]); + GST_DEBUG ("Unknown DirectShow Video GUID " + "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x", + subtype_guid.Data1, subtype_guid.Data2, subtype_guid.Data3, + subtype_guid.Data4[0], subtype_guid.Data4[1], subtype_guid.Data4[2], + subtype_guid.Data4[3], subtype_guid.Data4[4], subtype_guid.Data4[5], + subtype_guid.Data4[6], subtype_guid.Data4[7]); } return structure; |