Browse Source

avconv: set output avg_frame_rate when known

tags/n2.3
Anton Khirnov 11 years ago
parent
commit
93afb6c98d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      avconv.c

+ 2
- 0
avconv.c View File

@@ -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 ||


Loading…
Cancel
Save