Mercurial > libavcodec.hg
comparison ffv1.c @ 11529:a3a0b6af702e libavcodec
Throw out last experimental warning that was printed for colorspaces with more than
8 bits per component. This does no good except scaring users away.
author | michael |
---|---|
date | Mon, 22 Mar 2010 15:04:11 +0000 |
parents | 9bd282dec604 |
children | 86e4be64519e |
comparison
equal
deleted
inserted
replaced
11528:b0e1c40e9d07 | 11529:a3a0b6af702e |
---|---|
667 avctx->coded_frame= &s->picture; | 667 avctx->coded_frame= &s->picture; |
668 switch(avctx->pix_fmt){ | 668 switch(avctx->pix_fmt){ |
669 case PIX_FMT_YUV444P16: | 669 case PIX_FMT_YUV444P16: |
670 case PIX_FMT_YUV422P16: | 670 case PIX_FMT_YUV422P16: |
671 case PIX_FMT_YUV420P16: | 671 case PIX_FMT_YUV420P16: |
672 if(avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL){ | |
673 av_log(avctx, AV_LOG_ERROR, "More than 8 bit per component is still experimental and no gurantee is yet made for future compatibility\n" | |
674 "Use vstrict=-2 / -strict -2 to use it anyway.\n"); | |
675 return -1; | |
676 } | |
677 if(avctx->bits_per_raw_sample <=8){ | 672 if(avctx->bits_per_raw_sample <=8){ |
678 av_log(avctx, AV_LOG_ERROR, "bits_per_raw_sample invalid\n"); | 673 av_log(avctx, AV_LOG_ERROR, "bits_per_raw_sample invalid\n"); |
679 return -1; | 674 return -1; |
680 } | 675 } |
681 s->version= 1; | 676 s->version= 1; |