projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4c9fe6
)
winks: fix debug message parameter format
author
Tim-Philipp Müller
<tim@centricular.com>
Sat, 11 Apr 2015 11:12:57 +0000
(12:12 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 11 Apr 2015 11:12:57 +0000
(12:12 +0100)
The first part of the GUID structure is a DWORD
which is defined as an unsigned long, so we need
to either cast or use %08lx.
sys/winks/ksvideohelpers.c
patch
|
blob
|
history
diff --git
a/sys/winks/ksvideohelpers.c
b/sys/winks/ksvideohelpers.c
index
156d5c8
..
9d70461
100644
(file)
--- a/
sys/winks/ksvideohelpers.c
+++ b/
sys/winks/ksvideohelpers.c
@@
-182,7
+182,7
@@
ks_video_format_to_structure (GUID subtype_guid, GUID format_guid)
if (!structure) {
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,
+
(guint)
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]);