git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52a1c32
)
avplay: Handle pixel aspect ratio properly
author
Martin Storsjö
<martin@martin.st>
Sun, 6 Jul 2014 20:18:27 +0000
(23:18 +0300)
committer
Martin Storsjö
<martin@martin.st>
Tue, 8 Jul 2014 18:14:43 +0000
(21:14 +0300)
This was broken (left half-implemented) in
354468fc12
.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
avplay.c
patch
|
blob
|
history
diff --git
a/avplay.c
b/avplay.c
index
b70ee54
..
2db8928
100644
(file)
--- 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