[gnome-music] player: don't connect to GstPlaybin::about-to-finish



commit c25b9c0086f4eb95151f84464e230b7a2772ff1a
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Tue Jun 18 22:43:53 2013 +0200

    player: don't connect to GstPlaybin::about-to-finish
    
    The signal is emitted from a GStreamer worker thread, but gjs
    is not thread safe and cannot run on different threads.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=702607

 src/player.js |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/player.js b/src/player.js
index a07c593..82ad3fd 100644
--- a/src/player.js
+++ b/src/player.js
@@ -107,14 +107,6 @@ const Player = new Lang.Class({
             }
         }));
 
-
-        // Set URI earlier - this will enable gapless playback
-        this.player.connect("about-to-finish", Lang.bind(this, function(player) {
-            if (player.nextUrl != null) {
-                player.uri = player.nextUrl;
-            }
-            return true;
-        }));
         this._setupView();
     },
 


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