lavdev/lavfi: set sample aspect ratio in the output stream/codec context
This commit is contained in:
parent
ef25e70de3
commit
6a5c693a18
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user