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:
588dcec
)
caps: fix compilation warning
author
Matej Knopp
<matej.knopp@gmail.com>
Sun, 27 Nov 2011 19:32:14 +0000
(20:32 +0100)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Sun, 27 Nov 2011 22:34:54 +0000
(22:34 +0000)
GST_STATIC_CAPS is missing initializer for GstMiniObject's n_weak_refs and
weak_refs resulting in compilation warning (llvm-gcc -Wall)
https://bugzilla.gnome.org/show_bug.cgi?id=664927
gst/gstcaps.h
patch
|
blob
|
history
diff --git
a/gst/gstcaps.h
b/gst/gstcaps.h
index
4b688ab
..
b90139d
100644
(file)
--- a/
gst/gstcaps.h
+++ b/
gst/gstcaps.h
@@
-127,7
+127,7
@@
typedef enum {
*/
#define GST_STATIC_CAPS(string) \
{ \
- /* miniobject */ { { 0, 0, 0, 0, NULL, NULL, NULL }, \
+ /* miniobject */ { { 0, 0, 0, 0, NULL, NULL, NULL
, 0, NULL
}, \
/* caps */ NULL }, \
/* string */ string, \
GST_PADDING_INIT \