]> git.sesse.net Git - mlt/commit
Prefer opening codec by name instead of by ID.
authorDan Dennedy <dan@dennedy.org>
Sat, 12 Mar 2011 08:50:27 +0000 (00:50 -0800)
committerDan Dennedy <dan@dennedy.org>
Sat, 12 Mar 2011 08:50:27 +0000 (00:50 -0800)
commit83328f94aa7a16cc2cb403a0ce5d108a2ac3e1a3
tree419d29e8ab88f8096ed83dc4579e6d71ab81af59
parent60750b1b996d7c808e4b3b58b83816fa693dd5ee
Prefer opening codec by name instead of by ID.

This fixes a bug with actually using libxvid instead of mpeg4 because
both share the same CODEC_ID_MPEG4. This is similar to the recent
problem with ac3 selection in new versions of ffmpeg that have 2 ac3
encoders.
src/modules/avformat/consumer_avformat.c