summaryrefslogtreecommitdiffstats
path: root/src/gstreamer.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-10-26 02:53:57 +0200
committerLennart Poettering <lennart@poettering.net>2008-10-26 02:53:57 +0200
commitc2b9e5fc4544a0745e24ffebe3fd9a03ac93315b (patch)
tree8be170c130b91235e4539bff5a93e885257ce664 /src/gstreamer.c
parent87a3c225455870580a1945b74d1dfcfc32be19d0 (diff)
make _change_device() call take a const string
Diffstat (limited to 'src/gstreamer.c')
-rw-r--r--src/gstreamer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gstreamer.c b/src/gstreamer.c
index caa28a6..f008849 100644
--- a/src/gstreamer.c
+++ b/src/gstreamer.c
@@ -178,7 +178,7 @@ int driver_destroy(ca_context *c) {
return CA_SUCCESS;
}
-int driver_change_device(ca_context *c, char *device) {
+int driver_change_device(ca_context *c, const char *device) {
ca_return_val_if_fail(c, CA_ERROR_INVALID);
ca_return_val_if_fail(PRIVATE(c), CA_ERROR_STATE);