rygel r410 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r410 - trunk/src/rygel
- Date: Wed, 7 Jan 2009 12:55:44 +0000 (UTC)
Author: zeeshanak
Date: Wed Jan 7 12:55:44 2009
New Revision: 410
URL: http://svn.gnome.org/viewvc/rygel?rev=410&view=rev
Log:
Only claim Range (seek) operation for non-live items.
Modified:
trunk/src/rygel/rygel-media-item.vala
Modified: trunk/src/rygel/rygel-media-item.vala
==============================================================================
--- trunk/src/rygel/rygel-media-item.vala (original)
+++ trunk/src/rygel/rygel-media-item.vala Wed Jan 7 12:55:44 2009
@@ -47,6 +47,8 @@
public int track_number = -1;
+ public bool live;
+
protected Rygel.Streamer streamer;
public MediaItem (string id,
@@ -126,9 +128,11 @@
string protocol = get_protocol_for_uri (this.res.uri);
this.res.protocol = protocol;
this.res.dlna_profile = "MP3"; /* FIXME */
- this.res.dlna_operation = GUPnP.DLNAOperation.RANGE;
this.res.dlna_flags = GUPnP.DLNAFlags.STREAMING_TRANSFER_MODE |
GUPnP.DLNAFlags.DLNA_V15;
+ if (!this.live) {
+ this.res.dlna_operation = GUPnP.DLNAOperation.RANGE;
+ }
/* Now get the transcoded/proxy URIs */
var res_list = this.get_transcoded_resources (res);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]