[vlc-commits] lib: Automatically select the default teletext page on activation

Hugo Beauzée-Luyssen git at videolan.org
Fri Aug 4 15:30:10 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Aug  4 15:05:02 2017 +0200| [da7f1b805f6bebf1f4f9fd53910c42af15a84368] | committer: Hugo Beauzée-Luyssen

lib: Automatically select the default teletext page on activation

Fix #18638

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

 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 dc17f7765d..d4a74834d2 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -663,7 +663,7 @@ libvlc_media_player_new( libvlc_instance_t *instance )
     var_Create (mp, "deinterlace-mode", VLC_VAR_STRING | VLC_VAR_DOINHERIT);
 
     var_Create (mp, "vbi-page", VLC_VAR_INTEGER);
-    var_SetInteger (mp, "vbi-page", 0);
+    var_SetInteger (mp, "vbi-page", 100);
 
     var_Create (mp, "video-filter", VLC_VAR_STRING | VLC_VAR_DOINHERIT);
     var_Create (mp, "sub-source", VLC_VAR_STRING | VLC_VAR_DOINHERIT);



More information about the vlc-commits mailing list