mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
avconv: set encoder timebase for subtitles.
The actual number (1/1000) will probably require some discussion/tweaking in the future, but should be good enough for now, since the timestamps in AVSubtitle are in this timebase by definition.
This commit is contained in:
parent
4be1d7dc20
commit
c9af832623
1
avconv.c
1
avconv.c
@ -2434,6 +2434,7 @@ static int transcode_init(OutputFile *output_files,
|
||||
#endif
|
||||
break;
|
||||
case AVMEDIA_TYPE_SUBTITLE:
|
||||
codec->time_base = (AVRational){1, 1000};
|
||||
break;
|
||||
default:
|
||||
abort();
|
||||
|
Loading…
x
Reference in New Issue
Block a user