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

This commit is contained in:
Stefano Sabatini 2011-08-21 15:09:17 +02:00
parent ef25e70de3
commit 6a5c693a18

View File

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