diff options
author | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-04-07 22:51:42 +0000 |
---|---|---|
committer | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-04-07 22:51:42 +0000 |
commit | a5b1bda5146c84619a668433483b04ed02376304 (patch) | |
tree | ee0bfd092b20bf9d37ff596316b72fa044f27933 /libvo | |
parent | 35d058bccaedd5f870650bc088a500466466c970 (diff) | |
download | mpv-a5b1bda5146c84619a668433483b04ed02376304.tar.bz2 mpv-a5b1bda5146c84619a668433483b04ed02376304.tar.xz |
print at least the error number when there is no text for it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12157 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_directx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c index fba987ddf6..f4b0b7616b 100644 --- a/libvo/vo_directx.c +++ b/libvo/vo_directx.c @@ -272,6 +272,8 @@ static uint32_t Directx_CreateOverlay(uint32_t imgfmt) {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 @@ static uint32_t Directx_ManageDisplay() 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) |