Nov 12, 2020, 13:03 by andreas.rheinha...@gmail.com:

> Lynne:
>
>>
>> @@ -420,7 +485,7 @@ static av_cold int libdav1d_close(AVCodecContext *c)
>>  static const AVOption libdav1d_options[] = {
>>  { "tilethreads", "Tile threads", OFFSET(tile_threads), AV_OPT_TYPE_INT, { 
>> .i64 = 0 }, 0, DAV1D_MAX_TILE_THREADS, VD },
>>  { "framethreads", "Frame threads", OFFSET(frame_threads), AV_OPT_TYPE_INT, 
>> { .i64 = 0 }, 0, DAV1D_MAX_FRAME_THREADS, VD },
>> -    { "filmgrain", "Apply Film Grain", OFFSET(apply_grain), 
>> AV_OPT_TYPE_BOOL, { .i64 = -1 }, -1, 1, VD },
>> +    { "filmgrain", "Apply Film Grain (deprecated)", OFFSET(apply_grain), 
>> AV_OPT_TYPE_BOOL, { .i64 = -1 }, -1, 1, VD },
>>
>
> A better way to mark an option as deprecated is to set
> AV_OPT_FLAG_DEPRECATED.
>

Thanks, locally changed to:
{ "filmgrain", "Apply Film Grain", OFFSET(apply_grain), AV_OPT_TYPE_BOOL, { 
.i64 = -1 }, -1, 1, VD | AV_OPT_FLAG_DEPRECATED },
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to