[rhythmbox] xfade: schedule stream reap after EOS



commit 10f9938783b083ced4f081144d9b6351c52fed95
Author: Jonathan Matthew <jonathan d14n org>
Date:   Tue Jan 30 08:20:31 2018 +1000

    xfade: schedule stream reap after EOS
    
    This stops streams hanging around in pending-remove state until
    the stream after the following stream starts,

 backends/gstreamer/rb-player-gst-xfade.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/backends/gstreamer/rb-player-gst-xfade.c b/backends/gstreamer/rb-player-gst-xfade.c
index d553397..420cf7f 100644
--- a/backends/gstreamer/rb-player-gst-xfade.c
+++ b/backends/gstreamer/rb-player-gst-xfade.c
@@ -1831,6 +1831,7 @@ rb_player_gst_xfade_bus_cb (GstBus *bus, GstMessage *message, RBPlayerGstXFade *
                                 * message on the stream thread and now.
                                 */
                                start_waiting_eos_streams (player);
+                               schedule_stream_reap (player);
                        } else {
                                /* no need to emit EOS here, we already know what to do next */
                                rb_debug ("got EOS message for stream %s in REUSING state", stream->uri);


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