Accessing AVFrame using AVOption

26 Views Asked by At

avcodec_get_frame_class() is now deprecated but AVFrame's docs still link to it to access AVFrame's field using AVOptions. Is there an alternative way to get AVFrame's AVClass? Should I just access the fields directly and forget about AVOptions?

I want my application to remain as stable as possible even on version changes so AVOptions looked like the better way to interface with FFmpeg.

0

There are 0 best solutions below