MPlayer vo_nokia770 wid support

Last weeks I played a lot with MPlayer for maemo. First I did that Xv + “-wid” patch in order to ignore those “Bad Values”  when going back from fullscreen on windowed mode. Now it was time of making vo_nokia770 works with “-wid”.

The first point was that vo_nokia770 was pretty much faster than vo_xv due to some optimizations that Siarhei did (this optimizations will hopefully be on the next platform release). The second point was that for n770′ s users it’ s the best driver so far (as they will not have an official release of a fixed X server).

Asking a lot of questions for Siarhei and  taking a deep look on vo_nokia770′ s code, I was able to understand it’ s idea: create an X window to handle events and just put the video directly onto the framebuffer using the optimized code. Sound’ s easy ? Hehe, well I got some problems but after coding it, it doesn’ t look that hard…just needed a little bit of experience on X programming to understand what was happening.

It still needs some improvement but it’ s working and just waiting Siarhei’ s approval =)

Leave a Reply

Your email address will not be published. Required fields are marked *