# HG changeset patch # User nick # Date 1012069629 0 # Node ID b313f88cd0dc191b7494dd8b9d6fd350647c8e4a # Parent 511fa4be8bfcb7a864adc7610c6078a83df6f3e8 vo's preinit support diff -r 511fa4be8bfc -r b313f88cd0dc mplayer.c --- a/mplayer.c Sat Jan 26 16:51:26 2002 +0000 +++ b/mplayer.c Sat Jan 26 18:27:09 2002 +0000 @@ -790,7 +790,11 @@ mp_msg(MSGT_CPLAYER,MSGL_FATAL,MSGTR_InvalidVOdriver,video_driver?video_driver:"?"); exit_player(MSGTR_Exit_error); } - + if((i=video_out->preinit(vo_subdevice))!=0) + { + mp_msg(MSGT_CPLAYER,MSGL_FATAL,"error on vo preinit = %u\n",i); + exit_player(MSGTR_Exit_error); + } // check audio_out driver name: if (audio_driver) if ((i = strcspn(audio_driver, ":")) > 0)