diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-02-15 19:34:08 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-02-15 20:35:14 +0100 |
commit | 25893ad6c96be126f8c6dd3bfae05679004fc9a2 (patch) | |
tree | 4110d845a510176f08b2e5db4268436d4f8d3e26 | |
parent | bd5080b1b00032c656c6e5893755a92cb0221a2d (diff) | |
download | ffmpeg-25893ad6c96be126f8c6dd3bfae05679004fc9a2.tar.gz |
ffv1: Warn the user if transparency is stored.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/ffv1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index 48b8ae17e9..0ab22a984c 100644 --- a/libavcodec/ffv1.c +++ b/libavcodec/ffv1.c @@ -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){ |