[FFmpeg-devel] [PATCH]lavc/utvideoenc: Set bits_per_coded_sample for rgba input.

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Oct 25 14:24:05 EEST 2016


2016-10-25 13:01 GMT+02:00 Paul B Mahol <onemda at gmail.com>:
> On 10/25/16, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>> Hi!
>>
>> Attached patch may fix an issue reported on the gusari forum.

> Please clearly explain what is actual problem and what this patch
> actually solves. I do not have time of all existence to search forums
> on internet.

Currently, ff_put_bmp_header() always writes "24" as biBitCount
for utvideo because bits_per_coded_sample is never set by the
encoder. Attached patch fixes the value of bits_per_coded_sample
for rgba utvideo.
(I do not know if the patch fixes an actual issue reported by a
user and I cannot test.)

Carl Eugen

> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list