rygel r385 - trunk/src/plugins/dvb
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r385 - trunk/src/plugins/dvb
- Date: Thu, 25 Dec 2008 12:01:11 +0000 (UTC)
Author: zeeshanak
Date: Thu Dec 25 12:01:11 2008
New Revision: 385
URL: http://svn.gnome.org/viewvc/rygel?rev=385&view=rev
Log:
Correct(swap) the logic of differenciating audio from video.
Modified:
trunk/src/plugins/dvb/rygel-dvb-channel.vala
Modified: trunk/src/plugins/dvb/rygel-dvb-channel.vala
==============================================================================
--- trunk/src/plugins/dvb/rygel-dvb-channel.vala (original)
+++ trunk/src/plugins/dvb/rygel-dvb-channel.vala Thu Dec 25 12:01:11 2008
@@ -58,11 +58,11 @@
bool is_radio = this.channel_list.IsRadioChannel (cid);
if (is_radio) {
- this.upnp_class = "object.item.videoItem.videoBroadcast";
- this.res.mime_type = "video/mpeg";
- } else {
this.upnp_class = "object.item.audioItem.audioBroadcast";
this.res.mime_type = "audio/mpeg"; // correct?
+ } else {
+ this.upnp_class = "object.item.videoItem.videoBroadcast";
+ this.res.mime_type = "video/mpeg";
}
// FIXME: (Leaky) Hack to assign the string to weak fields
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]