diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-01-30 13:22:04 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-01-30 13:22:04 +0000 |
commit | c8134d7104a7170c95a7cd19faacdec756437694 (patch) | |
tree | f4bd4733efd107f835e707ea2688bce986f86edf | |
parent | 7ead693b79cd5e3baa88f863e4324588e8bdc243 (diff) | |
download | ffmpeg-c8134d7104a7170c95a7cd19faacdec756437694.tar.gz |
warning is only valid for mov
Originally committed as revision 11667 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/movenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index ec700c124c..b94b674034 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1464,7 +1464,7 @@ static int mov_write_header(AVFormatContext *s) if(st->codec->codec_type == CODEC_TYPE_VIDEO){ track->timescale = st->codec->time_base.den; av_set_pts_info(st, 64, 1, st->codec->time_base.den); - if (track->timescale > 100000) + if (track->mode == MODE_MOV && track->timescale > 100000) av_log(NULL, AV_LOG_WARNING, "WARNING codec timebase is very high. If duration is too long,\n" "file may not be playable by quicktime. Specify a shorter timebase\n" |