OSDN Git Service

MacGui: tweaks the deinterlacing parameters.
authorjbrjake <jbrjake@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 11 Aug 2007 17:34:33 +0000 (17:34 +0000)
committerjbrjake <jbrjake@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 11 Aug 2007 17:34:33 +0000 (17:34 +0000)
-Slow becomes yadif 0
-Slower becomes yadif 2, mcdeint 1
-Slowest becomes yadif 1, mcdeint 2
Thanks for the recommendations, huevos_rancheros.

git-svn-id: svn://localhost/HandBrake/trunk@797 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/Controller.mm

index 481c4c1..964254c 100644 (file)
@@ -1419,20 +1419,20 @@ list = hb_get_titles( fHandle );
         }
         if ([fPicSettingDeinterlace intValue] == 2)
         {
-            /* Yadif mode 1 */
-            hb_filter_deinterlace.settings = "1"; 
+            /* Yadif mode 0 (1-pass with spatial deinterlacing.) */
+            hb_filter_deinterlace.settings = "0"; 
             hb_list_add( job->filters, &hb_filter_deinterlace );            
         }
         if ([fPicSettingDeinterlace intValue] == 3)
         {
-            /* Yadif and Mcdeint */
-            hb_filter_deinterlace.settings = "1:-1:1"; 
+            /* Yadif (1-pass w/o spatial deinterlacing) and Mcdeint */
+            hb_filter_deinterlace.settings = "2:-1:1"; 
             hb_list_add( job->filters, &hb_filter_deinterlace );            
         }
         if ([fPicSettingDeinterlace intValue] == 4)
         {
-            /* Yadif and Mcdeint Slow Modes*/
-            hb_filter_deinterlace.settings = "3:-1:2"; 
+            /* Yadif (2-pass w/ spatial deinterlacing) and Mcdeint Slow Mode*/
+            hb_filter_deinterlace.settings = "1:-1:2"; 
             hb_list_add( job->filters, &hb_filter_deinterlace );            
         }
     }