diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-02-05 14:28:19 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-02-07 20:07:14 +0100 |
commit | c9af8326238c37d1a1f0029a158c7ede33836aa3 (patch) | |
tree | e7ab8c9a6768392011a05e1723d10128e751e9d3 | |
parent | 4be1d7dc20e3f191917adab2bf7cd405f1d25b54 (diff) | |
download | ffmpeg-c9af8326238c37d1a1f0029a158c7ede33836aa3.tar.gz |
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.
-rw-r--r-- | avconv.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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(); |