提交 25893ad6 编写于 作者: M Michael Niedermayer

ffv1: Warn the user if transparency is stored.

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 bd5080b1
......@@ -930,6 +930,10 @@ static av_cold int encode_init(AVCodecContext *avctx)
av_log(avctx, AV_LOG_ERROR, "format not supported\n");
return -1;
}
if (s->transparency) {
av_log(avctx, AV_LOG_WARNING, "Storing alpha plane, this will require a recent FFV1 decoder to playback!\n");
}
for(i=0; i<256; i++){
s->quant_table_count=2;
if(s->bits_per_raw_sample <=8){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册