totem-pl-parser r106 - in trunk: . plparse



Author: hadess
Date: Sat May  3 23:05:20 2008
New Revision: 106
URL: http://svn.gnome.org/viewvc/totem-pl-parser?rev=106&view=rev

Log:
2008-05-04  Bastien Nocera  <hadess hadess net>

	* plparse/totem-pl-parser.c (totem_pl_parser_mime_type_from_data):
	Also force application/octet-stream mime-types through our home-made
	detection, fixes problems parsing a DOS text file at
	http://www.la-bas.org/podcast.php3 (Closes: #531289)



Modified:
   trunk/ChangeLog
   trunk/plparse/totem-pl-parser.c

Modified: trunk/plparse/totem-pl-parser.c
==============================================================================
--- trunk/plparse/totem-pl-parser.c	(original)
+++ trunk/plparse/totem-pl-parser.c	Sat May  3 23:05:20 2008
@@ -1878,7 +1878,8 @@
 	}
 #endif
 
-	if (mime_type != NULL && strcmp (mime_type, "text/plain") == 0) {
+	if (mime_type != NULL &&
+	    (strcmp (mime_type, "text/plain") == 0 || strcmp (mime_type, "application/octet-stream") == 0)) {
 		PlaylistIdenCallback func;
 		guint i;
 



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