vlc | branch: master | Francois Cartegnie <[email protected]> | Wed Aug 29 14:38:20 2018 +0200| [844d9c2ac6d9db65dba42fe38c5ccd14822d3c19] | committer: Francois Cartegnie
encoder: x264: really drain > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=844d9c2ac6d9db65dba42fe38c5ccd14822d3c19 --- modules/codec/x264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/x264.c b/modules/codec/x264.c index 0efd8020cf..c5954cb904 100644 --- a/modules/codec/x264.c +++ b/modules/codec/x264.c @@ -1501,7 +1501,7 @@ static block_t *Encode( encoder_t *p_enc, picture_t *p_pict ) x264_encoder_encode( p_sys->h, &nal, &i_nal, &pic, &pic ); } else { - if( x264_encoder_delayed_frames( p_sys->h ) ) { + while( x264_encoder_delayed_frames( p_sys->h ) && i_nal == 0 ) { x264_encoder_encode( p_sys->h, &nal, &i_nal, NULL, &pic ); } } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
