提交 6a5c693a 编写于 作者: S Stefano Sabatini

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

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册