Hi,

On Tue, Mar 20, 2012 at 12:18 PM, Paul B Mahol <[email protected]> wrote:
> On 3/20/12, Ronald S. Bultje <[email protected]> wrote:
>> Hi,
>>
>> On Tue, Mar 20, 2012 at 12:04 PM, Paul B Mahol <[email protected]> wrote:
>>>
>>> Signed-off-by: Paul B Mahol <[email protected]>
>>> ---
>>>  libavcodec/imgconvert.c |    1 +
>>>  1 files changed, 1 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
>>> index 90c9b7b..e9afe75 100644
>>> --- a/libavcodec/imgconvert.c
>>> +++ b/libavcodec/imgconvert.c
>>> @@ -159,6 +159,7 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
>>>     /* YUV formats with alpha plane */
>>>     [PIX_FMT_YUVA420P] = {
>>>         .nb_channels = 4,
>>> +        .is_alpha = 1,
>>>         .color_type = FF_COLOR_YUV,
>>>         .pixel_type = FF_PIXEL_PLANAR,
>>>         .depth = 8,
>>> --
>>> 1.7.7
>>
>> I believe this code is deprecated, you can simply ignore it.
>
> Than why transcoding from yuva420p to pam image picks rgb24 instead of rgb32?

Note how all 10bit and 9bit image formats are missing from
imgconvert.c. I believe it may need redoing.

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to