summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-10-13 11:37:58 +0000
committersr55 <[email protected]>2013-10-13 11:37:58 +0000
commit2936b7b1d62261a03f39368e78eeee1576d41c2c (patch)
treea0648fe81c4f53f5899ab9b68f691d0efd6de347 /win
parentb450b844c8cf8399c129fadb08f9eaa05acedcb1 (diff)
WinGui: Fixed an issue with PGS subtitle detection.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5835 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/LibScan.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/LibScan.cs b/win/CS/HandBrake.ApplicationServices/Services/LibScan.cs
index fb6963be8..7064cc643 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/LibScan.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/LibScan.cs
@@ -474,6 +474,9 @@ namespace HandBrake.ApplicationServices.Services
case Interop.SourceData.SubtitleSource.CC708:
convertedType = SubtitleType.CC;
break;
+ case Interop.SourceData.SubtitleSource.PGS:
+ convertedType = SubtitleType.PGS;
+ break;
}
converted.Subtitles.Add(new Subtitle(track.TrackNumber, track.Language, track.LanguageCode, convertedType));