[FFmpeg-cvslog] ffplay: set input link sample aspect ratio in input_config_props()
Stefano Sabatini
git at videolan.org
Sat Jul 30 19:00:45 CEST 2011
ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Sat Jul 30 18:15:08 2011 +0200| [9959a76782861a438f5a007086509bbc507022d8] | committer: 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.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9959a76782861a438f5a007086509bbc507022d8
---
ffplay.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ffplay.c b/ffplay.c
index 6bdf4b6..eb9d81b 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;
More information about the ffmpeg-cvslog
mailing list