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

Michael Niedermayer michael at niedermayer.cc
Tue Sep 13 19:43:17 EEST 2016


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160913/a5ea69ba/attachment.sig>


More information about the ffmpeg-devel mailing list