summaryrefslogtreecommitdiff
path: root/libbanshee
diff options
context:
space:
mode:
authorChristopher James Halse Rogers <chrishr@src.gnome.org>2010-03-07 22:12:25 +1100
committerChristopher James Halse Rogers <chrishr@src.gnome.org>2010-03-07 22:12:25 +1100
commit4de8679fba10a46f638351fa6932bfe3fc780573 (patch)
treea6ead4e02a82d62c29cfe53e3466b2b8f43dc3a6 /libbanshee
parentaa52de225310563f0e0f1db2866c972993ff4997 (diff)
[libbanshee] Use playbin2 in all builds
Diffstat (limited to 'libbanshee')
-rw-r--r--libbanshee/banshee-player-pipeline.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libbanshee/banshee-player-pipeline.c b/libbanshee/banshee-player-pipeline.c
index b4664697b..0993519eb 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);