ffplay: set input link sample aspect ratio in input_config_props()

Allow sample_aspect_ratio information to be correctly propagated in
the filterchain.
This commit is contained in:
Stefano Sabatini 2011-07-30 18:15:08 +02:00
parent 45f9e053d8
commit 9959a76782

View File

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