[rygel] media-export: Entertain base Audio and Image classes



commit d66f8ae0ce97cd79a349a0fd42279de4970f1826
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Sep 30 16:52:06 2010 +0300

    media-export: Entertain base Audio and Image classes

 .../rygel-media-export-object-factory.vala         |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-object-factory.vala b/src/plugins/media-export/rygel-media-export-object-factory.vala
index 88fb43d..7078c15 100644
--- a/src/plugins/media-export/rygel-media-export-object-factory.vala
+++ b/src/plugins/media-export/rygel-media-export-object-factory.vala
@@ -55,10 +55,12 @@ internal class Rygel.MediaExport.ObjectFactory : Object {
                                        string         upnp_class) {
         switch (upnp_class) {
             case MusicItem.UPNP_CLASS:
+            case AudioItem.UPNP_CLASS:
                 return new MusicItem (id, parent, title);
             case VideoItem.UPNP_CLASS:
                 return new VideoItem (id, parent, title);
             case PhotoItem.UPNP_CLASS:
+            case ImageItem.UPNP_CLASS:
                 return new PhotoItem (id, parent, title);
             default:
                 assert_not_reached ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]