summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2012-06-06 22:09:41 +0200
committerMarton Balint <cus@passwd.hu>2012-06-07 01:22:00 +0200
commit0a501c756f39d3b3c3242bd0b011b37cfd0eb11f (patch)
tree08b1d5dca0cc44e5ea6e771a5ddbe435bcb1c8f7 /ffplay.c
parentc9651d4bee36c8d28729622bcf57df8a9e1aa70c (diff)
ffplay: fix frame aspect ratio after qatar merge
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index cbbbe7dc00..e10988333d 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1699,6 +1699,7 @@ static int video_thread(void *arg)
}
frame->pts = pts_int;
+ frame->sample_aspect_ratio = av_guess_sample_aspect_ratio(is->ic, is->video_st, frame);
if (is->use_dr1) {
FrameBuffer *buf = frame->opaque;
AVFilterBufferRef *fb = avfilter_get_video_buffer_ref_from_arrays(