]> git.sesse.net Git - vlc/blobdiff - lib/media_player.c
libvlc: fix vbi-page initialization without zvbi plugin
[vlc] / lib / media_player.c
index 0f4dda294872a99cf3038f3914484f0930b4f9ce..cb6b60401c5ff73130e5411e49f1c24cecae637e 100644 (file)
@@ -529,7 +529,8 @@ libvlc_media_player_new( libvlc_instance_t *instance )
     var_Create (mp, "deinterlace", VLC_VAR_INTEGER);
     var_Create (mp, "deinterlace-mode", VLC_VAR_STRING);
 
-    var_Create (mp, "vbi-page", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
+    var_Create (mp, "vbi-page", VLC_VAR_INTEGER);
+    var_SetInteger (mp, "vbi-page", 100);
 
     var_Create (mp, "marq-marquee", VLC_VAR_STRING);
     var_Create (mp, "marq-color", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);