Mercurial > mplayer.hg
changeset 12156:ff9f315741a7
print at least the error number when there is no text for it
author | faust3 |
---|---|
date | Wed, 07 Apr 2004 22:51:42 +0000 |
parents | deb95ac21f14 |
children | e26d5e388618 |
files | libvo/vo_directx.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_directx.c Wed Apr 07 22:27:33 2004 +0000 +++ b/libvo/vo_directx.c Wed Apr 07 22:51:42 2004 +0000 @@ -272,6 +272,8 @@ {mp_msg(MSGT_VO, MSGL_ERR,"unsupported mode\n");break;} case DDERR_OUTOFVIDEOMEMORY: {mp_msg(MSGT_VO, MSGL_ERR,"not enough video memory\n");break;} + default: + mp_msg(MSGT_VO, MSGL_ERR,"create surface failed with 0x%x\n",ddrval); } return 1; } @@ -685,6 +687,8 @@ if(ddrval !=DD_OK)mp_msg(MSGT_VO, MSGL_FATAL ,"<vo_directx><FATAL ERROR>UpdateOverlay failed again\n" ); break; } + default: + mp_msg(MSGT_VO, MSGL_ERR ," 0x%x\n",ddrval); } /*ok we can't do anything about it -> hide overlay*/ if(ddrval != DD_OK)