ffplay: fix frame aspect ratio after qatar merge
authorMarton Balint <cus@passwd.hu>
Wed, 6 Jun 2012 20:09:41 +0000 (22:09 +0200)
committerMarton Balint <cus@passwd.hu>
Wed, 6 Jun 2012 23:22:00 +0000 (01:22 +0200)
Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay.c

index cbbbe7d..e109883 100644 (file)
--- 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(