mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +00:00
Extended message for misisng codecs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@920 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a115f45504
commit
5e88953e0c
@ -1087,6 +1087,8 @@ if(has_audio){
|
||||
sh_audio->codec=find_codec(sh_audio->format,NULL,sh_audio->codec,1);
|
||||
if(!sh_audio->codec){
|
||||
printf("Can't find codec for audio format 0x%X !\n",sh_audio->format);
|
||||
printf("*** Try to upgrade %s from DOCS/codecs.conf\n",get_path("codecs.conf"));
|
||||
printf("*** If it's still not OK, then read DOCS/CODECS!\n");
|
||||
has_audio=0;
|
||||
break;
|
||||
}
|
||||
@ -1117,6 +1119,8 @@ while(1){
|
||||
sh_video->bih?((unsigned int*) &sh_video->bih->biCompression):NULL,sh_video->codec,0);
|
||||
if(!sh_video->codec){
|
||||
printf("Can't find codec for video format 0x%X !\n",sh_video->format);
|
||||
printf("*** Try to upgrade %s from DOCS/codecs.conf\n",get_path("codecs.conf"));
|
||||
printf("*** If it's still not OK, then read DOCS/CODECS!\n");
|
||||
#ifdef HAVE_GUI
|
||||
if ( !nogui )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user