[banshee/gapless-ng: 10/836] [Banshee.GStreamer] Fire EoS before RequestNextTrack. This is important because EoS triggers Increme
- From: Christopher James Halse Rogers <chrishr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/gapless-ng: 10/836] [Banshee.GStreamer] Fire EoS before RequestNextTrack. This is important because EoS triggers Increme
- Date: Thu, 25 Feb 2010 22:42:17 +0000 (UTC)
commit e0d527629954c825ae5718921e2ee1ba9c46bcd3
Author: Christopher James Halse Rogers <raof ubuntu com>
Date: Fri Jul 17 17:01:25 2009 +1000
[Banshee.GStreamer] Fire EoS before RequestNextTrack.
This is important because EoS triggers IncrementLastPlayed(), and the shuffle-by modes require last-played
to be set.
Without this, shuffle-by modes play each track twice
.../Banshee.GStreamer/PlayerEngine.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs b/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs
index 99eb2ef..dac3d55 100644
--- a/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs
+++ b/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs
@@ -229,8 +229,8 @@ namespace Banshee.GStreamer
private void OnEos (IntPtr player)
{
Close (false);
- OnEventChanged (PlayerEvent.RequestNexttrack);
OnEventChanged (PlayerEvent.EndOfStream);
+ OnEventChanged (PlayerEvent.RequestNexttrack);
}
private void OnIterate (IntPtr player)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]