summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-03-30 14:22:40 +0200
committerDamiano Galassi <[email protected]>2020-03-30 14:22:40 +0200
commit4d30716c214cb6d90c6b8e36c503aeb868c7f7b8 (patch)
treeaed0225ec2185b43d88199eb27d2aa47a4a8ecbc
parente403b7427f3708ee5d2fba758501da7299826a94 (diff)
MacGui: update subtitles tracks serialization check after the libhb enum change.
-rw-r--r--macosx/HBSubtitlesTrack.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBSubtitlesTrack.m b/macosx/HBSubtitlesTrack.m
index 9e95bc544..e35539942 100644
--- a/macosx/HBSubtitlesTrack.m
+++ b/macosx/HBSubtitlesTrack.m
@@ -372,7 +372,7 @@ static NSArray *_languagesArray = nil;
self = [super init];
decodeInteger(_sourceTrackIdx); if (_sourceTrackIdx < 0) { goto fail; }
- decodeInt(_type); if (_type < VOBSUB || _type > IMPORTSSA) { goto fail; }
+ decodeInt(_type); if (_type < VOBSUB || _type > DVBSUB) { goto fail; }
decodeInt(_container); if (_container != HB_MUX_MP4 && _container != HB_MUX_MKV && _container != HB_MUX_WEBM) { goto fail; }
decodeBool(_forcedOnly);