diff options
author | Martin Storsjö <martin@martin.st> | 2014-07-06 23:18:27 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2014-07-08 21:14:43 +0300 |
commit | cf280ed004b5c618560f8f43d14ff264bd1e4c3d (patch) | |
tree | 7ec075d13938f36c2162ec5c4f13921e1ee8af08 | |
parent | 52a1c32c0a86e84d43f977c5148e62975a0c6917 (diff) | |
download | ffmpeg-cf280ed004b5c618560f8f43d14ff264bd1e4c3d.tar.gz |
avplay: Handle pixel aspect ratio properly
This was broken (left half-implemented) in 354468fc12.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | avplay.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |