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:
bd302bb
)
inspect: show flags the same way they need to be entered
author
Stefan Kost
<ensonic@users.sf.net>
Fri, 6 May 2011 07:54:08 +0000
(10:54 +0300)
committer
Stefan Kost
<ensonic@users.sf.net>
Wed, 18 May 2011 06:55:57 +0000
(09:55 +0300)
The (de)serialisation uses "+" and not " | ".
tools/gst-inspect.c
patch
|
blob
|
history
diff --git
a/tools/gst-inspect.c
b/tools/gst-inspect.c
index
c86285e
..
c8f51e5
100644
(file)
--- a/
tools/gst-inspect.c
+++ b/
tools/gst-inspect.c
@@
-306,7
+306,7
@@
flags_to_string (GFlagsValue * vals, guint flags)
--i;
if (vals[i].value != 0 && (flags_left & vals[i].value) == vals[i].value) {
if (s->len > 0)
- g_string_append
(s, " | "
);
+ g_string_append
_c (s, '+'
);
g_string_append (s, vals[i].value_nick);
flags_left -= vals[i].value;
if (flags_left == 0)