]> granicus.if.org Git - handbrake/commitdiff
WinGui: Fixed an issue with PGS subtitle detection.
authorsr55 <sr55.hb@outlook.com>
Sun, 13 Oct 2013 11:37:58 +0000 (11:37 +0000)
committersr55 <sr55.hb@outlook.com>
Sun, 13 Oct 2013 11:37:58 +0000 (11:37 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5835 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/CS/HandBrake.ApplicationServices/Services/LibScan.cs

index fb6963be83eff97a3111254db33ae1dd1008cfa5..7064cc6439cd179f548c9ec331b48d30cccf3e7a 100644 (file)
@@ -474,6 +474,9 @@ namespace HandBrake.ApplicationServices.Services
                         case Interop.SourceData.SubtitleSource.CC708:\r
                             convertedType = SubtitleType.CC;\r
                             break;\r
+                        case Interop.SourceData.SubtitleSource.PGS:\r
+                            convertedType = SubtitleType.PGS;\r
+                            break;\r
                     }\r
 \r
                     converted.Subtitles.Add(new Subtitle(track.TrackNumber, track.Language, track.LanguageCode, convertedType));\r