[MPlayer-dev-eng] mplayer.c cleanup

Herman Tamas hermantom at dunasoft.com
Wed Nov 13 14:59:59 CET 2002


hi

i tried 2 experiment w welding a development console into
mplayer, but failed temporairly coz mplayer.c is way 2 much
bloated. it needs some factorization, ithink.
any1 interested in helping me 2 clean it up?
ihope, main()s gonna look sg like:
: main   init begin play more-file? until done ;
: play   read-chunk decode show-frame play-audio show-osd
         dynamic-quality wait-next-frame ;
and so on... (does the "syntax" ring a bell 4 any1? ;)


ps:
4 the C-only ppl:
void play(void) {
  read-chunk(); decode(); show-frame(); play-audio(); show-osd();
  dynamic-quality(); wait-next-frame();
}

;)



More information about the MPlayer-dev-eng mailing list