From 9d0c378b235182341edd2e95f01d4fd25132ad50 Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Tue, 31 Mar 2009 10:34:35 -0700 Subject: [PATCH] MBAFF interlaced coding is not allowed in baseline profile --- encoder/set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3