]> git.sesse.net Git - ffmpeg/blobdiff - ffmpeg.c
lavfi: deprecate AVFilterGraph->resample_lavr_opts
[ffmpeg] / ffmpeg.c
index 63fc1bc5f4c496eb865cad67343ab9935b271662..dbfb14bfca5a21589392db445721f4f42f0ec86e 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3314,6 +3314,8 @@ static int init_output_stream_encode(OutputStream *ost)
             enc_ctx->bits_per_raw_sample = FFMIN(dec_ctx->bits_per_raw_sample,
                                                  av_pix_fmt_desc_get(enc_ctx->pix_fmt)->comp[0].depth);
 
+        enc_ctx->framerate = ost->frame_rate;
+
         ost->st->avg_frame_rate = ost->frame_rate;
 
         if (!dec_ctx ||