[FFmpeg-cvslog] ffplay: fix frame aspect ratio after qatar merge

Marton Balint git at videolan.org
Thu Jun 7 22:00:39 CEST 2012


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Wed Jun  6 22:09:41 2012 +0200| [0a501c756f39d3b3c3242bd0b011b37cfd0eb11f] | committer: Marton Balint

ffplay: fix frame aspect ratio after qatar merge

Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0a501c756f39d3b3c3242bd0b011b37cfd0eb11f
---

 ffplay.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ffplay.c b/ffplay.c
index cbbbe7d..e109883 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(



More information about the ffmpeg-cvslog mailing list