lib: map the position enum to the correct subpicture alignment bitmasks
authorMark Lee <mark.lee@capricasoftware.co.uk>
Sat, 24 May 2014 06:41:47 +0000 (07:41 +0100)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 24 May 2014 10:25:17 +0000 (18:25 +0800)
commitdadda2294144efcc26e6c0b9877e477416402f79
tree2add3ed15094adfe2c7491090e0424d7f5d433c4
parent4807e99bf3363d8f2f82cf09997da062c65e2e16
lib: map the position enum to the correct subpicture alignment bitmasks

libvlc_media_player_set_video_title_display() was wrongly using the
enum value directly, leading to the video title appearing in the wrong
position for some values

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
lib/media_player.c