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

Felix Paul Kühne git at videolan.org
Fri Dec 12 13:08:11 CET 2014


vlc/vlc-2.2 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Dec  9 22:13:08 2014 +0100| [5b42adb5ec4cd2c38031566657da79754eabc118] | committer: Jean-Baptiste Kempf

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

(cherry picked from commit 8d48e95e9fe21e92e5da0ed0613ff86c5aa764f8)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=5b42adb5ec4cd2c38031566657da79754eabc118
---

 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 b75006a..0ff0a4c 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -439,7 +439,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