[banshee] [GStreamer] Don't use stuck-workaround if position not 0
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [GStreamer] Don't use stuck-workaround if position not 0
- Date: Thu, 9 Dec 2010 02:02:07 +0000 (UTC)
commit 9472d2aa0c97d301fadbb4a85a994d05dd3fa507
Author: Gabriel Burt <gabriel burt gmail com>
Date: Wed Dec 8 20:01:03 2010 -0600
[GStreamer] Don't use stuck-workaround if position not 0
.../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 9319dd1..426bbfc 100644
--- a/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs
+++ b/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs
@@ -416,7 +416,7 @@ namespace Banshee.GStreamer
{
ready_timeout = 0;
var uri = CurrentUri;
- if (CurrentState == PlayerState.Loading && uri != null && uri.IsLocalPath) {
+ if (CurrentState == PlayerState.Loading && Position == 0 && uri != null && uri.IsLocalPath) {
// This is a dirty workaround. I was seeing the playback get stuck on track transition,
// about one in 20 songs, where it would load the new track's duration, but be stuck at 0:00,
// but if I moved the seek slider it would unstick it, hence setting Position...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]