From: Laurent Aimar Date: Mon, 16 Mar 2009 22:53:57 +0000 (+0100) Subject: Parse *only* NAL SEI for Closed Caption. X-Git-Tag: 1.0.0-pre1~15 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=0eeed6e9c0fce48f84b72cec257eea0e51a73bb1;p=vlc Parse *only* NAL SEI for Closed Caption. --- diff --git a/modules/packetizer/h264.c b/modules/packetizer/h264.c index e1cf4dda22..175643e093 100644 --- a/modules/packetizer/h264.c +++ b/modules/packetizer/h264.c @@ -758,7 +758,8 @@ static block_t *ParseNALBlock( decoder_t *p_dec, bool *pb_used_ts, block_t *p_fr p_pic = OutputPicture( p_dec ); /* Parse SEI for CC support */ - ParseSei( p_dec, p_frag ); + if( i_nal_type == NAL_SEI ) + ParseSei( p_dec, p_frag ); } /* Append the block */