Fix usage of start tag in Gstreamer
This commit is contained in:
1 parent
df82690cd0
commit
61e275af76
3 files changed
+3
-5
No files matched your search
@@ -175,7 +175,7 @@ namespace Vocaluxe.Lib.Sound.Playback.GstreamerSharp
|
||||
// Passing CLOCK_TIME_NONE here causes the pipeline to block for a long time so with
|
||||
// prescan enabled the pipeline will wait 500ms for stream to initialize and then continue
|
||||
// if it takes more than 500ms, duration queries will be performed asynchronously
|
||||
Message msg = _Element.Bus.TimedPopFiltered(prescan ? ulong.MaxValue : 0L, MessageType.AsyncDone | MessageType.Error | MessageType.DurationChanged);
|
||||
Message msg = _Element.Bus.TimedPopFiltered(prescan ? ulong.MaxValue : 0L, MessageType.AsyncDone | MessageType.Error);
|
||||
if (!_OnMessage(msg))
|
||||
{
|
||||
_Dispose(true);
|
||||
|
||||
@@ -49,8 +49,7 @@ namespace Vocaluxe.Lib.Sound.Playback.PortAudio
|
||||
|
||||
_CurrentTime = value;
|
||||
_OldTime = value;
|
||||
_Timer.Reset();
|
||||
_Timer.Start();
|
||||
_Timer.Restart();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -44,8 +44,7 @@ namespace Vocaluxe.Lib.Sound.Playback.PortAudio
|
||||
{
|
||||
_ExternTime.Time = value;
|
||||
_SetValue = value;
|
||||
_Timer.Reset();
|
||||
_Timer.Start();
|
||||
_Timer.Restart();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user