Use correct object for var_GetInteger(p_vbi,vbi-page);
authorJean-Paul Saman <jpsaman@videolan.org>
Sun, 16 Dec 2007 21:44:47 +0000 (21:44 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Sun, 16 Dec 2007 21:44:47 +0000 (21:44 +0000)
src/control/video.c

index ebdd6df..28f4228 100644 (file)
@@ -496,7 +496,7 @@ int libvlc_video_get_teletext( libvlc_media_instance_t *p_mi,
                                                    FIND_ANYWHERE );
     if( p_vbi )
     {
-        i_ret = var_GetInteger( p_vout, "vbi-page" );
+        i_ret = var_GetInteger( p_vbi, "vbi-page" );
         vlc_object_release( p_vbi );
     }