OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b91d83
)
av_find_stream_info(): set subtitle codec time_base
author
Aurelien Jacobs
<aurel@gnuage.org>
Tue, 16 Nov 2010 23:50:18 +0000
(23:50 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Tue, 16 Nov 2010 23:50:18 +0000
(23:50 +0000)
Originally committed as revision 25758 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
8fcbe96
..
937a615
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-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)