1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-22 07:46:55 +00:00

fixed query format

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5279 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-03-23 17:16:49 +00:00
parent b1594708a7
commit 6012176aee

View File

@ -35,8 +35,10 @@ static int control(sh_video_t *sh, int cmd, void *arg, ...)
{
case VDCTRL_QUERY_FORMAT:
{
*((int*)arg) = IMGFMT_BGR24;
return(CONTROL_TRUE);
if (*((int*)arg) == IMGFMT_BGR24)
return(CONTROL_TRUE);
else
return(CONTROL_FALSE);
}
}
return(CONTROL_UNKNOWN);