[vlc-devel] [PATCH] lib/media_player: inherit 'vbi-page' since the zvbi decoder may also create it
Felix Paul Kühne
fkuehne at videolan.org
Thu Nov 21 19:53:24 CET 2013
This fixed teletext subtitle decoding triggered from outside libvlc as previously the currently decoded page was reset to 0 instead of the correct value.
---
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 01ab243..dae53f7 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -413,7 +413,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);
--
1.8.3.4 (Apple Git-47)
More information about the vlc-devel
mailing list