\r
// Picture Settings Tab\r
#region Picture\r
-\r
- if (presetQuery.CropTop == "0" && presetQuery.CropBottom == "0" && presetQuery.CropLeft == "0" && presetQuery.CropRight == "0")\r
- {\r
- mainWindow.check_customCrop.Checked = true;\r
- mainWindow.text_top.Text = "0";\r
- mainWindow.text_bottom.Text = "0";\r
- mainWindow.text_left.Text = "0";\r
- mainWindow.text_right.Text = "0";\r
- }\r
- else if (presetQuery.CropTop != null && presetQuery.CropBottom != null && presetQuery.CropLeft != null && presetQuery.CropRight != null)\r
- {\r
- mainWindow.check_customCrop.Checked = true;\r
- mainWindow.text_top.Text = presetQuery.CropTop;\r
- mainWindow.text_bottom.Text = presetQuery.CropBottom;\r
- mainWindow.text_left.Text = presetQuery.CropLeft;\r
- mainWindow.text_right.Text = presetQuery.CropRight;\r
- }\r
- else\r
- mainWindow.check_autoCrop.Checked = true;\r
-\r
+ mainWindow.check_autoCrop.Checked = true;\r
mainWindow.drp_deInterlace_option.Text = presetQuery.DeInterlace;\r
mainWindow.drp_deNoise.Text = presetQuery.DeNoise;\r
\r
{\r
string query = "";\r
\r
+ query += " -f " + mainWindow.drop_format.Text.ToLower().Replace(" file", "");\r
+\r
// Picture Settings Tab\r
#region Picture Settings Tab\r
\r
* we expect to be in the output, so read one line ahead to skip over the unknown line\r
*/\r
\r
- if ((char)sr.Peek() != '[' && (char)sr.Peek() != '+' && (char)sr.Peek() != null) // Hack, Fix later\r
+ if ((char)sr.Peek() != '[' && (char)sr.Peek() != '+' ) // Hack, Fix later\r
sr.ReadLine();\r
}\r
\r
this.label8.Name = "label8";\r
this.label8.Size = new System.Drawing.Size(131, 13);\r
this.label8.TabIndex = 61;\r
- this.label8.Text = "Handbrake Options";\r
+ this.label8.Text = "HandBrake Options";\r
// \r
// pictureBox2\r
// \r
throw new Exception("Unable to retrieve the DVD Info. dvdinfo.dat is missing. \nExpected location of dvdinfo.dat: \n" + dvdInfoPath);\r
}\r
\r
- using (StreamReader sr = new StreamReader(dvdInfoPath))\r
+ using (StreamReader sr = new StreamReader("c:\\dvdinfo.dat"))\r
{\r
thisDvd = Parsing.DVD.Parse(sr);\r
sr.Close();\r