-brightness && -vf scale fix

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10633 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2003-08-16 19:22:11 +00:00
parent 3bccf5038f
commit 2bff57da7f
1 changed files with 1 additions and 0 deletions

View File

@ -277,6 +277,7 @@ static int control(struct vf_instance_s* vf, int request, void* data){
int brightness, contrast, saturation, srcRange, dstRange;
vf_equalizer_t *eq;
if(vf->priv->ctx)
switch(request){
case VFCTRL_GET_EQUALIZER:
r= sws_getColorspaceDetails(vf->priv->ctx, &inv_table, &srcRange, &table, &dstRange, &brightness, &contrast, &saturation);