From: Fiona Glaser Date: Tue, 31 Mar 2009 17:34:35 +0000 (-0700) Subject: MBAFF interlaced coding is not allowed in baseline profile X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c8fb152fd1debce5bf88173fb4b794c6b006099e;p=libx264 MBAFF interlaced coding is not allowed in baseline profile --- diff --git a/encoder/set.c b/encoder/set.c index 5ec1d66b..3103fcd8 100644 --- a/encoder/set.c +++ b/encoder/set.c @@ -83,7 +83,7 @@ void x264_sps_init( x264_sps_t *sps, int i_id, x264_param_t *param ) sps->i_profile_idc = PROFILE_HIGH444_PREDICTIVE; else if( param->analyse.b_transform_8x8 || param->i_cqm_preset != X264_CQM_FLAT ) sps->i_profile_idc = PROFILE_HIGH; - else if( param->b_cabac || param->i_bframe > 0 ) + else if( param->b_cabac || param->i_bframe > 0 || param->b_interlaced ) sps->i_profile_idc = PROFILE_MAIN; else sps->i_profile_idc = PROFILE_BASELINE;