diff --git a/Vocaluxe/Lib/Sound/CGstreamerSharpAudio.cs b/Vocaluxe/Lib/Sound/CGstreamerSharpAudio.cs index 84e2226c..da0e2ca0 100644 --- a/Vocaluxe/Lib/Sound/CGstreamerSharpAudio.cs +++ b/Vocaluxe/Lib/Sound/CGstreamerSharpAudio.cs @@ -302,8 +302,10 @@ namespace Vocaluxe.Lib.Sound if (_Loop) Position = 0; else + { Finished = true; - Close(); + Close(); + } break; case MessageType.Error: GException error; @@ -312,7 +314,8 @@ namespace Vocaluxe.Lib.Sound CLog.LogError("Gstreamer error: message" + error.Message + ", code" + error.Code + " ,debug information" + debug); break; case MessageType.DurationChanged: - _UpdateDuration(); + if (!_QueryingDuration) + _UpdateDuration(); break; } msg.Unref();