On 11/06/15 21:11, James Almer wrote:
> On 11/06/15 11:56 AM, Luca Barbato wrote:
>> @@ -321,8 +321,12 @@ static av_cold int vpx_init(AVCodecContext *avctx,
>>      /* 0-3: For non-zero values the encoder increasingly optimizes for 
>> reduced
>>         complexity playback on low powered devices at the expense of encode
>>         quality. */
>> -   if (avctx->profile != FF_PROFILE_UNKNOWN)
>> -       enccfg.g_profile = avctx->profile;
>> +    if (avctx->profile != FF_PROFILE_UNKNOWN)
>> +        enccfg.g_profile = avctx->profile;
>> +    else if (avctx->pix_fmt == AV_PIX_FMT_YUV440P)
> 
> As i said before, profile 0 is 8bit yuv420p.
> 
>> +        avctx->profile = enccfg.g_profile = FF_PROFILE_VP9_0;
>> +    else
>> +        avctx->profile = enccfg.g_profile = FF_PROFILE_VP9_1;
>>
>>      enccfg.g_error_resilient = ctx->error_resilient;
>>

That typo is surprisingly resilient... You will get a soft beverage of
choice by whoever will push the wrong version =)

lu

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to