diff mbox series

[FFmpeg-devel,08/12] tools/dvd2concat: specify stream_codec for subtitles

Message ID 20210831180739.873390-8-george@nsup.org
State Accepted
Commit 1a0aff8ca56d3695eedbc015f7f7dad991ef9bf5
Headers show
Series [FFmpeg-devel,01/12] lavf/concat: refactor parsing | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Nicolas George Aug. 31, 2021, 6:07 p.m. UTC
Avoid requiring a huge probe size and analyze duration.

Signed-off-by: Nicolas George <george@nsup.org>
---
 tools/dvd2concat | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/tools/dvd2concat b/tools/dvd2concat
index 474b474191..ea8b7ba8c9 100755
--- a/tools/dvd2concat
+++ b/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}}) {