[banshee] GStreamerSharp: removed unused event for Video setup



commit 18f03e73b2334a199dcd7ff6de255cc48daeef96
Author: Stephan Sundermann <stephansundermann gmail com>
Date:   Sat Oct 26 20:40:50 2013 +0200

    GStreamerSharp: removed unused event for Video setup
    
    Signed-off-by: Andrés G. Aragoneses <knocte gmail com>

 .../Banshee.GStreamerSharp/VideoManager.cs         |   15 +--------------
 1 files changed, 1 insertions(+), 14 deletions(-)
---
diff --git a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/VideoManager.cs 
b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/VideoManager.cs
index 931421d..f9c2678 100644
--- a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/VideoManager.cs
+++ b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/VideoManager.cs
@@ -62,18 +62,8 @@ namespace Banshee.GStreamerSharp
         public void Initialize ()
         {
             Element videosink;
-            
-            if (VideoPipelineSetup != null) {
-                videosink = VideoPipelineSetup ();
-                if (videosink != null && videosink is Element) {
-                    playbin ["video-sink"] = videosink;
-                    video_display_context_type = VideoDisplayContextType.Custom;
-                    return;
-                }
-            }
-
             video_display_context_type = VideoDisplayContextType.GdkWindow;
-            
+
             videosink = ElementFactory.Make ("gconfvideosink", "videosink");
             if (videosink == null) {
                 videosink = ElementFactory.Make ("autovideosink", "videosink");
@@ -101,9 +91,6 @@ namespace Banshee.GStreamerSharp
         }
         public delegate void PrepareWindowHandler ();
         public event PrepareWindowHandler PrepareWindow;
-        
-        public delegate Element VideoPipelineSetupHandler ();
-        public event VideoPipelineSetupHandler VideoPipelineSetup;
 
         public delegate void VideoGeometryHandler (int width, int height, int fps_n, int fps_d, int par_n, 
int par_d);
         public event VideoGeometryHandler VideoGeometry;


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