[FFmpeg-devel] [PATCH/RFC] honor DAR aspect ratio in nuv files.

elupus elupus
Sun Jun 8 22:31:33 CEST 2008


> if(aspect > 0.9999 && aspect < 1.0001)
>     aspect= 4.0/3.0;
> vst->codec->sample_aspect_ratio = av_d2q(aspect*width/height);
> 

Sigh.. Why didn't I think of that. You got it backwords thou :).

Joakim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-The-aspect-stored-in-nuv-files-is-not-PAR-it-s-DAR.patch
Type: text/x-patch
Size: 1392 bytes
Desc: Attached file: 0001-The-aspect-stored-in-nuv-files-is-not-PAR-it-s-DAR.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080608/9b70af5c/attachment.bin>



More information about the ffmpeg-devel mailing list