[FFmpeg-cvslog] r25758 - trunk/libavformat/utils.c
aurel
subversion
Wed Nov 17 00:50:18 CET 2010
Author: aurel
Date: Wed Nov 17 00:50:18 2010
New Revision: 25758
Log:
av_find_stream_info(): set subtitle codec time_base
Modified:
trunk/libavformat/utils.c
Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c Tue Nov 16 06:55:09 2010 (r25757)
+++ trunk/libavformat/utils.c Wed Nov 17 00:50:18 2010 (r25758)
@@ -2183,7 +2183,8 @@ int av_find_stream_info(AVFormatContext
st->codec->frame_size = 0;
st->codec->channels = 0;
}
- if(st->codec->codec_type == AVMEDIA_TYPE_VIDEO){
+ if (st->codec->codec_type == AVMEDIA_TYPE_VIDEO ||
+ st->codec->codec_type == AVMEDIA_TYPE_SUBTITLE) {
/* if(!st->time_base.num)
st->time_base= */
if(!st->codec->time_base.num)
More information about the ffmpeg-cvslog
mailing list