On Mon, Sep 10, 2012 at 7:14 AM, Ed Rogalsky <ed.rogal...@gmail.com> wrote:
> Hi Dev,
>
> I'm just wondering what is the function of the consumers "refresh"
> property. I tried really to understand this whithout success ;-((
>

Good question. Some of display consumers (sdl) just keep running
asking for new frames even when paused (they will get the same frame
from the producer when paused). Obviously, that is not optimal for
performance, so some other consumers (sdl_preview and sdl_audio) can
suspend themselves when they detect the producer has been pauses.
However, when you change the speed back to something other than 0 or
when you seek, you need to "wake up" the consumer to have it request a
new frame. The refresh property is that wake-up call. It is something
like a trigger event and perhaps would be better implemented as an
event, but a long time ago, a property was chosen.

-- 
+-DRD-+

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Kdenlive-devel mailing list
Kdenlive-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel

Reply via email to