On Wed, May 30, 2001 at 09:48:42AM -0400, Jarrod Benjami Johnson wrote:
> 
> I'm in the process of finally updating my CVS to use avifile 0.6 from 0.53.5
> and ran across a few things I have questions about.
> 
> For one, when using IAviPlayer2 and I toggle the fullscreen on with maximize
> true, it still does a VidMode change, but them changes to the original
> vidmode.  If the display is already at the desired resolution, why the vidmode 
> change that really does nothing?  This is annoying, but it does work...

As so far I don't know about clean solution for this problem.
SDL refuses to send us pushed event though SDL filter event.

If you know better way let me know I'll happilly apply such patch.

For now it just works somehow when you select maximize with mouse and
you move with mouse a little bit after this.
I wanted to have maximize and fullscreen in one step - but for
now this seems to work only on SMP machines reliable.


> For Another, the aviplay headers indicate that you can still use IAviPlayer
> if you do not want the library to manage the drawing, but I can no longer find 
> the methods to set a callback like it was done previously.  Am I missing
> something or is there a different way we are expected to get the video
> data now?

Yep - actually this is not yet finished transition.
There will be introduced two new calls probably with these names - 
AddVideoRenderer     (or maybe Register/Unregister)
DeleteVideoRenderer

These should be modifiable at runtime so this needs some thinging
(e.g. when there is no video-renderer we should not decompress images and
so on)

same will be done with AudioRenderer later 
(now its just being decomposed and restructured so we could use
it for resampling and possible for speeding/slowing down the sound
speed - for movies which have slower audio track then video track
(once I've created such file by myself)

> I am using the IAviPlayer2 class for now, but I would like to use IAviPlayer
> to have more control over the drawing process..

Actually drawing should be pretty good know don't you think  :)
and will be even better.
(try -direct option with benchmark tool for now)

Anyway these modification will be made during next two weeks probably
(as I need them for something else anyway)

And they will also touch VideoRedererer class a bit for better
support of direct rendering.


-- 
         Debian GNU/Linux maintainer - www.debian.{org,cz}
 Zdenek Kabelac  http://i.am/kabi/ kabi@{i.am, debian.org, fi.muni.cz}
          Resistance is futile. You all will be packaged

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to