Makes the codec dvd_subtitle be recognized as an image subtitle
All checks were successful
KnarCraft/FFmpegConvert/pipeline/head This commit looks good

This commit is contained in:
Kristian Knarvik 2020-07-08 13:52:43 +02:00
parent 87d17825aa
commit 9f96c84b9e

View File

@ -73,7 +73,8 @@ public class SubtitleStream extends AbstractStream implements StreamObject {
* @return <p>True if the subtitle is image based.</p> * @return <p>True if the subtitle is image based.</p>
*/ */
private boolean isImageSubtitle() { private boolean isImageSubtitle() {
return codecName != null && getCodecName().equals("hdmv_pgs_subtitle"); return codecName != null && (getCodecName().equals("hdmv_pgs_subtitle")
|| getCodecName().equals("dvd_subtitle"));
} }
/** /**