]> git.sesse.net Git - vlc/commitdiff
Set the actual page used by zvbi.
authorLaurent Aimar <fenrir@videolan.org>
Fri, 13 Feb 2009 23:40:33 +0000 (00:40 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 13 Feb 2009 23:40:33 +0000 (00:40 +0100)
modules/codec/zvbi.c

index 8f6c0524a385c8a04d245c637de4d26ce73ef8f0..e02b659d94cffd951b185d90ed4d1170aa1ddf0b 100644 (file)
@@ -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;