mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-12 02:04:58 +00:00
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.
This commit is contained in:
parent
fd090a5d09
commit
2ecf9492ff
@ -93,5 +93,5 @@ AVOutputFormat ff_srt_muxer = {
|
|||||||
.write_header = srt_write_header,
|
.write_header = srt_write_header,
|
||||||
.write_packet = srt_write_packet,
|
.write_packet = srt_write_packet,
|
||||||
.flags = AVFMT_VARIABLE_FPS,
|
.flags = AVFMT_VARIABLE_FPS,
|
||||||
.subtitle_codec = AV_CODEC_ID_TEXT,
|
.subtitle_codec = AV_CODEC_ID_SUBRIP,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user