1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 00:02:13 +00:00

-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

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);