- public void RecievingJob(Job job)\r
- {\r
- string query = job.Query;\r
- StartScan(job.Source, 0);\r
- \r
-\r
- if (query != null)\r
- {\r
- //Ok, Reset all the H264 widgets before changing the preset\r
- x264Panel.reset2Defaults();\r
-\r
- // Send the query from the file to the Query Parser class\r
- QueryParser presetQuery = QueryParser.Parse(query);\r
-\r
- // Now load the preset\r
- PresetLoader.presetLoader(this, presetQuery, "Load Back From Queue", true);\r
-\r
- // The x264 widgets will need updated, so do this now:\r
- x264Panel.X264_StandardizeOptString();\r
- x264Panel.X264_SetCurrentSettingsInPanel();\r
-\r
- // Finally, let this window have a copy of the preset settings.\r
- CurrentlySelectedPreset = null;\r
- PictureSettings.SetPresetCropWarningLabel(null);\r
- }\r
-\r
- }\r
-\r