/// <summary>\r
/// The number of MS between status polls when scanning.\r
/// </summary>\r
- private const double ScanPollIntervalMs = 200;\r
+ private const double ScanPollIntervalMs = 250;\r
\r
/// <summary>\r
/// The number of MS between status polls when encoding.\r
/// </summary>\r
- private const double EncodePollIntervalMs = 200;\r
+ private const double EncodePollIntervalMs = 250;\r
\r
/// <summary>\r
/// The native handle to the HandBrake instance.\r
{\r
if (this.queueProcessor.EncodeService.IsEncoding)\r
{\r
- long length = 0;\r
- double filesize = 0;\r
- try\r
- {\r
- length = new System.IO.FileInfo(this.Destination).Length;\r
- if (length != 0)\r
- {\r
- length = length / 1024 / 1024; // MB\r
- }\r
-\r
- double portionLeft = 100 / e.PercentComplete;\r
-\r
- filesize = Math.Round( length * portionLeft, 1);\r
-\r
- }\r
- catch (Exception ee)\r
- {\r
- Debug.WriteLine(ee);\r
- }\r
-\r
this.ProgramStatusLabel =\r
- string.Format("{0:00.00}% FPS: {1:000.0} Avg FPS: {2:000.0} Time Remaining: {3} Elapsed: {4:hh\\:mm\\:ss} Filesize: {6}MB" + Resources.Main_JobsPending_addon,\r
+ string.Format("{0:00.00}% FPS: {1:000.0} Avg FPS: {2:000.0} Time Remaining: {3} Elapsed: {4:hh\\:mm\\:ss}" + Resources.Main_JobsPending_addon,\r
e.PercentComplete,\r
e.CurrentFrameRate,\r
e.AverageFrameRate,\r
e.EstimatedTimeLeft,\r
e.ElapsedTime,\r
- this.queueProcessor.Count,\r
- filesize);\r
+ this.queueProcessor.Count);\r
\r
if (lastEncodePercentage != percent && this.windowsSeven.IsWindowsSeven)\r
{\r
public class VideoViewModel : ViewModelBase, IVideoViewModel\r
{\r
/*\r
- * Hard Code "None" in the Models for Tune.\r
+ * Hard Code "None" in the Models for Tune.t\r
* Test Everything */\r
\r
#region Constants and Fields\r