From 9959a76782861a438f5a007086509bbc507022d8 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 30 Jul 2011 18:15:08 +0200 Subject: [PATCH] ffplay: set input link sample aspect ratio in input_config_props() Allow sample_aspect_ratio information to be correctly propagated in the filterchain. --- ffplay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffplay.c b/ffplay.c index 6bdf4b6a4d..eb9d81bd15 100644 --- a/ffplay.c +++ b/ffplay.c @@ -1652,6 +1652,7 @@ static int input_config_props(AVFilterLink *link) link->w = c->width; link->h = c->height; + link->sample_aspect_ratio = priv->is->video_st->sample_aspect_ratio; link->time_base = priv->is->video_st->time_base; return 0;