Mercurial > libavformat.hg
changeset 2986:ecce6daf477c libavformat
warning is only valid for mov
author | bcoudurier |
---|---|
date | Wed, 30 Jan 2008 13:22:04 +0000 |
parents | b346700f30d9 |
children | 721d236e04d6 |
files | movenc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/movenc.c Tue Jan 29 22:37:07 2008 +0000 +++ b/movenc.c Wed Jan 30 13:22:04 2008 +0000 @@ -1464,7 +1464,7 @@ 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"