Commit 6a5c693a authored by Stefano Sabatini's avatar Stefano Sabatini

lavdev/lavfi: set sample aspect ratio in the output stream/codec context

parent ef25e70d
......@@ -198,6 +198,8 @@ av_cold static int lavfi_read_header(AVFormatContext *avctx,
st->codec->time_base = link->time_base;
st->codec->width = link->w;
st->codec->height = link->h;
st ->sample_aspect_ratio =
st->codec->sample_aspect_ratio = link->sample_aspect_ratio;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment