[rygel] core: issue File if finished, not uri



commit cfd11bb527e0518f1e4a030e1b89de57ea825a19
Author: Jens Georg <mail jensge org>
Date:   Fri Jun 5 01:05:03 2009 +0200

    core: issue File if finished, not uri

 src/rygel/rygel-metadata-extractor.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/rygel/rygel-metadata-extractor.vala b/src/rygel/rygel-metadata-extractor.vala
index 72e5ba1..4394691 100644
--- a/src/rygel/rygel-metadata-extractor.vala
+++ b/src/rygel/rygel-metadata-extractor.vala
@@ -69,7 +69,7 @@ public class Rygel.MetadataExtractor: GLib.Object {
     private dynamic Gst.Element playbin;
 
     /* Signals */
-    public signal void extraction_done (string uri, Gst.TagList tag_list);
+    public signal void extraction_done (File file, Gst.TagList tag_list);
 
     /**
      * Signalize that an error occured during metadata extraction
@@ -165,7 +165,7 @@ public class Rygel.MetadataExtractor: GLib.Object {
             this.extract_stream_info ();
 
             /* No hopes of getting any tags after this point */
-            this.extraction_done (this.playbin.uri, tag_list);
+            this.extraction_done (this.file_queue.peek (), tag_list);
             this.playbin.set_state (State.NULL);
             this.tag_list = new Gst.TagList ();
             this.file_queue.pop ();



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