[vlc-devel] commit: zvbi: Fix displaying of teletext and closed captioning. ( Jean-Paul Saman )

Laurent Aimar fenrir at via.ecp.fr
Fri Feb 5 14:13:22 CET 2010


Hi,

On Fri, Feb 05, 2010, git version control wrote:
> vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Fri Feb  5 10:59:29 2010 +0100| [b48252ea29457ab9a142b797b7e5182dfca1b460] | committer: Jean-Paul Saman 
> 
> zvbi: Fix displaying of teletext and closed captioning.
> 
> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b48252ea29457ab9a142b797b7e5182dfca1b460
> ---
> 
>  modules/codec/zvbi.c |    7 ++++---
>  1 files changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/modules/codec/zvbi.c b/modules/codec/zvbi.c
> index 50c4edf..346f747 100644
> --- a/modules/codec/zvbi.c
> +++ b/modules/codec/zvbi.c
> @@ -322,6 +322,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
>      vbi_page        p_page;
>      const uint8_t   *p_pos;
>      unsigned int    i_left;
> +    int64_t         i_pts = 0;
>  
>      if( (pp_block == NULL) || (*pp_block == NULL) )
>          return NULL;
> @@ -336,7 +337,6 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
>      {
>          vbi_sliced      p_sliced[MAX_SLICES];
>          unsigned int    i_lines = 0;
> -        int64_t         i_pts;
>  
>          i_lines = vbi_dvb_demux_cor( p_sys->p_dvb_demux, p_sliced,
>                                       MAX_SLICES, &i_pts, &p_pos, &i_left );
 If the issue is that p_block->i_pts is 0, then as I told you, it is not the
right place to fix it. It *must* be fixed either in src/input/decoder.c or
es_out.c
 If not, what is the unit/origin of the value returned by vbi_dvb_demux_cor ?

Regards,

-- 
fenrir




More information about the vlc-devel mailing list