mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
av_find_stream_info(): set subtitle codec time_base
Originally committed as revision 25758 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2b91d83ef3
commit
b3c0fc7673
@ -2183,7 +2183,8 @@ int av_find_stream_info(AVFormatContext *ic)
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user