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.
This commit is contained in:
Stefano Sabatini
2011-04-29 13:04:47 +02:00
parent 1ba5727242
commit 77e9dee8ae
10 changed files with 28 additions and 15 deletions

View File

@ -13,6 +13,9 @@ libavutil: 2011-04-18
API changes, most recent first:
2011-05-01 - xxxxxxx - lavc 53.3.0 - AVFrame
Add a sample_aspect_ratio field to AVFrame.
2011-05-01 - xxxxxxx - lavc 53.2.0 - AVFrame
Add a pkt_pos field to AVFrame.