From 0a501c756f39d3b3c3242bd0b011b37cfd0eb11f Mon Sep 17 00:00:00 2001 From: Marton Balint Date: Wed, 6 Jun 2012 22:09:41 +0200 Subject: [PATCH] ffplay: fix frame aspect ratio after qatar merge Signed-off-by: Marton Balint --- ffplay.c | 1 + 1 file changed, 1 insertion(+) 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(