vlc | branch: master | Francois Cartegnie <[email protected]> | Mon Jun 15 09:57:09 2020 +0200| [d2a7492d148daaf78aad9edb1377b41860a7b267] | committer: Francois Cartegnie
codec: zvbi: handle fully transparent cleaning ttxt > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d2a7492d148daaf78aad9edb1377b41860a7b267 --- modules/codec/zvbi.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/codec/zvbi.c b/modules/codec/zvbi.c index 262bb92607..fe530551c4 100644 --- a/modules/codec/zvbi.c +++ b/modules/codec/zvbi.c @@ -423,11 +423,17 @@ static int Decode( decoder_t *p_dec, block_t *p_block ) /* If there is a page or sub to render, then we do that here */ /* Create the subpicture unit */ p_spu = Subpicture( p_dec, &fmt, p_sys->b_text, - p_page.columns, i_num_rows, + p_page.columns, __MAX(i_num_rows, 1), i_align, p_block->i_pts ); if( !p_spu ) goto error; + if( !p_sys->b_text && i_num_rows == 0 ) + { + p_spu->b_ephemer = false; + p_spu->i_stop = p_spu->i_start + 1; + } + if( p_sys->b_text ) { unsigned int i_textsize = 7000; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
