[MPlayer-dev-eng] [PATCH] '-priority' support on OS/2

KO Myung-Hun komh at chollian.net
Wed Feb 4 18:09:49 CET 2009


Hi/2.

Reimar Döffinger wrote:
> On Thu, Feb 05, 2009 at 01:37:13AM +0900, KO Myung-Hun wrote:
>   
>>>> +    if(init_timer_res)
>>>> +        // request 1ms timer resolution
>>>> +        timeBeginPeriod(1);
>>>>     
>>>>         
>>> This has nothing to do with process priority (even though it is somewhat
>>> related to the scheduler) and thus does not belong here.
>>>       
>> This is also from mplayer.c. Win32 codes use it in priority setting 
>> block only in mplayer.c. That is, it's for the compatibility with 
>> original codes.
>>     
>
> You misunderstood, this is just in the "priority setting block" by
> chance, it does not logically belong together with it and thus should
> stay in mplayer.c
>   

Ah, so ? Then codes can be much simpler.

I attach the updated patch.

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 1.1.14
Under OS/2 Warp 4 for Korean with FixPak #15
On AMD ThunderBird 1 GHz with 512 MB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: priority.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090205/f3c9b853/attachment.asc>


More information about the MPlayer-dev-eng mailing list