From: Miguel F. <mi...@ce...> - 2003-04-23 16:32:51
|
On Wed, 2003-04-23 at 12:10, Darwin O'Connor wrote: > What this feature is supposed to do is send an event when the playback > reaches certain positions in the file. While this can also be done by > calling get position regularly using callback events are more precise, > less CPU intensive and are easier to program then regularly calling "get > position" and waiting for the position to arrive. Why don't you create a thread that checks position regularly and execute your callback function? you should at least try it, because i don't thing you need that much precision for time display or progress bar. calling get position, let's say, every tenth of second uses _very_ little cpu time. It's a much easier solution and you don't have to convince xine developers (you haven't convinced me yet ;-) > If you have a game or some kind of > flash animation and you want things to happen at certain points in a > movie, it could also be used for that. afaik xine is neither a game or flash player... regards, Miguel |