From 2bff57da7f8ebeb63b0dd5c2fb39415ac6ae1cb3 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 16 Aug 2003 19:22:11 +0000 Subject: [PATCH] -brightness && -vf scale fix git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10633 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_scale.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libmpcodecs/vf_scale.c b/libmpcodecs/vf_scale.c index 7da8a97ae3..98d6bc9331 100644 --- a/libmpcodecs/vf_scale.c +++ b/libmpcodecs/vf_scale.c @@ -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);