[MPlayer-dev-eng] [PATCH] Override default codec path

KO Myung-Hun komh at chollian.net
Sun Jan 27 18:34:12 CET 2008


Hi/2.

Diego Biurrun wrote:
> On Mon, Jan 28, 2008 at 01:16:52AM +0900, KO Myung-Hun wrote:
>   
>> Diego Biurrun wrote:
>>     
>>> On Sun, Jan 27, 2008 at 11:47:36PM +0900, KO Myung-Hun wrote:
>>>   
>>>       
>>>> Diego Biurrun wrote:
>>>>     
>>>>         
>>>>> On Sun, Jan 27, 2008 at 01:11:29PM +0900, KO Myung-Hun wrote:
>>>>>         
>>>>>           
>>>>>> This patch enable to override default codec path using
>>>>>> 'MPLAYER_CODECS_DIR' env. var.
>>>>>>         
>>>>>>             
>>>>> Why?
>>>>>       
>>>>>           
>>>> To share common DLLs with other player on the file system without 'link' 
>>>> feature.
>>>>         
>>> Why not configure MPlayer to use that common directory in the first
>>> place?  What other players are you referring to?
>>>   
>>>       
>> If using MPlayer by compiling its sources, 'configure' can solve this 
>> problem. But in case of binary distribution, the directory where Win32 DLLs 
>> are placed cannot be guessed. And the player I referred to was 
>> 'WarpVision'.
>>     
>
> Where does WarpVision place the binary codecs?  Why not compile OS/2
> MPlayer in a way that it uses that directory by default?
>
>   

WarpVision also does not use a fixed location. So I cannot determine the 
directory where codecs exist on compile time.

> Also, IIUC this only affects Windows DLLs.  Such a change should be done
> in a generic fashion and affect all types of binary codecs.
>
>   
Ah, you're right.

If so, how about changing its name to 'MPLAYER_WIN32_COECS_DIR' as the 
attachment ?

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 1.1.7
Under OS/2 Warp 4 for Korean with FixPak #15
On AMD ThunderBird 750 MHz 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: set_win32_codec_path.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080128/9d505768/attachment.asc>


More information about the MPlayer-dev-eng mailing list