diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2009-08-07 23:57:52 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2009-08-07 23:57:52 +0000 |
commit | 188842ef7a79fbfbc5d53561b8c828edf3ace8b0 (patch) | |
tree | 9c573b743c9b4b260ce48630dd8274dd5d79582b /libavformat | |
parent | 966116b9f73a27cf2cb5692cf1bc326bc0bf2ceb (diff) | |
download | ffmpeg-streaming-188842ef7a79fbfbc5d53561b8c828edf3ace8b0.zip ffmpeg-streaming-188842ef7a79fbfbc5d53561b8c828edf3ace8b0.tar.gz |
fix riff subtitle timebase
Originally committed as revision 19607 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/riff.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/riff.c b/libavformat/riff.c index d03015d..43121af 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -497,7 +497,8 @@ void ff_parse_specific_params(AVCodecContext *stream, int *au_rate, int *au_ssiz if(stream->frame_size && stream->sample_rate){ *au_scale=stream->frame_size; *au_rate= stream->sample_rate; - }else if(stream->codec_type == CODEC_TYPE_VIDEO){ + }else if(stream->codec_type == CODEC_TYPE_VIDEO || + stream->codec_type == CODEC_TYPE_SUBTITLE){ *au_scale= stream->time_base.num; *au_rate = stream->time_base.den; }else{ |