[farsight2/master] Add more constness to fscodec
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:25:38 PST 2008
---
gst-libs/gst/farsight/fs-codec.c | 3 ++-
gst-libs/gst/farsight/fs-codec.h | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/gst-libs/gst/farsight/fs-codec.c b/gst-libs/gst/farsight/fs-codec.c
index 608972a..e84ee0f 100644
--- a/gst-libs/gst/farsight/fs-codec.c
+++ b/gst-libs/gst/farsight/fs-codec.c
@@ -623,7 +623,8 @@ fs_codec_remove_optional_parameter (FsCodec *codec,
*/
FsCodecParameter *
-fs_codec_get_optional_parameter (FsCodec *codec, gchar *name, gchar *value)
+fs_codec_get_optional_parameter (FsCodec *codec, const gchar *name,
+ const gchar *value)
{
GList *item = NULL;
diff --git a/gst-libs/gst/farsight/fs-codec.h b/gst-libs/gst/farsight/fs-codec.h
index edcd21a..43044c0 100644
--- a/gst-libs/gst/farsight/fs-codec.h
+++ b/gst-libs/gst/farsight/fs-codec.h
@@ -161,7 +161,7 @@ void fs_codec_remove_optional_parameter (FsCodec *codec,
FsCodecParameter *param);
FsCodecParameter *fs_codec_get_optional_parameter (FsCodec *codec,
- gchar *name, gchar *value);
+ const gchar *name, const gchar *value);
G_END_DECLS
--
1.5.6.5
More information about the farsight-commits
mailing list