First problem I encounter while trying to use a AviPlayer2 Object in another
program.  If I supply null widget or a simple "fake" widget, the player
locks up when I try to fullscreen.  In the case of maximized, it locks up
while doing:
        screen = SDL_SetVideoMode(dim_w, dim_h, bit_depth, fs);
in renderer.cpp in doResize function of YUVRenderer.
Fullscreen without scaling produces similar effect. 

The way I had to work around this is to have every call to ToggleFullscreen
issued from another thread.  If not in a spearate thread, it always locks up,
but doesn't have problems inside the same thread.  I don't know if this is
avifile's problem or SDL 1.2.0's problem, if anyone knows more, I'd be 
interested to hear more.

Secondly, I have a request.  The current behavior is to base the actual resize
entirely on horizontal movement.  Whaty I would think to be the better approach
is to calculate both vertical and horzontal ratios and use the ratio that
reflects the most change, for making bigger, larger ratio, when ratio is < 1,
closest to zero.  In the case that one ratio is bigger than one and the other
not, I would guess that larger should be used.  This way, ratio is preserved andit 
seems more intuitive to me. 

Another suggestion is an option to disable preserving
aspect ratio for resize.  It's nice and all, but two problems I see:

1) When user has opaque window resize enabled, the playback window can go
berserk trying to match the user requested size vs. the size demanded by proper
ratio.
2)Some people like distorting their movies :)  Or fixing them, as case may be.
Aspect ratio can be screwy sometimes if you try to preserve
it anyway, for example user may be at 1280x1024, which is not 4:3, not too
much a difference, but maybe they are really crazy and running 1920x1200 on a
4:3 aspect ratio monitor, then things look really bad when trying to maintain
ratio :)

And one last very small request, a method on AviPlayer2 to change the title 
to whatever we want :).

All the requested changes seem pretty straighforward, and possible to do
without changes to exisiting methods, but the only feature I think really
nice is the simple wrapper to the title name.


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

Reply via email to