[ease/video] [video] Disable repetitive warnings



commit 2d88adb4ce270ac50b2b382fd78dfa5797f6c893
Author: Nate Stedman <natesm gmail com>
Date:   Thu Jul 29 08:58:32 2010 -0400

    [video] Disable repetitive warnings
    
    We already know video doesn't support Cairo yet, no need to
    spam the console with it.

 ease-core/ease-video-element.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ease-core/ease-video-element.vala b/ease-core/ease-video-element.vala
index 465b85f..ee35ff6 100644
--- a/ease-core/ease-video-element.vala
+++ b/ease-core/ease-video-element.vala
@@ -34,8 +34,8 @@ public class Ease.VideoElement : MediaElement
 	
 	internal VideoElement.from_json(Json.Object obj)
 	{
-		play_auto = obj.get_string_member(Theme.VIDEO_PLAY_AUTO).to_bool();
 		base.from_json(obj);
+		play_auto = obj.get_string_member(Theme.VIDEO_PLAY_AUTO).to_bool();
 	}	
 	
 	public override Actor actor(ActorContext c)
@@ -87,7 +87,7 @@ public class Ease.VideoElement : MediaElement
 
 	public override void cairo_render(Cairo.Context context) throws Error
 	{
-		warning("Video elements don't support Cairo right now...");
+		// TODO: something with video frames?
 	}
 }
 



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