On Mon, 2004-10-11 at 13:06 +0300, Vitaly V. Bursov wrote:
> Dennis,
>
> suppose we have Libvisual running, actor playing etc. Everything's
> just fine.
>
> Next moment we get a "resize" event.
visual_video_set_dimension (video, width, height);
(Make sure the new pitch,buffer pointer etc is set as well).
visual_bin_sync (bin, FALSE);
However the bin might throw some libvisual exception
messages, but catches all fatals... The VisBin will be rewritten
and fixed. However this should do it, try it, put it in CVS
and if there is a problem I'll check it...
Thanks,
Dennis
> The question is: how to notify everything to resize? what functions
> should be called? what order?
>
> I can't get it... :( Libvisual examples can not make it clear...
>
> I'm running into memory size allocations errors, usage
> of freed buffers or something and whole memory is just
> thrashed. System almost definitely will freeze if used
> with nvidias' gl.
>
>
> ps. had fixed a typo in oinksie. ;)
Saw so, thanks a lot :)
|