mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 18:09:36 +00:00
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:
parent
45f9e053d8
commit
9959a76782
1
ffplay.c
1
ffplay.c
@ -1652,6 +1652,7 @@ static int input_config_props(AVFilterLink *link)
|
|||||||
|
|
||||||
link->w = c->width;
|
link->w = c->width;
|
||||||
link->h = c->height;
|
link->h = c->height;
|
||||||
|
link->sample_aspect_ratio = priv->is->video_st->sample_aspect_ratio;
|
||||||
link->time_base = priv->is->video_st->time_base;
|
link->time_base = priv->is->video_st->time_base;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user