mirror of
https://git.femboyfinancial.jp/james/lipsync.git
synced 2024-11-21 18:22:03 -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 ) {
|
if ( args.UseVfwEncoder ) {
|
||||||
bmp = new Bitmap( size.Width, size.Height, System.Drawing.Imaging.PixelFormat.Format24bppRgb );
|
bmp = new Bitmap( size.Width, size.Height, System.Drawing.Imaging.PixelFormat.Format24bppRgb );
|
||||||
if ( is_raw_mode ) {
|
if ( is_raw_mode ) {
|
||||||
AviWriterVcm awvcm = new AviWriterVcm();
|
RawAvi2Writer awraw = new RawAvi2Writer();
|
||||||
bool ret = awvcm.Open( args.AviFile,
|
bool ret = awraw.Open( args.AviFile,
|
||||||
AppManager.SaveData.DwScale,
|
AppManager.SaveData.DwScale,
|
||||||
AppManager.SaveData.DwRate,
|
AppManager.SaveData.DwRate,
|
||||||
size.Width,
|
size.Width,
|
||||||
size.Height,
|
size.Height,
|
||||||
!is_raw_mode,
|
|
||||||
args.IsTransparent,
|
|
||||||
Process.GetCurrentProcess().MainWindowHandle );
|
Process.GetCurrentProcess().MainWindowHandle );
|
||||||
if ( !ret ) {
|
if ( !ret ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
writer = awvcm;
|
writer = awraw;
|
||||||
} else {
|
} else {
|
||||||
AviWriterVfw awvfw = new AviWriterVfw();
|
AviWriterVfw awvfw = new AviWriterVfw();
|
||||||
bool ret = awvfw.Open( args.AviFile,
|
bool ret = awvfw.Open( args.AviFile,
|
||||||
|
Loading…
Reference in New Issue
Block a user