[MPlayer-dev-eng] [RFC] Some modest proposals
Diego Biurrun
diego at biurrun.de
Fri Jun 11 18:53:02 CEST 2010
On Fri, Jun 11, 2010 at 02:13:19PM +0200, Luca Barbato wrote:
> On the wave of some patches (some supported by me) that aim to
> cleanup/thin up the code, I guess it's better to clarify what I'd like
> to do.
>
> I noticed that contributing to mplayer is _definitely_ less fun than
> contributing to ffmpeg, being the people pretty much the same.
>
> I think the main reasons are that the code is ugly in most parts and
> quite irregular and the many parts aren't commented nor documented.
>
> Since cleaning up and documenting can be a daunting task I considered
> sane trying to first remove cruft or duplicated features.
>
> Obviously trying during the linuxtag to do that starting to libmpeg2
> didn't lead to a completely good result, at least nowadays.
>
> Anyway this is my wouldbe checklist for mplayer:
>
> - document what's not cruft but just an obscure feature. (e.g. libmpeg2
> quantizers exposed to fine tune post processing)
>
> - remove the cruft (including the private forks of libraries we
> currently have)
>
> - reformat every line of code to match ffmpeg coding style.
>
> - switch to git in a way or another and put official mirrors on github
> and gitorious (so we might get more people involved)
>
>
> I know already that some would not agree about the last two points and
> that the first two are a bit daunting as tasks, yet I hope we could get
> some agreement about that.
We already talked about this here at LinuxTag, but I completely agree.
And regarding
> - reformat every line of code to match ffmpeg coding style.
let's just run the whole code through uncrustify and be done with it.
Without the flames and bikeshedding please...
Diego
More information about the MPlayer-dev-eng
mailing list