mirror of
https://github.com/mpv-player/mpv
synced 2024-11-18 21:16:10 +01:00
Change order of vo_function calls (Although it doesn't matter for now).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4747 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d36fb9f2e2
commit
46d2afb149
@ -951,16 +951,16 @@ static int vesa_screenshot(const char *fname)
|
||||
{
|
||||
uint32_t i,n;
|
||||
uint8_t *ptrs[video_mode_info.YResolution];
|
||||
if(!video_out_png.control(VOCTRL_QUERY_FORMAT, &dstFourcc))
|
||||
{
|
||||
printf("\nvo_vesa: vo_png doesn't support: %s fourcc\n",vo_format_name(dstFourcc));
|
||||
return 1;
|
||||
}
|
||||
if(video_out_png.preinit(NULL))
|
||||
{
|
||||
printf("\nvo_vesa: can't preinit vo_png\n");
|
||||
return 1;
|
||||
}
|
||||
if(!video_out_png.control(VOCTRL_QUERY_FORMAT, &dstFourcc))
|
||||
{
|
||||
printf("\nvo_vesa: vo_png doesn't support: %s fourcc\n",vo_format_name(dstFourcc));
|
||||
return 1;
|
||||
}
|
||||
if(video_out_png.config(HAS_DGA()?video_mode_info.XResolution:dstW,
|
||||
HAS_DGA()?video_mode_info.YResolution:dstH,
|
||||
HAS_DGA()?video_mode_info.XResolution:dstW,
|
||||
|
Loading…
Reference in New Issue
Block a user