[FFmpeg-cvslog] r14933 - in trunk/libavformat: asf.c avidec.c avienc.c c93.c dv.c libnut.c matroskadec.c matroskaenc.c mov.c movenc.c mxfenc.c nutdec.c nutenc.c nuv.c oggparsetheora.c yuv4mpeg.c

Aurelien Jacobs aurel
Sun Aug 24 13:27:42 CEST 2008


Reimar D?ffinger wrote:

> On Sun, Aug 24, 2008 at 01:43:20AM +0200, aurel wrote:
> > Author: aurel
> > Date: Sun Aug 24 01:43:20 2008
> > New Revision: 14933
> > 
> > Log:
> > convert every muxer/demuxer to write/read sample_aspect_ratio from/to
> > the corresponding AVStream instead of AVCodecContext
> 
> not setting the codec sample context anymore IMO is a API
> change...

I tend to disagree.
Previously, there was simply no API to get SAR from the muxer.
Software which relied on AVCodecContext.sample_aspect_ratio to get the
muxer SAR were just broken. This field was generally overwritten by
the codec itself, even before the software had a chance to look at
it's value.

Aurel




More information about the ffmpeg-cvslog mailing list