mirror of
https://github.com/mpv-player/mpv
synced 2025-01-04 22:20:22 +00:00
do not query vo drivers for format 0xFFFFFFFF (thanx to szabi)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@535 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6f1c4c0cde
commit
4dfefa18ee
@ -961,6 +961,7 @@ printf("Found video codec: [%s] drv:%d (%s)\n",sh_video->codec->name,sh_video->c
|
||||
for(i=0;i<CODECS_MAX_OUTFMT;i++){
|
||||
int ret;
|
||||
out_fmt=sh_video->codec->outfmt[i];
|
||||
if(out_fmt==0xFFFFFFFF) continue;
|
||||
ret=video_out->query_format(out_fmt);
|
||||
if(verbose) printf("vo_debug: query(0x%X) returned 0x%X\n",out_fmt,ret);
|
||||
if(ret) break;
|
||||
|
Loading…
Reference in New Issue
Block a user