rygel r775 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r775 - trunk/src/rygel
- Date: Tue, 31 Mar 2009 12:38:41 +0000 (UTC)
Author: zeeshanak
Date: Tue Mar 31 12:38:41 2009
New Revision: 775
URL: http://svn.gnome.org/viewvc/rygel?rev=775&view=rev
Log:
mp3 and l16 transcoder support audio upnp class rather than music.
Patch by Jens Georg.
Modified:
trunk/src/rygel/rygel-l16-transcoder.vala
trunk/src/rygel/rygel-mp3-transcoder.vala
Modified: trunk/src/rygel/rygel-l16-transcoder.vala
==============================================================================
--- trunk/src/rygel/rygel-l16-transcoder.vala (original)
+++ trunk/src/rygel/rygel-l16-transcoder.vala Tue Mar 31 12:38:41 2009
@@ -51,7 +51,7 @@
";rate=" + L16Transcoder.FREQUENCY.to_string () +
";channels=" + L16Transcoder.CHANNELS.to_string ();
- base (mime_type, "LPCM", MediaItem.MUSIC_CLASS);
+ base (mime_type, "LPCM", MediaItem.AUDIO_CLASS);
this.endianness = endianness;
}
Modified: trunk/src/rygel/rygel-mp3-transcoder.vala
==============================================================================
--- trunk/src/rygel/rygel-mp3-transcoder.vala (original)
+++ trunk/src/rygel/rygel-mp3-transcoder.vala Tue Mar 31 12:38:41 2009
@@ -39,7 +39,7 @@
private MP3Layer layer;
public MP3Transcoder (MP3Layer layer) {
- base ("audio/mpeg", "MP3", MediaItem.MUSIC_CLASS);
+ base ("audio/mpeg", "MP3", MediaItem.AUDIO_CLASS);
this.layer = layer;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]