]> granicus.if.org Git - handbrake/commitdiff
WinGui: fix plist export fileformat keyvalue pair.
authorsr55 <sr55.hb@outlook.com>
Sun, 5 Feb 2012 16:15:37 +0000 (16:15 +0000)
committersr55 <sr55.hb@outlook.com>
Sun, 5 Feb 2012 16:15:37 +0000 (16:15 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4439 b64f7644-9d1e-0410-96f1-a4d463321fa5

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

index f8e5d489e6079f96d211cd3d40a5aba1ef7c66a3..622aad4f49dbf5c56bba7b9e34da47efe8697a02 100644 (file)
@@ -481,7 +481,7 @@ namespace HandBrake.ApplicationServices.Utilities
 \r
             AddEncodeElement(xmlWriter, "ChapterMarkers", "integer", parsed.IncludeChapterMarkers ? "1" : "0");\r
             AddEncodeElement(xmlWriter, "Default", "integer", "0");\r
-            AddEncodeElement(xmlWriter, "FileFormat", "string", Converters.GetFileFormat(parsed.OutputFormat) + " file");\r
+            AddEncodeElement(xmlWriter, "FileFormat", "string", (parsed.OutputFormat == OutputFormat.Mp4 || parsed.OutputFormat == OutputFormat.M4V) ? "MP4 file" : "MKV file");\r
             AddBooleanElement(xmlWriter, "Folder", false);\r
             AddEncodeElement(xmlWriter, "Mp4HttpOptimize", "integer", parsed.OptimizeMP4 ? "1" : "0");\r
             AddEncodeElement(xmlWriter, "Mp4LargeFile", "integer", parsed.LargeFile ? "1" : "0");\r