diff options
author | Craig Pratt <craig@ecaspia.com> | 2014-06-21 21:49:19 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2015-02-08 13:17:58 +0100 |
commit | b889e3d2590ef92458ef4afce0a3edaaa7027668 (patch) | |
tree | 22f922a4288f7e4564f126d028f508b5611a04c7 /examples/standalone-server.c | |
parent | 4e584c97fbcff6018a8264c49171698c76278d01 (diff) | |
download | rygel-b889e3d2590ef92458ef4afce0a3edaaa7027668.tar.gz |
all: Refactoring of the MediaObject class hierarchy
Introduce a MediaFileItem class that represents a single file
Signed-off-by: Jens Georg <mail@jensge.org>
https://bugzilla.gnome.org/show_bug.cgi?id=720218
Diffstat (limited to 'examples/standalone-server.c')
-rw-r--r-- | examples/standalone-server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/standalone-server.c b/examples/standalone-server.c index 67ef1991..b5e30b00 100644 --- a/examples/standalone-server.c +++ b/examples/standalone-server.c @@ -121,7 +121,8 @@ int main (int argc, char *argv[]) if (item != NULL) { GeeArrayList* uris; - rygel_media_item_set_mime_type (RYGEL_MEDIA_ITEM (item), content_type); + rygel_media_file_item_set_mime_type (RYGEL_MEDIA_FILE_ITEM (item), + content_type); rygel_media_object_add_uri (RYGEL_MEDIA_OBJECT (item), uri); |