changeset 534:2a45d5adcc88

do not query vo drivers for format 0xFFFFFFFF (thanx to szabi)
author arpi_esp
date Thu, 19 Apr 2001 22:21:30 +0000
parents ca59ef4ce54d
children 1409f80a497d
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Thu Apr 19 21:39:10 2001 +0000
+++ b/mplayer.c	Thu Apr 19 22:21:30 2001 +0000
@@ -961,6 +961,7 @@
 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;