diff options
-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; } } |