[FFmpeg-devel] [PATCH 2/2] lavf/utils: sync MOV-like formats with the muxers found in lavf/movenc

Clément Bœsch u at pkh.me
Wed Sep 14 11:05:14 EEST 2016


On Tue, Sep 13, 2016 at 06:43:17PM +0200, Michael Niedermayer wrote:
> On Tue, Sep 13, 2016 at 10:51:26AM +0200, Clément Bœsch wrote:
> > From: Clément Bœsch <clement at stupeflix.com>
> > 
> > ---
> >  libavformat/utils.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/libavformat/utils.c b/libavformat/utils.c
> > index acb781e..35f13c1 100644
> > --- a/libavformat/utils.c
> > +++ b/libavformat/utils.c
> > @@ -5315,7 +5315,7 @@ int avformat_transfer_internal_stream_timing_info(const AVOutputFormat *ofmt,
> >              enc_ctx->ticks_per_frame = 2;
> >          }
> >      } else if (!(ofmt->flags & AVFMT_VARIABLE_FPS)
> > -               && !av_match_name(ofmt->name, "mov,mp4,3g2,psp,ipod,f4v")) {
> > +               && !av_match_name(ofmt->name, "mov,3gp,mp4,psp,3g2,ipod,ismv,f4v")) {
> >          if (copy_tb == AVFMT_TBCF_AUTO && dec_ctx->time_base.den
> >              && av_q2d(dec_ctx->time_base)*dec_ctx->ticks_per_frame > av_q2d(ist->time_base)
> >              && av_q2d(ist->time_base) < 1.0/500
> 
> LGTM
> 
> thx
> 

applied

-- 
Clément B.


More information about the ffmpeg-devel mailing list