projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8d981e
)
examples: Fix serving files
author
Jens Georg
<jensg@openismus.com>
Fri, 5 Oct 2012 15:32:51 +0000
(17:32 +0200)
committer
Jens Georg
<jensg@openismus.com>
Fri, 5 Oct 2012 15:33:08 +0000
(17:33 +0200)
examples/standalone-server.c
patch
|
blob
|
history
diff --git
a/examples/standalone-server.c
b/examples/standalone-server.c
index
36b22d2
..
5bcb5d2
100644
(file)
--- a/
examples/standalone-server.c
+++ b/
examples/standalone-server.c
@@
-109,7
+109,12
@@
int main (int argc, char *argv[])
g_free (id);
if (item != NULL) {
+ RygelMediaObject *object;
+
RYGEL_MEDIA_ITEM (item)->mime_type = g_strdup (content_type);
+
+ object = RYGEL_MEDIA_OBJECT (item);
+ gee_collection_add (GEE_COLLECTION (object->uris), uri);
rygel_simple_container_add_child_item (root_container, item);
}