mirror of
https://git.femboyfinancial.jp/james/lipsync.git
synced 2024-11-24 19:51:59 -08:00
git-svn-id: http://svn.sourceforge.jp/svnroot/lipsync@10 b1f601f4-4f45-0410-8980-aecacb008692
This commit is contained in:
parent
3bbc320365
commit
ea047ec460
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user