mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ffv1: Warn the user if transparency is stored.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
bd5080b1b0
commit
25893ad6c9
@ -930,6 +930,10 @@ static av_cold int encode_init(AVCodecContext *avctx)
|
|||||||
av_log(avctx, AV_LOG_ERROR, "format not supported\n");
|
av_log(avctx, AV_LOG_ERROR, "format not supported\n");
|
||||||
return -1;
|
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++){
|
for(i=0; i<256; i++){
|
||||||
s->quant_table_count=2;
|
s->quant_table_count=2;
|
||||||
if(s->bits_per_raw_sample <=8){
|
if(s->bits_per_raw_sample <=8){
|
||||||
|
Loading…
Reference in New Issue
Block a user