[banshee/gapless-ng] [libbanshee] Use playbin2 in all builds



commit 4de8679fba10a46f638351fa6932bfe3fc780573
Author: Christopher James Halse Rogers <chrishr src gnome org>
Date:   Sun Mar 7 22:12:25 2010 +1100

    [libbanshee] Use playbin2 in all builds

 libbanshee/banshee-player-pipeline.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/libbanshee/banshee-player-pipeline.c b/libbanshee/banshee-player-pipeline.c
index b466469..0993519 100644
--- a/libbanshee/banshee-player-pipeline.c
+++ b/libbanshee/banshee-player-pipeline.c
@@ -253,14 +253,12 @@ _bp_pipeline_construct (BansheePlayer *player)
     
     // Playbin is the core element that handles autoplugging (finding the right
     // source and decoder elements) based on source URI and stream content
-#ifdef ENABLE_GAPLESS
     player->playbin = gst_element_factory_make ("playbin2", "playbin");
 
+#ifdef ENABLE_GAPLESS
     // Connect a proxy about-to-finish callback that will generate a next-track-starting callback.
     // This can be removed once playbin2 generates its own next-track signal.
     g_signal_connect (player->playbin, "about-to-finish", G_CALLBACK (bp_about_to_finish_callback), player);
-#else //ENABLE_GAPLESS
-    player->playbin = gst_element_factory_make ("playbin", "playbin");
 #endif //ENABLE_GAPLESS
 
     g_return_val_if_fail (player->playbin != NULL, FALSE);



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