totem r5077 - in trunk: . browser-plugin



Author: hadess
Date: Thu Feb  7 14:41:44 2008
New Revision: 5077
URL: http://svn.gnome.org/viewvc/totem?rev=5077&view=rev

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

	* browser-plugin/totemPlugin.cpp: Fix the DivX plugin not getting
	any URIs to play on the Stage6 website



Modified:
   trunk/ChangeLog
   trunk/browser-plugin/totemPlugin.cpp

Modified: trunk/browser-plugin/totemPlugin.cpp
==============================================================================
--- trunk/browser-plugin/totemPlugin.cpp	(original)
+++ trunk/browser-plugin/totemPlugin.cpp	Thu Feb  7 14:41:44 2008
@@ -1788,12 +1788,19 @@
 #endif /* TOTEM_NARROWSPACE_PLUGIN */
 
 /* FIXME */
+#ifdef TOTEM_MULLY_PLUGIN
+	value = (const char *) g_hash_table_lookup (args, "video");
+	if (value) {
+		SetSrc (nsDependentCString (value));
+	}
+#endif /* TOTEM_MULLY_PLUGIN */
+
 #if 0 //def TOTEM_MULLY_PLUGIN
 	/* Click to play behaviour of the DivX plugin */
 	char *previewimage = (const char *) g_hash_table_lookup (args, "previewimage");
 	if (value != NULL)
 		mHref = g_strdup (mSrc);
-#endif /* TOTEM_NARROWSPACE_PLUGIN */
+#endif /* TOTEM_MULLY_PLUGIN */
 
 	/* If we're set to start automatically, we'll use the src stream */
 	if (mRequestURI &&
@@ -2138,6 +2145,8 @@
 						    G_TYPE_INVALID);
 
 			return len;
+		} else {
+			D ("Is not playlist: totem_pl_parser_can_parse_from_data failed (len %d)", len);
 		}
 	}
 



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