tools/dvd2concat: specify stream_codec for subtitles

Avoid requiring a huge probe size and analyze duration.
pull/367/head
Nicolas George 4 years ago
parent 0a267bc5e2
commit 1a0aff8ca5
  1. 1
      tools/dvd2concat

@ -92,6 +92,7 @@ for my $audio (@{$track->{audio}}) {
}
for my $subp (@{$track->{subp}}) {
$concat .= "\nstream\nexact_stream_id " . $subp->{streamid} . "\n";
$concat .= "stream_codec dvd_subtitle\n";
$concat .= "stream_meta language " . $subp->{langcode} . "\n" if $subp->{langcode};
}
for my $cell (@{$track->{cell}}) {

Loading…
Cancel
Save