libvlc API: Fix an error in libvlc_video_set_marquee_option_as_int()
authorCyril Mathé <cmathe@actech-innovation.com>
Mon, 29 Jun 2009 09:28:16 +0000 (11:28 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 29 Jun 2009 15:15:26 +0000 (18:15 +0300)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
src/control/video.c

index 330637d..8ef79da 100644 (file)
@@ -747,7 +747,7 @@ void libvlc_video_set_marquee_option_as_int( libvlc_media_player_t *p_mi,
                                           libvlc_video_marquee_int_option_t option,
                                           int value, libvlc_exception_t *p_e )
 {
-    const char * identifier = get_marquee_string_option_identifier(option);
+    const char * identifier = get_marquee_int_option_identifier(option);
     if(!identifier)
     {
         libvlc_exception_raise( p_e, "This option is not available" );