<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
> Vladimir Menshakov <whoozle@yandex.ru> wrote:<br>> <br>> > VideoPlayer renders video in the center of the screen which makes<br>> > post-processing more complicated as it should be :) I see two<br>> > possible solutions: 1) Remove postProcess(byte *) and replace it with<br>> > virtual method "render" or something. VideoPlayer's default<br>> > implementation will do copyFrameToBuffer(centerx, centery). 2) Allow<br>> > manual _frameX/Y modification via other method/extended arguments.<br>> Sounds like a sound idea to me.<br><br><br>The second solution sounds better, imho. E.g. there could be a new method,<br>"setFrameLocation(x, y)" which would change the default placement.<br><br>The VideoPlayer class was created to simplify video playing. Videos SHOULD<br>be centered by default, as in most cases, games just play a video centered<br>at full screen. Different placements are certainly possible if you roll out your<br>own video implementation, so if you need more functionality than the one <br>provided by the default video player, it would be better to create your own<br>implementation to suit your needs, unless it's a change which doesn't<br>complicate the default video player a lot - it's there to simplify things, after<br>all :)<br><br>Do tell, why do you need to play a full screen video at a different screen<br>position? (out of curiosity)<br><br>Regards<br>Filippos<br> <br /><hr />Hotmail: Powerful Free email with security by Microsoft. <a href='http://clk.atdmt.com/GBL/go/196390710/direct/01/' target='_new'>Get it now.</a></body>
</html>