[vlc-commits] vdpau/adjust: cut&paste error
Rémi Denis-Courmont
git at videolan.org
Thu Jan 2 12:41:54 CET 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jan 2 13:34:44 2014 +0200| [418241e3a01f4ce7dbddb3d7714504200726a0e5] | committer: Rémi Denis-Courmont
vdpau/adjust: cut&paste error
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=418241e3a01f4ce7dbddb3d7714504200726a0e5
---
modules/hw/vdpau/adjust.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/hw/vdpau/adjust.c b/modules/hw/vdpau/adjust.c
index 7828579..9aa54ac 100644
--- a/modules/hw/vdpau/adjust.c
+++ b/modules/hw/vdpau/adjust.c
@@ -183,7 +183,7 @@ static int Open(vlc_object_t *obj)
i = var_CreateGetIntegerCommand(filter, "hue");
var_AddCallback(filter, "hue", HueCallback, &sys->hue);
- vlc_atomic_init_float(&sys->saturation, vlc_to_vdp_saturation(i));
+ vlc_atomic_init_float(&sys->hue, vlc_to_vdp_hue(i));
return VLC_SUCCESS;
}
More information about the vlc-commits
mailing list