Mercurial > mplayer.hg
comparison libvo/vo_vesa.c @ 2692:b8e628b7a029
Minor notes
author | nick |
---|---|
date | Sun, 04 Nov 2001 18:04:45 +0000 |
parents | 6a5b6b16d85c |
children | 7732745d5f3f |
comparison
equal
deleted
inserted
replaced
2691:94ff61cdde93 | 2692:b8e628b7a029 |
---|---|
10 | 10 |
11 /* | 11 /* |
12 TODO: | 12 TODO: |
13 - hw YUV support (need volunteers who have corresponding hardware) | 13 - hw YUV support (need volunteers who have corresponding hardware) |
14 - triple buffering (if it will really speedup playback). | 14 - triple buffering (if it will really speedup playback). |
15 note: triple buffering requires VBE 3.0. | 15 note: triple buffering requires VBE 3.0 - need volunteers. |
16 - refresh rate support (need additional info from mplayer) | 16 - refresh rate support (need additional info from mplayer) |
17 */ | 17 */ |
18 #include <stdio.h> | 18 #include <stdio.h> |
19 #include <stdlib.h> | 19 #include <stdlib.h> |
20 #include <string.h> | 20 #include <string.h> |
326 { | 326 { |
327 int err; | 327 int err; |
328 if((err=vbeSetDisplayStart(multi_buff[multi_idx],1)) != VBE_OK) | 328 if((err=vbeSetDisplayStart(multi_buff[multi_idx],1)) != VBE_OK) |
329 { | 329 { |
330 vesa_term(); | 330 vesa_term(); |
331 PRINT_VBE_ERR("vbeSetDispayStart",err); | 331 PRINT_VBE_ERR("vbeSetDisplayStart",err); |
332 printf("vo_vesa: Fatal error occured! Can't continue\n"); | 332 printf("vo_vesa: Fatal error occured! Can't continue\n"); |
333 exit(EXIT_FAILURE); | 333 exit(EXIT_FAILURE); |
334 } | 334 } |
335 multi_idx = multi_idx ? 0 : 1; | 335 multi_idx = multi_idx ? 0 : 1; |
336 win.ptr = dga_buffer = video_base + multi_buff[multi_idx]; | 336 win.ptr = dga_buffer = video_base + multi_buff[multi_idx]; |