1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-01 20:32:13 +00:00

consolevidix -> cvidix

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11020 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2003-10-05 15:39:00 +00:00
parent 437b151d55
commit 9870d00362

View File

@ -61,12 +61,12 @@ static void check_events(void){
/* draw_osd, flip_page, draw_slice, draw_frame should be /* draw_osd, flip_page, draw_slice, draw_frame should be
overwritten with vidix functions (vosub_vidix.c) */ overwritten with vidix functions (vosub_vidix.c) */
static void draw_osd(void){ static void draw_osd(void){
mp_msg(MSGT_VO, MSGL_FATAL, "vo_consolevidix: error: didn't use vidix draw_osd!\n"); mp_msg(MSGT_VO, MSGL_FATAL, "vo_cvidix: error: didn't use vidix draw_osd!\n");
return; return;
} }
static void flip_page(void){ static void flip_page(void){
mp_msg(MSGT_VO, MSGL_FATAL, "vo_consolevidix: error: didn't use vidix flip_page!\n"); mp_msg(MSGT_VO, MSGL_FATAL, "vo_cvidix: error: didn't use vidix flip_page!\n");
return; return;
} }
@ -77,13 +77,13 @@ static uint32_t draw_slice(uint8_t *src[], int stride[],int w, int h, int x, int
UNUSED(h); UNUSED(h);
UNUSED(x); UNUSED(x);
UNUSED(y); UNUSED(y);
mp_msg(MSGT_VO, MSGL_FATAL, "vo_consolevidix: error: didn't use vidix draw_slice!\n"); mp_msg(MSGT_VO, MSGL_FATAL, "vo_cvidix: error: didn't use vidix draw_slice!\n");
return -1; return -1;
} }
static uint32_t draw_frame(uint8_t *src[]){ static uint32_t draw_frame(uint8_t *src[]){
UNUSED(src); UNUSED(src);
mp_msg(MSGT_VO, MSGL_FATAL, "vo_consolevidix: error: didn't use vidix draw_frame!\n"); mp_msg(MSGT_VO, MSGL_FATAL, "vo_cvidix: error: didn't use vidix draw_frame!\n");
return -1; return -1;
} }
@ -103,10 +103,10 @@ static void uninit(void){
static uint32_t preinit(const char *arg){ static uint32_t preinit(const char *arg){
if(arg)vidix_name = strdup(arg); if(arg)vidix_name = strdup(arg);
else { else {
mp_msg(MSGT_VO, MSGL_INFO, "vo_consolevidix: No vidix driver name provided, probing available ones!\n"); mp_msg(MSGT_VO, MSGL_INFO, "vo_cvidix: No vidix driver name provided, probing available ones!\n");
vidix_name = NULL; vidix_name = NULL;
} }
if(vidix_preinit(vidix_name, &video_out_consolevidix))return 1; if(vidix_preinit(vidix_name, &video_out_cvidix))return 1;
return 0; return 0;
} }