True, it can be handle on java side if libvlc can provide the original video size.<br><br>I already wrote a piece of code for my own player which compute the correct surface size, based on video size and screen size/orientation. it works like a charm.<br>
<br><div class="gmail_quote">On Thu, May 19, 2011 at 11:20 AM, Ludovic Fauvet <span dir="ltr"><<a href="mailto:etix@l0cal.com">etix@l0cal.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, May 19, 2011 at 11:09 AM, XilasZ <<a href="mailto:xilasz@gmail.com">xilasz@gmail.com</a>> wrote:<br>
> There's a sample on android source code which does just that :<br>
> <a href="http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=services/surfaceflinger/tests/resize/resize.cpp" target="_blank">http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=services/surfaceflinger/tests/resize/resize.cpp</a><br>

<br>
</div>Interesting, but you will probably lose the aspect ratio then.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Ludovic Fauvet (etix)<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br>