mirror of
https://github.com/mpv-player/mpv
synced 2025-02-17 21:27:08 +00:00
search codecs.conf at CONFDIR
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3749 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
194d23b1eb
commit
5df17becc8
@ -338,7 +338,7 @@ int decoded_frameno=0;
|
|||||||
|
|
||||||
// check codec.conf
|
// check codec.conf
|
||||||
if(!parse_codec_cfg(get_path("codecs.conf"))){
|
if(!parse_codec_cfg(get_path("codecs.conf"))){
|
||||||
if(!parse_codec_cfg(DATADIR"/codecs.conf")){
|
if(!parse_codec_cfg(CONFDIR"/codecs.conf")){
|
||||||
mp_msg(MSGT_MENCODER,MSGL_HINT,MSGTR_CopyCodecsConf);
|
mp_msg(MSGT_MENCODER,MSGL_HINT,MSGTR_CopyCodecsConf);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
@ -553,7 +553,7 @@ int gui_no_filename=0;
|
|||||||
|
|
||||||
// check codec.conf
|
// check codec.conf
|
||||||
if(!parse_codec_cfg(get_path("codecs.conf"))){
|
if(!parse_codec_cfg(get_path("codecs.conf"))){
|
||||||
if(!parse_codec_cfg(DATADIR"/codecs.conf")){
|
if(!parse_codec_cfg(CONFDIR"/codecs.conf")){
|
||||||
mp_msg(MSGT_CPLAYER,MSGL_HINT,MSGTR_CopyCodecsConf);
|
mp_msg(MSGT_CPLAYER,MSGL_HINT,MSGTR_CopyCodecsConf);
|
||||||
// printf("Exit.\n");
|
// printf("Exit.\n");
|
||||||
// exit(0); // From unknown reason a hangup occurs here :((((((
|
// exit(0); // From unknown reason a hangup occurs here :((((((
|
||||||
|
Loading…
Reference in New Issue
Block a user