[SCM] libav/experimental: avconv: set output avg_frame_rate when known
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Aug 10 16:03:11 UTC 2014
The following commit has been merged in the experimental branch:
commit 93afb6c98df876b15e3d911a9450ad55f92080ce
Author: Anton Khirnov <anton at khirnov.net>
Date: Sun May 11 18:00:48 2014 +0200
avconv: set output avg_frame_rate when known
diff --git a/avconv.c b/avconv.c
index 84860f6..608203c 100644
--- a/avconv.c
+++ b/avconv.c
@@ -1850,6 +1850,8 @@ static int transcode_init(void)
ost->filter->filter->inputs[0]->sample_aspect_ratio;
enc_ctx->pix_fmt = ost->filter->filter->inputs[0]->format;
+ ost->st->avg_frame_rate = ost->frame_rate;
+
if (dec_ctx &&
(enc_ctx->width != dec_ctx->width ||
enc_ctx->height != dec_ctx->height ||
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list