git-svn-id: http://svn.sourceforge.jp/svnroot/lipsync@10 b1f601f4-4f45-0410-8980-aecacb008692

This commit is contained in:
kbinani 2009-07-30 14:57:06 +00:00
parent 3bbc320365
commit ea047ec460

View File

@ -1774,19 +1774,17 @@ namespace LipSync {
if ( args.UseVfwEncoder ) {
bmp = new Bitmap( size.Width, size.Height, System.Drawing.Imaging.PixelFormat.Format24bppRgb );
if ( is_raw_mode ) {
AviWriterVcm awvcm = new AviWriterVcm();
bool ret = awvcm.Open( args.AviFile,
RawAvi2Writer awraw = new RawAvi2Writer();
bool ret = awraw.Open( args.AviFile,
AppManager.SaveData.DwScale,
AppManager.SaveData.DwRate,
size.Width,
size.Height,
!is_raw_mode,
args.IsTransparent,
Process.GetCurrentProcess().MainWindowHandle );
if ( !ret ) {
return;
}
writer = awvcm;
writer = awraw;
} else {
AviWriterVfw awvfw = new AviWriterVfw();
bool ret = awvfw.Open( args.AviFile,