[FFmpeg-devel] [PATCH 1/7] avcodec/av1dec: remove FF_CODEC_CAP_SETS_PKT_DTS flag

James Almer jamrial at gmail.com
Tue Jul 11 19:04:18 EEST 2023


On 7/9/2023 4:21 PM, James Almer wrote:
> It has no effect on receive_frame() decoders.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>   libavcodec/av1dec.c | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c
> index e7f98a6c81..cc178464b9 100644
> --- a/libavcodec/av1dec.c
> +++ b/libavcodec/av1dec.c
> @@ -1527,8 +1527,7 @@ const FFCodec ff_av1_decoder = {
>       .close                 = av1_decode_free,
>       FF_CODEC_RECEIVE_FRAME_CB(av1_receive_frame),
>       .p.capabilities        = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_AVOID_PROBING,
> -    .caps_internal         = FF_CODEC_CAP_INIT_CLEANUP |
> -                             FF_CODEC_CAP_SETS_PKT_DTS,
> +    .caps_internal         = FF_CODEC_CAP_INIT_CLEANUP,
>       .flush                 = av1_decode_flush,
>       .p.profiles            = NULL_IF_CONFIG_SMALL(ff_av1_profiles),
>       .p.priv_class          = &av1_class,

Will apply set.


More information about the ffmpeg-devel mailing list