Re: [Live-devel] Patch : clock changing issue

2009-09-03 Thread Rawling, Stuart
>> "clock_gettime()" does not seem to be portable. (In particular, Mac OS X doesn't seem to have it, and (I suspect) Windows doesn't either.) The patch does not change the windows implementation other than renaming the function ³mgettimeofday². It does a new function mgettimeofday as an #else (

Re: [Live-devel] Patch : clock changing issue

2009-09-03 Thread Ross Finlayson
I just ran into this issue and will be using the patch. Is there any reason not to include this in the main source repository? "clock_gettime()" does not seem to be portable. (In particular, Mac OS X doesn't seem to have it, and (I suspect) Windows doesn't either.) -- Ross Finlayson Live Ne

Re: [Live-devel] Patch : clock changing issue

2009-09-03 Thread Rawling, Stuart
> The issue is : if you change your system time while you receive a stream, then >> the library may make your cpu very busy. >> >> So I patched the library myself : I replaced gettimeofday by a monotonic >> clock. >> This has only been tested with linux. In case someone else is looking for a > sol