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



Author: hadess
Date: Thu Feb  7 17:42:28 2008
New Revision: 48
URL: http://svn.gnome.org/viewvc/totem-pl-parser?rev=48&view=rev

Log:
2008-02-07  Bastien Nocera  <hadess hadess net>

	* plparse/totem-pl-parser-qt.c:
	(totem_pl_parser_add_quicktime_rtsptext): Fix parsing of RTSPtext
	playlist from http://mediathek.zdf.de/ (QuickTime selected)



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

Modified: trunk/plparse/totem-pl-parser-qt.c
==============================================================================
--- trunk/plparse/totem-pl-parser-qt.c	(original)
+++ trunk/plparse/totem-pl-parser-qt.c	Thu Feb  7 17:42:28 2008
@@ -93,6 +93,10 @@
 		(lines, "autoplay", dos_mode, "=");
 
 	rtspurl = g_strdup (lines[0] + strlen ("RTSPtext"));
+	if (rtspurl[0] == '\0') {
+		g_free (rtspurl);
+		rtspurl = g_strdup (lines[1]);
+	}
 	g_strstrip (rtspurl);
 
 	totem_pl_parser_add_url (parser,



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