some changes in acinerella class
This commit is contained in:
1 parent
fbd2f2aee3
commit
ebd16304b1
2 files changed
-18
No files matched your search
@@ -38,22 +38,7 @@ namespace Vocaluxe.Lib.Video.Acinerella
|
|||||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
|
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
|
||||||
public struct TAc_file_info
|
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 Int64 duration;
|
||||||
public Int32 bitrate;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TAc_instance represents an Acinerella instance. Each instance can open and
|
// TAc_instance represents an Acinerella instance. Each instance can open and
|
||||||
|
|||||||
@@ -580,7 +580,6 @@ namespace Vocaluxe.Lib.Video
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
int FrameFinished = 0;
|
int FrameFinished = 0;
|
||||||
bool error = false;
|
|
||||||
if (DropFrame && !_BeforeLoop)
|
if (DropFrame && !_BeforeLoop)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
@@ -604,7 +603,6 @@ namespace Vocaluxe.Lib.Video
|
|||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
error = true;
|
|
||||||
CLog.LogError("Error AcGetFrame " + _FileName);
|
CLog.LogError("Error AcGetFrame " + _FileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -649,7 +647,6 @@ namespace Vocaluxe.Lib.Video
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!error) // just a quick and dirty workaround for the mkv seek bug in ffmpeg
|
|
||||||
_NoMoreFrames = true;
|
_NoMoreFrames = true;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in new issue
Block a user