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:
4d2cb74
)
uri: fix wrong G_GNUC_MALLOC
author
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Sat, 26 Nov 2011 19:45:48 +0000
(19:45 +0000)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Sat, 26 Nov 2011 19:45:48 +0000
(19:45 +0000)
_get_protocols() points to const memory in 0.10
despite the non-const return value.
gst/gsturi.h
patch
|
blob
|
history
diff --git
a/gst/gsturi.h
b/gst/gsturi.h
index d071937f51d95d037333e7b97df429faecfb4c6c..5c3f705b6fe4c9c2836895dd9a68dae334762402 100644
(file)
--- a/
gst/gsturi.h
+++ b/
gst/gsturi.h
@@
-144,7
+144,7
@@
GstElement * gst_element_make_from_uri (const GstURIType type,
GType gst_uri_handler_get_type (void);
guint gst_uri_handler_get_uri_type (GstURIHandler * handler);
-gchar ** gst_uri_handler_get_protocols (GstURIHandler * handler)
G_GNUC_MALLOC
;
+gchar ** gst_uri_handler_get_protocols (GstURIHandler * handler);
const gchar * gst_uri_handler_get_uri (GstURIHandler * handler);
gboolean gst_uri_handler_set_uri (GstURIHandler * handler,
const gchar * uri);