[FFmpeg-cvslog] r19607 - trunk/libavformat/riff.c
aurel
subversion
Sat Aug 8 01:57:52 CEST 2009
Author: aurel
Date: Sat Aug 8 01:57:52 2009
New Revision: 19607
Log:
fix riff subtitle timebase
Modified:
trunk/libavformat/riff.c
Modified: trunk/libavformat/riff.c
==============================================================================
--- trunk/libavformat/riff.c Fri Aug 7 16:53:31 2009 (r19606)
+++ trunk/libavformat/riff.c Sat Aug 8 01:57:52 2009 (r19607)
@@ -497,7 +497,8 @@ void ff_parse_specific_params(AVCodecCon
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{
More information about the ffmpeg-cvslog
mailing list