[vlc-devel] commit: Set the actual page used by zvbi. (Laurent Aimar )

git version control git at videolan.org
Sat Feb 14 00:46:33 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Feb 14 00:40:33 2009 +0100| [ae4ee908d8757bb24c0ada28be49fb9a65b03fb3] | committer: Laurent Aimar 

Set the actual page used by zvbi.

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

 modules/codec/zvbi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/codec/zvbi.c b/modules/codec/zvbi.c
index 8f6c052..e02b659 100644
--- a/modules/codec/zvbi.c
+++ b/modules/codec/zvbi.c
@@ -255,6 +255,7 @@ static int Open( vlc_object_t *p_this )
     {
         p_sys->i_wanted_page = 100 * p_dec->fmt_in.subs.teletext.i_magazine +
                                vbi_bcd2dec( p_dec->fmt_in.subs.teletext.i_page );
+        var_SetInteger( p_dec, "vbi-page", p_sys->i_wanted_page );
     }
     p_sys->i_wanted_subpage = VBI_ANY_SUBNO;
 




More information about the vlc-devel mailing list