fixed video decoding
This commit is contained in:
1 parent
e5624d0bf3
commit
12eccf326e
1 file changed
+1
-2
@@ -666,7 +666,6 @@ namespace Vocaluxe.Lib.Video
|
|||||||
if (num == -1)
|
if (num == -1)
|
||||||
{
|
{
|
||||||
_BufferFull = true;
|
_BufferFull = true;
|
||||||
EventDecode.Reset();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -743,7 +742,7 @@ namespace Vocaluxe.Lib.Video
|
|||||||
{
|
{
|
||||||
float td = _SetTime + _VideoSkipTime - _FrameBuffer[i].time;
|
float td = _SetTime + _VideoSkipTime - _FrameBuffer[i].time;
|
||||||
|
|
||||||
if (td > _VideoTimeBase * 2 || td < -1f * _VideoTimeBase * (_FrameBuffer.Length + 1))
|
if (td > _VideoTimeBase * 2)
|
||||||
{
|
{
|
||||||
_FrameBuffer[i].displayed = true;
|
_FrameBuffer[i].displayed = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user