[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: [Gnash-commit] gnash ChangeLog server/video_stream_instance.cpp
From: |
Udo Giacomozzi |
Subject: |
Re[2]: [Gnash-commit] gnash ChangeLog server/video_stream_instance.cpp |
Date: |
Fri, 4 May 2007 16:58:23 +0200 |
Hello Sandro,
Friday, May 4, 2007, 4:23:38 PM, you wrote:
SS> Supposedly, but I couldn't find a single occurrence in which ::display
SS> would report m_invalidated == true.
Probably because the SWF frame rate (25) is less that the video frame
rate (30).
I forced the SWF frame rate to 100 fps in code (Player.cpp:297) and
drawVideoFrame() doesn't get called more often than 30 times per
second.
However, using "-s 0.1" (which gives a tiny player window) still leads
to full CPU usage, which simply can't be because of rendering, there
must be a problem somewhere else (might still be a AGG problem, but
I can't imagine the video scaling itself is so slow).
Side note: By shrinking the player window drawVideoFrame() gets called
more often. This is normal because the movie controls (which get
invalidated nearly in each frame) get too close to the video and
invalidated bounds come into the video area.
Udo