[Softdevice-devel] xv output and fullscreen issue: almost SOLVED.

Stefan Lucke stefan at lucke.in-berlin.de
Tue Jun 28 20:14:57 CEST 2005


On Donnerstag, 23. Juni 2005 09:56, Stefan Lucke wrote:
> Quoting "A.O." <ospite at studenti.unina.it>:
> 
> > Hi,
> >
> > it seems i was able to solve the problem i had when going in and
> > out of fullscreen mode very fast. The effect was that from time to time
> > vdr stopped because of a buffering problem.
> >
> > I commented the call that sets the window Focus explicitly in
> > xv-video.c, now the focus handling is demanded to the windows manager (i
> > use blackbox, and my videocard is a savage IX/MX ARGH!). But.. there is
> > always a "but", playing insanely with the f-key now brings to another
> > issue: sometimes when coming back to windowed mode the window size is
> > not restored properly, the window seems to have the correct position but
> > it has the "fullscreen" size. Maybe a locking problem? Should
> > softdevice allow a fullscreen request when serving a fullscreen request?
> 
> Noticed that too when holding 'f' key, so that toggling is done at keyrepeat rate.
> Perhaps we have to ignore (count) toggle request until we get the corresponding
> ConfigureNotify event. I guess that counting toggle requests should solve
> your initial problem too.
> 

A fix for loosing window dimension is in cvs now. By this sometimes
a toggle is ignored (while already in progress). In addition to this
we may define a "min toggle repeat intervall" to reduce amount
of toggle requests if you still get sometimes in trouble.
Toggleing fullscreen, windowed mode at keyrepeat rate is not a 
typical "use case" of softdevice.


Stefan Lucke




More information about the Softdevice-devel mailing list