mirror of https://github.com/mpv-player/mpv
vo's preinit support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4359 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bf7ca3a712
commit
1ff5f05415
|
@ -790,7 +790,11 @@ play_dvd:
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue