fixed time code assignment to decoded frames in ffmpeg video decoder

This commit is contained in:
Alexander Eckart committed 2012-03-07 21:51:18 +01:00
1 parent ecb981e237
commit fef418302e
1 file changed
+1 -1
+1 -1
View File
@@ -670,8 +670,8 @@ namespace Vocaluxe.Lib.Video
{
TAc_decoder Videodecoder = (TAc_decoder)Marshal.PtrToStructure(_videodecoder, typeof(TAc_decoder));
_FrameBuffer[num].time = _VideoTime;
_VideoTime = (float)Videodecoder.timecode;
_FrameBuffer[num].time = _VideoTime;
if (Videodecoder.buffer != IntPtr.Zero)
{