1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 21:31:52 +00:00

enabled csp-query support, but only for formats with 'query' flag set

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7263 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-09-03 22:28:31 +00:00
parent a9cce3d878
commit fc0239c85b

View File

@ -115,11 +115,13 @@ static int control(sh_video_t *sh,int cmd,void* arg,...){
case VDCTRL_SET_PP_LEVEL:
vfw_set_postproc(sh,10*(*((int*)arg)));
return CONTROL_OK;
#if 0
#if 1
// FIXME: make this optional...
case VDCTRL_QUERY_FORMAT:
{
HRESULT ret;
if(!(sh->codec->outflags[sh->outfmtidx]&CODECS_FLAG_QUERY))
return CONTROL_UNKNOWN; // do not query!
set_csp(priv->o_bih,*((int*)arg));
#ifdef BUILD_VFWEX
ret = ICDecompressQueryEx(priv->handle, sh->bih, priv->o_bih);