Commit 9959a767 authored by Stefano Sabatini's avatar Stefano Sabatini

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

Allow sample_aspect_ratio information to be correctly propagated in
the filterchain.
parent 45f9e053
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment