[vlc-devel] commit: telx: Fix the telx-override-page option. (Derk-Jan Hartman )

git version control git at videolan.org
Mon Sep 8 00:30:02 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Mon Sep  8 00:31:56 2008 +0200| [4363f5141922cbd49e61ea0690ed016c69557bcf] | committer: Derk-Jan Hartman 

telx: Fix the telx-override-page option.

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

 modules/codec/telx.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/telx.c b/modules/codec/telx.c
index a26c1ba..f6cff5c 100644
--- a/modules/codec/telx.c
+++ b/modules/codec/telx.c
@@ -193,7 +193,7 @@ static int Open( vlc_object_t *p_this )
         p_sys->pi_active_national_set[i] = ppi_national_subsets[1];
 
     var_Create( p_dec, "telx-override-page",
-                VLC_VAR_BOOL | VLC_VAR_DOINHERIT );
+                VLC_VAR_INTEGER | VLC_VAR_DOINHERIT );
     var_Get( p_dec, "telx-override-page", &val );
     if( val.i_int == -1 && p_dec->fmt_in.subs.dvb.i_id != -1 )
     {
@@ -231,7 +231,7 @@ static int Open( vlc_object_t *p_this )
     var_Get( p_dec, "telx-ignore-subtitle-flag", &val );
     p_sys->b_ignore_sub_flag = val.b_bool;
 
-    msg_Dbg( p_dec, "starting telx on magazine %d page %x flag %d",
+    msg_Dbg( p_dec, "starting telx on magazine %d page %02x flag %d",
              p_sys->i_wanted_magazine, p_sys->i_wanted_page,
              p_sys->b_ignore_sub_flag );
 




More information about the vlc-devel mailing list