[x264-devel] commit: MBAFF interlaced coding is not allowed in baseline profile ( Jason Garrett-Glaser )

git version control git at videolan.org
Sat Apr 4 04:47:16 CEST 2009


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Tue Mar 31 10:34:35 2009 -0700| [9d0c378b235182341edd2e95f01d4fd25132ad50] | committer: Jason Garrett-Glaser 

MBAFF interlaced coding is not allowed in baseline profile

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=9d0c378b235182341edd2e95f01d4fd25132ad50
---

 encoder/set.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/encoder/set.c b/encoder/set.c
index 5ec1d66..3103fcd 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;



More information about the x264-devel mailing list