Module: libav
Branch: master
Commit: d10102d23c9467d4eb84f58e0cd12be284b982f6

Author:    Anton Khirnov <[email protected]>
Committer: Anton Khirnov <[email protected]>
Date:      Sat Oct  1 11:47:23 2016 +0200

avconv: set the encoding framerate when the output is CFR

---

 avconv.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/avconv.c b/avconv.c
index 59eb300..87923b9 100644
--- a/avconv.c
+++ b/avconv.c
@@ -1978,6 +1978,8 @@ static int init_output_stream_encode(OutputStream *ost)
             ost->filter->filter->inputs[0]->sample_aspect_ratio;
         enc_ctx->pix_fmt = ost->filter->filter->inputs[0]->format;
 
+        enc_ctx->framerate = ost->frame_rate;
+
         ost->st->avg_frame_rate = ost->frame_rate;
 
         if (dec_ctx &&

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to