[FFmpeg-devel] [PATCH 1/5] ffplay: fix frame aspect ratio after qatar merge

Marton Balint cus at passwd.hu
Thu Jun 7 00:02:31 CEST 2012


Signed-off-by: Marton Balint <cus at passwd.hu>
---
 ffplay.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ffplay.c b/ffplay.c
index 86444a8..b5270e0 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1696,6 +1696,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(
-- 
1.7.3.4



More information about the ffmpeg-devel mailing list