From: John M. <tt...@te...> - 2004-10-21 22:43:49
|
On Thu, 2004-10-21 at 15:10 -0600, Mike Melanson wrote: > John McCutchan wrote: > > If I am watching something when this happens xine stalls until the time > > is past the previous time. Is this fixable? There must be a way to get > > the time from the system that isn't dependent on the date, but on the > > system uptime? > > Hmm, thought about this a little more. The localtime() services are all > supposed to be standard across Unix flavors. The system uptime sounds > highly platform-dependent. I see that on Linux, /proc/uptime gives some > incrementing numbers to millisecond resolution. Not sure if it would be > plausible for the engine to open that file and keep reading (and > converting) the numbers inside. But it is almost certain to only work on > Linux. > There are plenty of platform-dependent sections of the xine code. Why not add one more, and keep the current code as a general solution? -- John McCutchan <tt...@te...> |