lavf: add proper enum type for fmt ctx duration esitmation method