[rygel] server: Set CreateContainer OCM flag
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] server: Set CreateContainer OCM flag
- Date: Tue, 2 Apr 2013 10:07:22 +0000 (UTC)
commit 00d9aecebd2579d0e58a3ca736577c5be2ae503e
Author: Jens Georg <jensg openismus com>
Date: Thu Mar 7 15:34:46 2013 +0100
server: Set CreateContainer OCM flag
https://bugzilla.gnome.org/show_bug.cgi?id=694155
src/librygel-server/rygel-media-container.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/librygel-server/rygel-media-container.vala b/src/librygel-server/rygel-media-container.vala
index 99094da..f805ef6 100644
--- a/src/librygel-server/rygel-media-container.vala
+++ b/src/librygel-server/rygel-media-container.vala
@@ -132,7 +132,9 @@ public abstract class Rygel.MediaContainer : MediaObject {
} catch (Error error) {}
if (allow_upload) {
- flags |= OCMFlags.UPLOAD | OCMFlags.UPLOAD_DESTROYABLE;
+ flags |= OCMFlags.UPLOAD |
+ OCMFlags.UPLOAD_DESTROYABLE |
+ OCMFlags.CREATE_CONTAINER;
}
var allow_deletion = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]