diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-08-21 17:09:17 +0400 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-08-21 17:27:09 +0400 |
commit | 6a5c693a18bf0345bf56ad367a56dd8155e5f195 (patch) | |
tree | 4f90d54b41a0ad6c8223d0b319720199881b38f8 | |
parent | ef25e70de3c5ac38101e4ebac33aefa063592434 (diff) |
lavdev/lavfi: set sample aspect ratio in the output stream/codec context
-rw-r--r-- | libavdevice/lavfi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c index 2249264742..7987430cee 100644 --- a/libavdevice/lavfi.c +++ b/libavdevice/lavfi.c @@ -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; } } |