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:
e0c9b04
)
pad: Fix printf format when printing hook id
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 15 Jan 2019 16:05:31 +0000
(18:05 +0200)
committer
Sebastian Dröge
<slomo@coaxion.net>
Tue, 15 Jan 2019 16:07:04 +0000
(16:07 +0000)
It's a gulong so we have to cast it to a guint64 when using it with
G_GUINT64_FORMAT.
Spotted by Vincent Penvern.
gst/gstpad.c
patch
|
blob
|
history
diff --git
a/gst/gstpad.c
b/gst/gstpad.c
index
ebc184c
..
d5faaef
100644
(file)
--- a/
gst/gstpad.c
+++ b/
gst/gstpad.c
@@
-1373,8
+1373,8
@@
cleanup_hook (GstPad * pad, GHook * hook)
GstPadProbeType type;
GST_DEBUG_OBJECT (pad,
- "cleaning up hook %" G_GUINT64_FORMAT " with flags %08x",
hook->hook_id,
- hook->flags);
+ "cleaning up hook %" G_GUINT64_FORMAT " with flags %08x",
+
(guint64) hook->hook_id,
hook->flags);
if (!G_HOOK_IS_VALID (hook))
return;