summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-19 22:21:30 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-19 22:21:30 +0000
commit4dfefa18eedaac77ab7c7a6f4d38a6518c03a878 (patch)
treedf655a2b218f3669def1d8c559cadefb32afc733 /mplayer.c
parent6f1c4c0cde75a548d198ee09d1a056c410c9dbd7 (diff)
downloadmpv-4dfefa18eedaac77ab7c7a6f4d38a6518c03a878.tar.bz2
mpv-4dfefa18eedaac77ab7c7a6f4d38a6518c03a878.tar.xz
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
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 842ddb2fdb..a9610a3ddf 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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;