Adds ability to force-select specific audio and subtitle streams for the anime converter
All checks were successful
KnarCraft/FFmpegConvert/pipeline/head This commit looks good

This commit is contained in:
2022-10-09 23:53:39 +02:00
parent 388563574f
commit 1323513e46
23 changed files with 144 additions and 49 deletions

View File

@ -4,6 +4,7 @@ package net.knarcraft.ffmpegconverter.streams;
* An object representation of a subtitle stream in a media file
*/
public class SubtitleStream extends AbstractStream implements StreamObject {
final private String title;
final private String file;
final private boolean isFullSubtitle;
@ -92,4 +93,5 @@ public class SubtitleStream extends AbstractStream implements StreamObject {
!titleLowercase.matches(".*forced.*") &&
!titleLowercase.matches(".*s&s.*");
}
}