some changes in acinerella class

This commit is contained in:
Alexander Eckart committed 2012-02-26 18:32:58 +01:00
1 parent fbd2f2aee3
commit ebd16304b1
2 files changed
+1 -19

No files matched your search

@@ -38,22 +38,7 @@ namespace Vocaluxe.Lib.Video.Acinerella
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
public struct TAc_file_info
{
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 512)]
public string title;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 512)]
public string author;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 512)]
public string copyright;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 512)]
public string comment;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 512)]
public string album;
public Int32 year;
public Int32 track;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)]
public string genre;
public Int64 duration;
public Int32 bitrate;
}
// TAc_instance represents an Acinerella instance. Each instance can open and
+1 -4
View File
@@ -580,7 +580,6 @@ namespace Vocaluxe.Lib.Video
return;
int FrameFinished = 0;
bool error = false;
if (DropFrame && !_BeforeLoop)
{
try
@@ -604,7 +603,6 @@ namespace Vocaluxe.Lib.Video
}
catch (Exception)
{
error = true;
CLog.LogError("Error AcGetFrame " + _FileName);
}
@@ -649,8 +647,7 @@ namespace Vocaluxe.Lib.Video
}
else
{
if (!error) // just a quick and dirty workaround for the mkv seek bug in ffmpeg
_NoMoreFrames = true;
_NoMoreFrames = true;
}
return;
}