Fri 28 May 2010 03:49:03 PM UTC, comment #3:
I think there is little we can do about this bug:
- X.org does not (yet) support drawing XVideo to an offscreen buffer (pixmap). We can thus not scale a (streaming) video independently of the rest of rendering.
- Agg can't draw using Xlib; we thus don't have the option of synchronously drawing to the X window, which would ensure that the image(s) get drawn in the correct order.
Both issues could be resolved upstream.
|
Sun 14 Mar 2010 02:56:33 AM UTC, comment #2:
I've analysed this problem in some detail now.
XVideo is used currently to do all of Gnash's scaling. This job is normally done by the renderer, but in the Xv case, the renderer is told not to do any scaling. So, the rendered image is uploaded to the Xv port with the appropriate scaling information.
In the case of YouTube, however, the situation is not so pleasant. YouTube monitors the (browser) window for resize events, and responds to them by changing the Movie scale accordingly. The renderer is never explicitly informed of this, but it is generally told by the GUI that it should render to a larger or smaller area. The only difference now is that the Shapes that the renderer is asked to draw suddenly have a changed transformation matrix.
Now back to the Xv case, where we tell the renderer not to do scaling. In the YouTube case, the renderer will still, however, receive an altered transformation matrix associated with Shapes to be renderered. These shapes, then, will no longer be drawn because they are outside of the area the renderer draws to.
|
Wed 04 Mar 2009 07:24:28 PM UTC, original submission:
Hi,
I successfully built gnash trunk with xvideo support in order to test and I show a bug :
size of the video is different with or without Xv.
for instance :
http://icanhascheezburger.com/2009/02/25/funny-pictures-video-bunny-bed/
is smaller with Xv than without.
gnash has space reserved (and i can right click to have menu) but it only use a small part.
At the contrary, some others video are greater than the place of the player. See for example (yes it's rick roll'd but it's real anyway :D)
http://www.youtube.com/watch?v=oHg5SJYRHA0
I attach logs with verbosity at 3.
I'm using mandrivalinux 2008.1 x86_64 with Nouveau driver ( http://nouveau.freedesktop.org/ )
thanks
Julien
|