Add a simple pre-processing to vobsub samples and disable styles creation for vobsub.
This commit is contained in:
1 parent
6b73413c7c
commit
2e559043eb
6 files changed
+194
-153
No files matched your search
@@ -872,7 +872,7 @@ int readMkvPacket(struct StdIoStream *ioStream, TrackInfo *trackInfo, uint64_t
|
||||
if ([sl->line isEqualToString:@"\n"])
|
||||
sample = copyEmptySubtitleSample(dstTrackId, sl->end_time - sl->begin_time, NO);
|
||||
else
|
||||
sample = copySubtitleSample(dstTrackId, sl->line, sl->end_time - sl->begin_time, NO, NO, CGSizeMake(0, 0), 0);
|
||||
sample = copySubtitleSample(dstTrackId, sl->line, sl->end_time - sl->begin_time, NO, NO, YES, CGSizeMake(0, 0), 0);
|
||||
|
||||
if (!sample)
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user