From 42c705330f4fd5727d915b3fada45aa83f59e2b7 Mon Sep 17 00:00:00 2001 From: RKrom Date: Thu, 15 Nov 2012 20:51:41 +0000 Subject: [PATCH] Changed format and compression git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2289 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4 --- Greenshot/Helpers/ScreenCaptureHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Greenshot/Helpers/ScreenCaptureHelper.cs b/Greenshot/Helpers/ScreenCaptureHelper.cs index 3c85dd940..defa01a44 100644 --- a/Greenshot/Helpers/ScreenCaptureHelper.cs +++ b/Greenshot/Helpers/ScreenCaptureHelper.cs @@ -169,7 +169,7 @@ namespace Greenshot.Helpers { throw exceptionToThrow; } // Create a GDI Bitmap so we can use GDI and GDI+ operations on the same memory - GDIBitmap = new Bitmap(recordingSize.Width, recordingSize.Height, 32, PixelFormat.Format32bppPArgb, bits0); + GDIBitmap = new Bitmap(recordingSize.Width, recordingSize.Height, 32, PixelFormat.Format32bppArgb, bits0); // select the bitmap object and store the old handle hOldObject = GDI32.SelectObject(hDCDest, hDIBSection); stop = false; @@ -297,7 +297,7 @@ namespace Greenshot.Helpers { if (ffmpegexe != null) { try { string webMFile = filename.Replace(".avi", ".webm"); - ProcessStartInfo processStartInfo = new ProcessStartInfo(ffmpegexe, "-i \"" + filename + "\" -vcodec libvpx -g 30 \"" + webMFile + "\""); + ProcessStartInfo processStartInfo = new ProcessStartInfo(ffmpegexe, "-i \"" + filename + "\" -vcodec libvpx \"" + webMFile + "\""); processStartInfo.CreateNoWindow = false; processStartInfo.RedirectStandardOutput = false; processStartInfo.UseShellExecute = false;