[rygel] media-export: Update comment about the hashmap for clarity



commit cd64739f2805b927ce574f1b35050a3f1f650d2d
Author: Arun Raghavan <arun raghavan collabora co uk>
Date:   Mon Jan 18 23:37:31 2010 +0530

    media-export: Update comment about the hashmap for clarity

 .../rygel-media-export-metadata-extractor.vala     |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-metadata-extractor.vala b/src/plugins/media-export/rygel-media-export-metadata-extractor.vala
index f2adab5..511e9dc 100644
--- a/src/plugins/media-export/rygel-media-export-metadata-extractor.vala
+++ b/src/plugins/media-export/rygel-media-export-metadata-extractor.vala
@@ -51,8 +51,9 @@ public class Rygel.MediaExport.MetadataExtractor: GLib.Object {
 
     private Gst.Discoverer discoverer;
     /**
-     * We export a File-based API but GstDiscoverer works with URIs, so
-     * we store uri->File mappings in this hashmap
+     * We export a GLib.File-based API but GstDiscoverer works with URIs, so
+     * we store uri->GLib.File mappings in this hashmap, so that we can get
+     * the GLib.File back from the URI in on_discovered().
      */
     private HashMap<string, File> file_hash;
     private uint64 timeout = 10; /* seconds */



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