vlc | branch: master | Ilkka Ollakka <[email protected]> | Fri Mar 15 13:34:06 2013 +0200| [061e8281ce732c6b74087aed0c321ff42f4fd9c3] | committer: Ilkka Ollakka
x264: use x264 macro to get both B-frame types > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=061e8281ce732c6b74087aed0c321ff42f4fd9c3 --- 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 1d00d5b..c79ec11 100644 --- a/modules/codec/x264.c +++ b/modules/codec/x264.c @@ -1506,7 +1506,7 @@ static block_t *Encode( encoder_t *p_enc, picture_t *p_pict ) p_block->i_flags |= BLOCK_FLAG_TYPE_I; else if( pic.i_type == X264_TYPE_P || pic.i_type == X264_TYPE_I ) p_block->i_flags |= BLOCK_FLAG_TYPE_P; - else if( pic.i_type == X264_TYPE_B ) + else if( IS_X264_TYPE_B( pic.i_type ) ) p_block->i_flags |= BLOCK_FLAG_TYPE_B; else p_block->i_flags |= BLOCK_FLAG_TYPE_PB; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
