[banshee] Don't create video fakesink on Windows



commit 70c4738d24fc75187064c45b8b24faee9035277b
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Mon Jun 8 17:27:14 2009 -0500

    Don't create video fakesink on Windows
---
 libbanshee/banshee-player-video.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libbanshee/banshee-player-video.c b/libbanshee/banshee-player-video.c
index 80e6393..21bc0ce 100644
--- a/libbanshee/banshee-player-video.c
+++ b/libbanshee/banshee-player-video.c
@@ -166,12 +166,16 @@ _bp_video_pipeline_setup (BansheePlayer *player, GstBus *bus)
     
     player->video_display_context_type = BP_VIDEO_DISPLAY_CONTEXT_UNSUPPORTED;
 
+    #ifndef WIN32
+
     videosink = gst_element_factory_make ("fakesink", "videosink");
     if (videosink != NULL) {
         g_object_set (G_OBJECT (videosink), "sync", TRUE, NULL);
     }
     
     g_object_set (G_OBJECT (player->playbin), "video-sink", videosink, NULL);
+
+    #endif
     
     #endif
 }



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