[MPlayer-dev-eng] [PATCH] avoid useless full xvmc reinit with -fixed-vo if possible
ikalvachev at gmail.com
Sat Feb 17 22:36:55 CET 2007
2007/2/14, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> if the source format remains unchanged there is no need to reinit the
> hardware, buffers etc. which with xvmc in addition causes several blue
> I added a voflag to indicate this condition because I think other vos
> can make use of it as well.
> Unfortunately config() can not be completely skipped because the
> geometry stuff is config() - which btw. I'd like to change as there is a
> massive code duplication with nearly every vo using the same code.
I like the idea, however I wonder do we really need 3 new global
variables to do that?
afaik by design config() could be called multiple times without
calling uninit(), so this functionality could be entirely internal for
the vo. Of course this is used only with -fixed-vo, that btw should
already be enabled by default... ;)
More information about the MPlayer-dev-eng