[rygel] server: Remove dead code
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] server: Remove dead code
- Date: Sat, 21 Nov 2015 12:14:39 +0000 (UTC)
commit cb4b36d74b8895dc54772c6170e321d4473cfacc
Author: Jens Georg <mail jensge org>
Date: Sat Nov 21 12:50:04 2015 +0100
server: Remove dead code
Signed-off-by: Jens Georg <mail jensge org>
src/librygel-server/rygel-image-item.vala | 9 ---------
src/librygel-server/rygel-media-item.vala | 12 ------------
2 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/src/librygel-server/rygel-image-item.vala b/src/librygel-server/rygel-image-item.vala
index 8a6ba65..01d8ebc 100644
--- a/src/librygel-server/rygel-image-item.vala
+++ b/src/librygel-server/rygel-image-item.vala
@@ -96,15 +96,6 @@ public class Rygel.ImageItem : MediaFileItem, VisualItem {
return res;
}
- protected override ProtocolInfo get_protocol_info (string? uri,
- string protocol) {
- var protocol_info = base.get_protocol_info (uri, protocol);
-
- protocol_info.dlna_flags |= DLNAFlags.INTERACTIVE_TRANSFER_MODE;
-
- return protocol_info;
- }
-
internal override void add_additional_resources (HTTPServer server) {
base.add_additional_resources (server);
diff --git a/src/librygel-server/rygel-media-item.vala b/src/librygel-server/rygel-media-item.vala
index ce8cac8..3d49aa9 100644
--- a/src/librygel-server/rygel-media-item.vala
+++ b/src/librygel-server/rygel-media-item.vala
@@ -104,16 +104,4 @@ public abstract class Rygel.MediaItem : MediaObject {
return didl_item;
}
-
- protected virtual ProtocolInfo get_protocol_info (string? uri,
- string protocol) {
- var protocol_info = new ProtocolInfo ();
-
- protocol_info.protocol = protocol;
- protocol_info.dlna_flags = DLNAFlags.DLNA_V15 |
- DLNAFlags.CONNECTION_STALL |
- DLNAFlags.BACKGROUND_TRANSFER_MODE;
-
- return protocol_info;
- }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]