lavc: add a sample_aspect_ratio field to AVFrame
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 29 Apr 2011 11:04:47 +0000 (13:04 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 25 Dec 2011 15:18:57 +0000 (16:18 +0100)
commitb58dbb5b031c33cdb88f13cc533f623e82cdbcbd
tree1bb0334e817102f10c84466ccdad4a931ccb0f05
parent671005558a295945f5d4cfd1abca6832af479c0b
lavc: add a sample_aspect_ratio field to AVFrame

The sample aspect ratio is a per-frame property, so it makes sense to
define it in AVFrame rather than in the codec/stream context.
Simplify application-level sample aspect ratio information extraction,
and allow further simplifications.
avplay.c
cmdutils.c
libavcodec/avcodec.h
libavcodec/pthread.c
libavcodec/utils.c
libavfilter/vsrc_movie.c