[rygel] media-export: Print a debug message if extraction fails
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] media-export: Print a debug message if extraction fails
- Date: Wed, 21 Jul 2010 19:23:59 +0000 (UTC)
commit ff777bbeb7c37b4b43632a615744576112f13182
Author: Arun Raghavan <arun raghavan collabora co uk>
Date: Sat Jan 16 13:11:47 2010 +0530
media-export: Print a debug message if extraction fails
.../rygel-media-export-metadata-extractor.vala | 4 +++-
1 files changed, 3 insertions(+), 1 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 c166ef0..f2adab5 100644
--- a/src/plugins/media-export/rygel-media-export-metadata-extractor.vala
+++ b/src/plugins/media-export/rygel-media-export-metadata-extractor.vala
@@ -117,7 +117,9 @@ public class Rygel.MediaExport.MetadataExtractor: GLib.Object {
this.extract_stream_info (info, tag_list);
this.extraction_done (file, tag_list);
} catch (Error e) {
- /* Passthrough */
+ debug ("Unable to extract metadata for %s: %s\n",
+ info.uri,
+ err.message);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]