summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--avplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/avplay.c b/avplay.c
index b70ee54c7b..2db892849b 100644
--- a/avplay.c
+++ b/avplay.c
@@ -1323,6 +1323,8 @@ static int queue_picture(VideoState *is, AVFrame *src_frame, double pts, int64_t
vp = &is->pictq[is->pictq_windex];
+ vp->sar = src_frame->sample_aspect_ratio;
+
/* alloc or resize hardware picture buffer */
if (!vp->bmp || vp->reallocate ||
#if CONFIG_AVFILTER