Commit 2b6ada08 authored by aurel's avatar aurel

fix riff subtitle timebase

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19607 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2c4bcb7d
......@@ -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{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment