]> granicus.if.org Git - handbrake/commitdiff
WinGui: Add bob support in the plist parser.
authorsr55 <sr55.hb@outlook.com>
Sat, 5 May 2012 23:59:37 +0000 (23:59 +0000)
committersr55 <sr55.hb@outlook.com>
Sat, 5 May 2012 23:59:37 +0000 (23:59 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4647 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs

index bfe717b7ef6f3f086d65f48d669240b8d8ed1204..b35a360a23514451abe7c08df9ada24e458f5084 100644 (file)
@@ -585,6 +585,10 @@ namespace HandBrake.ApplicationServices.Utilities
                     AddEncodeElement(xmlWriter, "PictureDecomb", "integer", "3");\r
                     AddEncodeElement(xmlWriter, "PictureDecombCustom", "string", string.Empty);\r
                     break;\r
+                case Decomb.Bob:\r
+                    AddEncodeElement(xmlWriter, "PictureDecomb", "integer", "4");\r
+                    AddEncodeElement(xmlWriter, "PictureDecombCustom", "string", string.Empty);\r
+                    break;\r
                 case Decomb.Custom:\r
                     AddEncodeElement(xmlWriter, "PictureDecomb", "integer", "1");\r
                     AddEncodeElement(xmlWriter, "PictureDecombCustom", "string", parsed.CustomDecomb);\r
@@ -610,6 +614,10 @@ namespace HandBrake.ApplicationServices.Utilities
                     AddEncodeElement(xmlWriter, "PictureDeinterlace", "integer", "4");\r
                     AddEncodeElement(xmlWriter, "PictureDeinterlaceCustom", "string", string.Empty);\r
                     break;\r
+                case Deinterlace.Bob:\r
+                    AddEncodeElement(xmlWriter, "PictureDeinterlace", "integer", "5");\r
+                    AddEncodeElement(xmlWriter, "PictureDeinterlaceCustom", "string", string.Empty);\r
+                    break;\r
                 case Deinterlace.Custom:\r
                     AddEncodeElement(xmlWriter, "PictureDeinterlace", "integer", "1");\r
                     AddEncodeElement(xmlWriter, "PictureDeinterlaceCustom", "string", parsed.CustomDeinterlace);\r