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:
f2aee62
)
caps.override: fix compiler warning
author
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Tue, 6 Sep 2011 18:13:44 +0000
(19:13 +0100)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Tue, 6 Sep 2011 18:13:44 +0000
(19:13 +0100)
Re-use the already-extracted caps and structure pointers, instead
of getting them again, thus fixing:
gstcaps.override: In function 'pygst_caps_sq_item':
gstcaps.override:361:16: error: variable 'structure' set but not used
gst/gstcaps.override
patch
|
blob
|
history
diff --git
a/gst/gstcaps.override
b/gst/gstcaps.override
index
ef300eb
..
77e3d84
100644
(file)
--- a/
gst/gstcaps.override
+++ b/
gst/gstcaps.override
@@
-370,7
+370,7
@@
pygst_caps_sq_item(PyObject *self, Py_ssize_t i)
/* pyg_boxed_new handles NULL checking */
ret = pyg_boxed_new(GST_TYPE_STRUCTURE,
- gst_caps_get_structure(pyg_boxed_get(self, GstCaps), i),
+ structure,
FALSE, FALSE);
if (ret)
pygst_caps_map_add (ret, self);