[totem-pl-parser] media: Add non-DVD block devices as directories



commit 223617358c7ce16b2af98fd1b41119a4ce1b2ca9
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Apr 5 16:47:34 2012 +0100

    media: Add non-DVD block devices as directories

 plparse/totem-pl-parser-media.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plparse/totem-pl-parser-media.c b/plparse/totem-pl-parser-media.c
index f269846..6666294 100644
--- a/plparse/totem-pl-parser-media.c
+++ b/plparse/totem-pl-parser-media.c
@@ -316,7 +316,7 @@ totem_pl_parser_add_block (TotemPlParser *parser,
 		DEBUG(file, g_print ("Couldn't get CD type for URI '%s': %s\n", uri, err->message));
 		g_error_free (err);
 	}
-	if (type == MEDIA_TYPE_DATA || media_uri == NULL)
+	if (media_uri == NULL)
 		return TOTEM_PL_PARSER_RESULT_UNHANDLED;
 	else if (type == MEDIA_TYPE_ERROR)
 		return TOTEM_PL_PARSER_RESULT_ERROR;



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