1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

vf_frei0r: set outlinks sample aspect ratio to 1

This commit is contained in:
Baptiste Coudurier 2012-03-10 03:02:05 +01:00 committed by Michael Niedermayer
parent 8fbf825ecc
commit 1b99971dc7

View File

@ -418,6 +418,7 @@ static int source_config_props(AVFilterLink *outlink)
outlink->w = frei0r->w;
outlink->h = frei0r->h;
outlink->time_base = frei0r->time_base;
outlink->sample_aspect_ratio = (AVRational){1,1};
if (!(frei0r->instance = frei0r->construct(outlink->w, outlink->h))) {
av_log(ctx, AV_LOG_ERROR, "Impossible to load frei0r instance");