vlc | branch: master | Francois Cartegnie <[email protected]> | Thu Apr 13 10:28:59 2017 +0200| [4397299791d8b86c606a7d34c30a977424995ab4] | committer: Francois Cartegnie
packetizer: h264: fix reversed test regression > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4397299791d8b86c606a7d34c30a977424995ab4 --- modules/packetizer/h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/packetizer/h264.c b/modules/packetizer/h264.c index 84044b5366..4928b69fe2 100644 --- a/modules/packetizer/h264.c +++ b/modules/packetizer/h264.c @@ -706,7 +706,7 @@ static block_t *OutputPicture( decoder_t *p_dec ) /* Gather PPS/SPS if required */ block_t *p_xpsnal = NULL; block_t **pp_xpsnal_tail = &p_xpsnal; - const bool b_sps_pps_i = p_sys->slice.type != H264_SLICE_TYPE_I && + const bool b_sps_pps_i = p_sys->slice.type == H264_SLICE_TYPE_I && p_sys->p_active_pps && p_sys->p_active_sps; if( b_sps_pps_i || p_sys->b_new_sps || p_sys->b_new_pps ) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
