2006/5/12, Diego Biurrun <diego@biurrun.de>:
On Fri, May 12, 2006 at 11:41:37AM +0300, Ivan Kalvachev wrote:
2006/5/12, Derek E. Lewis <dlewis@solnetworks.net>:
mediaLib has been broken for quite awhile now on Solaris/SPARC in lavc, and will definitely not be fixed before pre8 is released. Whenever a user encodes using lavc they get a 'thick' green-tint in the output file. A similar event takes place when decoding.
mediaLib provides no performance gains for x86 -- in reality, it does the opposite. After doing some quick decoding benchmarks[1] between MPlayer binaries /w mediaLib and w/o mediaLib, I calculated that MPlayer is 2.3x faster on Solaris/x86 if one disables mediaLib, which is not the default, now.
I've also made mediaLib a Solaris-only test, and updated the ChangeLog to reflect this patch.
It is ok to disable mlib by default if it is and always have been buggy.
However, once option is disabled by default we must assume the user knows that he is doing by explicitly enabling it again. Your way of forcefully disabling mlib on non-Solaris is not acceptable in such situation.
mediaLib (not to be confused with mlib) is Solaris-only to the best of my knowledge and a few minutes of googling support what I thought was correct in the first place.
Your commit to reenable mediaLib on non-Solaris is wrong, please revert it.
I've used and tested the solaris x86 mediaLib on slackware with additional solaris libc package, so it is not impossible. As Derek says, it is not optimized and slower. I'm not going to revert it, because i just restored the old behaviour. And in case you are ready to show muscles, this wasn't the right way to disable it.