[vlc-commits] lib/media player: inherit vbi-page to achieve correct variable value on first use

Felix Paul Kühne git at videolan.org
Tue Dec 9 22:13:47 CET 2014


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Dec  9 22:13:08 2014 +0100| [8d48e95e9fe21e92e5da0ed0613ff86c5aa764f8] | committer: Felix Paul Kühne

lib/media player: inherit vbi-page to achieve correct variable value on first use

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8d48e95e9fe21e92e5da0ed0613ff86c5aa764f8
---

 lib/media_player.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/media_player.c b/lib/media_player.c
index 698f8d2..0f4dda2 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -529,7 +529,7 @@ 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);
+    var_Create (mp, "vbi-page", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
 
     var_Create (mp, "marq-marquee", VLC_VAR_STRING);
     var_Create (mp, "marq-color", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);



More information about the vlc-commits mailing list