CoreAVC provides fastest decoding in the world on cpu and some users with cards like intel x3100 might want to watch 1080p without desynchronization and frame drops. Reproducible: Always Steps to Reproduce: 1. mkdir -p /usr/local/portage/media-video/mplayer 2. Copy original mplayer-1.0_rc4_p20090919-r2.ebuild and files/ here. 3. put dshowserver.patch to files/
Created attachment 208233 [details, diff] patch for original ebuild
Created attachment 208235 [details, diff] slightly modified patch from coreavc-for-linux
Created attachment 208236 [details] registercodec 32bit executable Unfornately i am not able to find sources for that binary that can be compiled without errors
Created attachment 208237 [details] dshowserver binary binary originally from dshowserver-ia32-r46.tar.bz2
Created attachment 208238 [details] I have upload previous version as plaintext
For just CoreAVC for 32 bit MPlayer there are simpler patches available, however the issue most of them have is that they break at least the RealVideo dlls, possible several more of the codecs. This one does not have that issue (since it only adds something), but possibly breaking decoding of several formats that do not have any other way for playing them back "just" for faster H.264 is not an acceptable deal IMO. However the code is in sofar a bit questionable as it just assumes that pthread, fork etc. are available, seems to use dup2 and /bin/sh for no good reason and also uses up more CPU than necessary due to (IMHO) needlessly coping the decoded data.
not sure about the status here, but improving mplayer should be done upstream not in gentoo: please send the patches there