]> git.sesse.net Git - mlt/commit
Cleanup and improve aspect ratio selection.
authorDan Dennedy <dan@dennedy.org>
Sun, 28 Apr 2013 04:52:43 +0000 (21:52 -0700)
committerDan Dennedy <dan@dennedy.org>
Sun, 28 Apr 2013 05:02:37 +0000 (22:02 -0700)
commit023ee3ba4f5bdedf44c51e1ca8023eb15b68c7f2
tree5783991b97870f133c4b91ee704b3d02edad83c2
parent59154c18ac2f788204dc2a88034b6e0e09bcb131
Cleanup and improve aspect ratio selection.

The overrides for DV are not necessary since we dropped support for
FFmpeg v0.5 and 0.6. FFmpeg uses our values since Sept. 2010.

Muxer's aspect ratio is generally preferred over the codec's if it is
sane. See FFmpeg doxygen comments for av_guess_sample_aspect_ratio().
src/modules/avformat/producer_avformat.c