Browse Source

lavf/srtenc: set codec to subrip by default.

We don't have a text encoder yet, so this commit makes automatic
encoding working with srt output.
tags/n1.1
Clément Bœsch 13 years ago
parent
commit
2ecf9492ff
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/srtenc.c

+ 1
- 1
libavformat/srtenc.c View File

@@ -93,5 +93,5 @@ AVOutputFormat ff_srt_muxer = {
.write_header = srt_write_header,
.write_packet = srt_write_packet,
.flags = AVFMT_VARIABLE_FPS,
.subtitle_codec = AV_CODEC_ID_TEXT,
.subtitle_codec = AV_CODEC_ID_SUBRIP,
};

Loading…
Cancel
Save