Multimedia api version information

Is there a way to tell what version of the multimedia api a given program is linking against?

I’ve got to support both 28 and 24.2, and i’d like to set up some macros and such to capture the differences.

Thanks.

Hi wdouglass,
Have you seen any issue in running samples which do not match the release? In general, old samples(r24.2.1) should run fin on new release(r28.2).

One difference that I’ve found is that IOutputStreamSettings::setResolution takes an argument of type “Size” for version 24.2.1, and type “Size2D<uint32_t>” for version 28. There may be more differences that I don’t know about yet, i was just wondering if there’s a way to identify.

Thanks.

Hi wdouglass,
Can you check the information of ‘$head -1 /etc/nv_tegra_release’ and build the sample accordingly?