Author: rolf
Date: 2008-02-20 10:18:58 -0500 (Wed, 20 Feb 2008)
New Revision: 96260

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/media.cpp
   trunk/moon/src/runtime.cpp
Log:
* src/media.cpp: Add a printf to inform when we're trying to load an
  mms stream. Helps a lot when trying to identify sites depending on
  mms/streaming support.
* src/runtime.cpp: Unref debug_selected_element upon destruction. Fixes
  a leak.

Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2008-02-20 15:08:16 UTC (rev 96259)
+++ trunk/moon/src/ChangeLog    2008-02-20 15:18:58 UTC (rev 96260)
@@ -1,3 +1,10 @@
+2008-02-20  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
+       * media.cpp: Add a printf to inform when we're trying to load an mms 
stream.
+         Helps a lot when trying to identify sites depending on mms/streaming
+         support.
+       * runtime.cpp: Unref debug_selected_element upon destruction. Fixes a 
leak.
+
 2008-02-20  Michael Dominic K.  <[EMAIL PROTECTED]>
 
        * src/shape.cpp: Fixing the shape caching to work also with 
Path/Geometry.

Modified: trunk/moon/src/media.cpp
===================================================================
--- trunk/moon/src/media.cpp    2008-02-20 15:08:16 UTC (rev 96259)
+++ trunk/moon/src/media.cpp    2008-02-20 15:18:58 UTC (rev 96260)
@@ -1063,6 +1063,12 @@
 {
        g_return_if_fail (dl->GetObjectType () == Type::DOWNLOADER);
        
+#if DEBUG
+       if (g_str_has_prefix (dl->GetValue (Downloader::UriProperty)->AsString 
(), "mms")) 
+               printf ("MediaElement is trying to load an mms stream, which 
isn't supported yet (%s)\n", dl->GetValue (Downloader::UriProperty)->AsString 
());
+#endif 
+       
+       
        Reinitialize ();
        
        downloader = (Downloader *) dl;

Modified: trunk/moon/src/runtime.cpp
===================================================================
--- trunk/moon/src/runtime.cpp  2008-02-20 15:08:16 UTC (rev 96259)
+++ trunk/moon/src/runtime.cpp  2008-02-20 15:18:58 UTC (rev 96260)
@@ -232,6 +232,13 @@
                buffer = NULL;
        }
        
+#if DEBUG
+       if (debug_selected_element) {
+               debug_selected_element->unref ();
+               debug_selected_element = NULL;
+       }
+#endif
+       
        if (full_screen_message) {
                HideFullScreenMessage ();
        }

_______________________________________________
Mono-patches maillist  -  Mono-patches@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to